
44
www.dericam.com
Shenzhen Dericam Technology Co,.Ltd
switch
Action status:
on: Enable
off: Disable
Return
Success: Success.
Fail: Error.
Note
None
Example
/cgi-bin/hi3510/param.cgi?cmd=setmdalarm&-aname=email&-switch=of
f&cmd=setmdalarm&-aname=emailsnap&-switch=off&cmd=setmdalarm
&-aname=ftprec&-switch=off&cmd=setmdalarm&-aname=snap&-switch
=off&cmd=setmdalarm&-aname=ftpsnap&-switch=off&cmd=setmdalar
m&-aname=record&-switch=off&cmd=setmdalarm&-aname=relay&-swit
ch=off&cmd=setmdalarm&-aname=server&-switch=off&cmd=setmdalar
m&-aname=preset&-switch=off
getrelayattr
Function
Get the relay output time for alarm link action.
Privilege
admin
Usage
/cgi-bin/hi3510/param.cgi[?cmd=getrelayattr]
Param.
None
Return
time
Output time, the unit is second, var time="10";
Note
None
Example
/cgi-bin/hi3510/param.cgi?cmd=getrelayattr
setrelayattr
Function
Set the relay output time for alarm link action.
Privilege
admin
Usage
/cgi-bin/hi3510/param.cgi[?cmd=setrelayattr&-time=]
Param.
time
Output time, the unit is second , include [5, 10,
20, 30]
Return
Success: Success.
Fail: Error.
Note
None
Example
/cgi-bin/hi3510/param.cgi?cmd=setrelayattr&-time=10