INSTAR Deutschland GmbH

720p CGI Commands



The Alarm Menu :: Actions




param.cgi?cmd=setmdalarm

Function Set Alarm Action Parameter
Authority admin
Parameter aname:
type:Link Alarm Areas and Alarm-Input [on, off]
email: E-mail Alarm / Send Snapshot [on, off]
snap: Save Snapshot to SD [on, off]
ftpsnap:Send Snapshot to FTP Server [on, off]
record:Save Video to SD [on, off]
ftprec:Send Video to FTP Server [on, off]
relay:Alarm Out Relay [on, off]
Return Success, Error
Example GET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=getmdalarm&-aname=email&cmd=getmdalarm&-aname=emailsnap&cmd=getmdalarm&-aname=ftpsnap&cmd=getmdalarm&-aname=snap&cmd=getmdalarm&-aname=emailrec&cmd=getmdalarm&-aname=record&cmd=getmdalarm&-aname=ftprec&cmd=getmdalarm&-aname=relay&-aname=server
SET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=setmdalarm&-aname=type&-switch=on&cmd=setmdalarm&-aname=email&-switch=on&cmd=setmdalarm&-aname=snap&-switch=on&cmd=setmdalarm&-aname=record&-switch=on&cmd=setmdalarm&-aname=ftprec&-switch=on&cmd=setmdalarm&-aname=relay&-switch=on&cmd=setmdalarm&-aname=ftpsnap&-switch=on



param.cgi?cmd=setioattr

Function Set Input Alarm Parameter
Authority admin
Parameter io_enable: Enable or Disable Alarm-Input [0,1]
io_flag: Alarm-Input Relais 0 (N.C.) or 1 (N.O.)
Return Success, Error
Example GET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=getioattr
SET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=setioattr&-io_enable=1&-io_flag=0



param.cgi?cmd=setrelayattr

Function Set Alarm-Out Relay Time-out
Authority admin
Parameter time: [5,10,20,30] Seconds
Return Success, Error
Remark Use Param.cgi?cmd=setmdalarm&-aname=relay&-switch=[on,off] to De/Activate the Alarm-Out Relay.
Example GET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=getrelayattr
SET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=setrelayattr&-time=5



param.cgi?cmd=setalarmsnapattr

Function Set Alarm Snapshot Quantity
Authority admin
Parameter email_snap_count: Alarm Snapshot Quantity by Email [1-8]
snap_count: Alarm Snapshot Quantity to SD Card [1-8]
ftp_snap_count: Alarm Snapshot Quantity to FTP Server [1-8]
snap_chn: Take Snapshot from Channel [11, 12, 13]
Return Success, Error
Example GET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=getalarmsnapattr
SET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=setalarmsnapattr&-email_snap_count=8&-snap_count=8&-ftp_snap_count=8&-snap_chn=11