Device manage

setSystemTime
FunctionSet system time
privilegeadmin
Usage/cgi-bin/CGIProxy.fcgi?cmd=setSystemTime
Param
timeSource
0Get time from NTP server
1Set time manually
ntpServerntp server addr
Support ntp server:
time.nist.gov
time.kriss.re.kr
time.windows.com
time.nuri.net
dateFormat
0 YYYY-MM-DD
1 DD/MM/YYYY
2 MM/DD/YYYY
timeFormat
0 12 hours
1 24 hours
timeZone
The seconds between local time and GMT time. For example: timeZone=3600 presents GMT-01:00 timeZone=-3600 presents GMT+01:00
isDstDaylight saving time (0-disable,1-enable)
dst Not in use currently
year
month
day
hour
min
sec
ReturnNone
NoteThis command can only be used to set the third party ddns
Example/cgi-bin/CGIProxy.fcgi?cmd=setSystemTime&timeSource=1&ntpServer=&dateFormat=0&timeFormat=0&timeZone=0&isDst=0&dst=0&year=2012&mon=1&day=6&hour=9&minute=35&sec=0&usr=admin&pwd=

getSystemTime
FunctionGet system time
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=getSystemTime
ParamNone
Return
timeSource
0Get time from NTP server
1Set time manually
ntpServerntp server addr
Support ntp server:
time.nist.gov
time.kriss.re.kr
time.windows.com
time.nuri.net
dateFormat
0 YYYY-MM-DD
1 DD/MM/YYYY
2 MM/DD/YYYY
timeFormat
0 12 hours
1 24 hours
timeZoneThe seconds between local time and GMT time. For example: timeZone=3600 presents GMT-01:00 timeZone=-3600 presents GMT+01:00
isDstDaylight saving time (0-disable,1-enable)
dstNot in use currently
year
month
day
hour
min
sec
NoteThis command can only be used to set the third party ddns
Example/cgi-bin/CGIProxy.fcgi?cmd=getSystemTime&usr=admin&pwd=

openInfraLed
FunctionForce open infra led
privilegeadmin
Usage/cgi-bin/CGIProxy.fcgi?cmd=openInfraLed
ParamNone
Return
ctrlResult
0Success
-1Fail
Example/cgi-bin/CGIProxy.fcgi?cmd=openInfraLed&usr=admin&pwd=

closeInfraLed
FunctionForce close infra led
privilegeadmin
Usage/cgi-bin/CGIProxy.fcgi?cmd=closeInfraLed
ParamNone
Return
ctrlResult
0Success
-1Fail
Example/cgi-bin/CGIProxy.fcgi?cmd=closeInfraLed&usr=admin&pwd=

getInfraLedConfig
FunctionGet infra led config
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=getInfraLedConfig
Returnmode
0Auto mode
1Manual mode
Example/cgi-bin/CGIProxy.fcgi?cmd=getInfraLedConfig&usr=admin&pwd=

setInfraLedConfig
FunctionSet infra led config
privilegeadmin
Usage/cgi-bin/CGIProxy.fcgi?cmd=setInfraLedConfig&mode=0
Param
mode
0Auto mode
1Manual mode
Example/cgi-bin/CGIProxy.fcgi?cmd=setInfraLedConfig&usr=admin&pwd=

getDevState
FunctionGet all device state
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=getDevState
ParamNone
Return
IOAlarm
0Disabled
1No alaram
2Detect alarm
motionDetectAlarm
0Disabled
1No alarm
2Detect alarm
soundAlarm
0Disabled
1No alarm
2Detect alarm
record
0Not in recording
1Recording
sdState
0No sd card
1Sd card ok
2Sd card read only
sdFreeSpaceFree space of sd card by unit of k
sdTotalSpaceTotal space of sd card by unit of k
ntpState
0Disabled
1Update success
2Update fail
ddnspState
0Disabled
1Update success
2Update fail
urlDDNS url
upnpState
0Disabled
1Update success
2Update fail
isWifiConnected
0No wifi connected
1Connected
wifiConnectedAPThe ssid of the ap which has been connected
infraLedState
0OFF
1ON
Example/cgi-bin/CGIProxy.fcgi?cmd=getDevState&usr=admin&pwd=

getDevName
FunctionGet camera name
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=getDevName
ParamNone
Return
devNameCamera name
Example/cgi-bin/CGIProxy.fcgi?cmd=getDevName&usr=admin&pwd=

setDevName
FunctionSet camera name
privilegeadmin
Usage/cgi-bin/CGIProxy.fcgi?cmd=setDevName
Param
devNameCamera name
Example/cgi-bin/CGIProxy.fcgi?cmd=setDevName&devName=test&usr=admin&pwd=

getDevInfoFunction Get camera information
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=getDevInfo
ParamNone
Return
productNameCamera model
serialNoSerial no
devNameCamera name
macMac address
year
mon
day
hour
min
sec
timeZoneTime zone
firmwareVerFirmware version
hardwareVerHardware version
Example/cgi-bin/CGIProxy.fcgi?cmd=getDevInfo&usr=admin&pwd=