IPCAM SDK admin set commands

 


set_alarm.cgi

Description Set device alarm settings
Permission Administrator

Syntax /set_alarm.cgi?motion_armed=&motion_sensitivity=&input_armed=&iolinkage=&mail=&upload_interval=[&next_url=]

Parameters
motion_armed: 0:motion disable 1:enable
motion_sensitivity: Sensitivity 0:high 1:medium 2:low 3:ultra low
input_armed: 0:input detect disable 1:enable
iolinkage: 0:when alarm disable IO linkage 1:enable
mail: 0:when alarm disable mail send 1:enable
upload_interval: Upload interval (Seconds) 0:disable (range:0-65535)


set_alias.cgi

description Set device alias
Permission Administrator

Syntax /set_alias.cgi?alias=[&next_url=]

Parameters Alias:length


set_datetime.cgi

Description Set device data time
Permission Administrator

Syntax /set_d
atetime.cgi?tz=&ntp_enable=&ntp_svr=[&now=&next_url=]

Parameters
now: The count of seconds form 1970-1-1 0:0:0 to now;if use, the device will calibration time depend on it.
tz: Set time zone. The current time zone settings difference from the standard time zone GMT (Unit: Seconds)
ntp_enable: 0:disable 1:enable
ntp_svr: ntp server length <= 64


set_ddns.cgi

Description Set device DDNS settings
Permission Administrator

Syntax /set_ddns.cgi?service=&user=&pwd=&host=&proxy_svr=&proxy_port=[&next_url=]

Parameters
service :
0: disable DDNS;
1: oray.cn;
2: DynDns.org(dyndns);
3: DynDns.org(statdns);
4: DynDns.org(custom)
5: Reserved
6: Reserved
7: Reserved
8: 3322.org(dyndns)
9: 3322.org(statdns)
user: user name length <=20
pwd: password length <=20
host: DDNS domain name length <=40
proxy_svr: Proxy server length <=20 (only used in china
Mainland or HongKong )
proxy_port: Proxy port


set_devices.cgi

Description Set multi device
Permission Administrator

Syntax /set_devices.cgi?dev2_alias=&dev2_host=&dev2_port=&dev2_user=&dev2_pwd=&dev3_alias=&dev3_host=&dev3_port=&dev3_user=&dev3_pwd=&dev4_alias=&dev4_host=&dev4_port=&dev4_user=&dev4_pwd=&dev5_alias=&dev5_host=&dev5_port=&dev5_user=&dev5_pwd=&dev6_alias=&dev6_host=&dev6_port=&dev6_user=&dev6_pwd=&dev7_alias=&dev7_host=&dev7_port=&dev7_user=&dev7_pwd=&dev8_alias=&dev8_host=&dev8_port=&dev8_user=&dev8_pwd=&dev9_alias=&dev9_host=&dev9_port=&dev9_user=&dev9_pwd=[&next_url=]

Parameters
dev2_alias: The 2nd Device alias
dev2_host: The 2nd Device host(IP or Domain name)
dev2_port: The 2nd Device port
dev2_user: The 2nd Device user name
dev2_pwd: The 2nd Device passw
ord
… …
dev9_alias: The 9th Device alias
dev9_host: The 9th Device host(IP or Domain name)
dev9_port: The 9th Device port
dev9_user: The 9th Device user name
dev9_pwd: The 9th Device password


set_ftp.cgi

Description Set device FTP settings
Permission Administrator

Syntax /set_ftp.cgi?svr=&port=&user=&pwd=&mode=&dir=&upload_interval=[&next_url=]

Parameters
svr: FTP server length <=64
port: FTP server port
user: User name
pwd: password
dir: FTP upload catalogue
mode: 0:post 1:pasv
upload_interval: Upload interval (Seconds) 0:disable (range:0-65535)


set_mail.cgi

Description Set device mail settings
Permission Administrator

Syntax /set_mail.cgi?svr=&port=&user=&pwd=&sender=&receiver1=&receiver2=&receiver3=&receiver4=&mail_inet_ip=[&next_url=]

Parameters
svr: mail server lengt
h <=64
port: Mailbox server port
user: User name length <=20
pwd: password length <=20
sender: The sender mailbox length <=40
receiver1: The receiver1 mailbox length <=40
receiver2: The receiver2 mailbox length <=40
receiver3: The receiver3 mailbox length <=40
receiver4: The receiver4 mailbox length <=40
mail_inet_ip: 0:disable 1:enable


set_network.cgi

Description Set device basic net settings
Permission Administrator

Syntax /set_network.cgi?ip=&mask=&gateway=&dns=&port=[&next_url=]

Parameters
ip: ip address; if ip set to null the device will use DHCP
mask: mask
gateway: gateway
dns: dns server
port: port number


set_pppoe.cgi

Description Set device pppoe settings
Permission Administrator

Syntax /set_pppoe.cgi?enable=&user=&pwd= [&next_url=]

Parameters
enable: 0:disable pppoe; 1:enable

nuser: user name length <=40
pwd: password length <=20


set_upnp.cgi

Description Set UPNP settings
Permission Administrator

Syntax /set_upnp.cgi?enable=[&next_url=]

Parameters enable: 0:disable UPNP; 1:enable


set_users.cgi

Description Set device user settings
Permission Administrator

Syntax /set_users.cgi?user1=&pwd1=&pri1=&user2=&pwd2=&pri2=&user3=&pwd3=&pri3=&user4=&pwd4=&pri4=&user5=&pwd5=&pri5=&user6=&pwd6=&pri6=&user7=&pwd7=&pri7=&user8=&pwd8=&pri8=[&next_url=]

Parameters
user1: user1 name length <= 12
pwd1: user1 password length <= 12
pri1: user1 Permission 0:visitor 1:operator 2: administrator

user8: user1 name length <= 12
pwd8: user1 password length <= 12
pri8: user1 Permission 0:visitor 1:operator 2: administrator


set_wifi.cgi

Description Set device wireless settings (wifi)
Permission Administrator

Syntax /set_wifi.cgi?enable=&ssid=&encrypt=&defkey=&key1=&key2=&key3=&key4=&authtype=&keyformat=&key1_bits=&key2_bits=&key3_bits=&key4_bits=&channel=&mode=&wpa_psk=[&next_url=]

Parameters
enable: 0:disable 1:enable
ssid: wifi SSID
encrypt: 0:disable encrypt 1:enable
defkey: Wep Default TX Key
key1:wep key1

key4:wep key4
authtype: Authetication type 0:open 1:share
keyformat: Keyformat 0:Hex 1:ASCII
key1_bits: 0:64 bits; 1:128 bits

key4_bits: 0:64 bits; 1:128 bits
channel: Channel (default 6)
mode: Mode (default 0)
wpa_psk: wpa_psk length <= 64;if not use,set null.