1080p CGI Commands

The Alarm Menu

The Actions Overlay

param.cgi?cmd=getmdalarm

FunctionSet Alarm Action Parameter
Authorityadmin
Parameter aname:
  • emailsnap: md_emailsnap_switch [on, off] E-mail Alarm / Send Snapshot
  • snap: md_snap_switch [on, off] Save Snapshot to SD
  • record: md_record_switch [on, off] Save Video to SD
  • ftprec: md_ftprec_switch [on, off] Send Video to FTP Server
  • relay: md_relay_switch [on, off] Alarm Out Relay
  • ftpsnap: md_ftpsnap_switch [on, off] Send Snapshot to FTP Server
  • sound: md_sound_switch [on, off] Audio Alarm Signal
  • type: md_alarm_type [on, off] Link Alarm Areas and Alarm-Input
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=emailsnap
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=snap
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=record
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=ftprec
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=relay
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=ftpsnap
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=sound
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=type
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setmdalarm&-aname=emailsnap&-switch=off&cmd=setmdalarm&-aname=snap&-switch=off&cmd=setmdalarm&-aname=ftpsnap&-switch=off&cmd=setmdalarm&-aname=record&-switch=off&cmd=setmdalarm&-aname=ftprec&-switch=on&cmd=setmdalarm&-aname=type&-switch=off&cmd=setmdalarm&-aname=relay&-switch=off&cmd=setmdalarm&-aname=sound&-switch=off

param.cgi?cmd=getaudioalarmattr

FunctionSet Audio Detection Parameter
Authorityadmin
Parameter
  • aa_enable: De/Activate Audio Detection [0, 1]
  • aa_value: Sensitivity [10 - 100]
  • aa_time: Minimum Audio Signal Length Threshold [0 - 10]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getaudioalarmattr
  • GET: http://192.168.178.88/param.cgi?cmd=getaudioalarmattr&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setaudioalarmattr&-aa_enable=0

param.cgi?cmd=getioattr

FunctionSet Alarm Input Parameter
Authorityadmin
Parameter
  • io_enable: De/Activate Alarm Input [0, 1]
  • io_flag: Circuit Nomally Closed N.C. [0] or Normally Open N.O. [1]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getioattr
  • GET: http://192.168.178.88/param.cgi?cmd=getioattr&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setioattr&-io_enable=0

param.cgi?cmd=getpirattr

FunctionSet Passive Infrared Motion Detection Sensor Parameter
Authorityadmin
Parameter
  • pir_enable: De/Activate PIR Sensor [0, 1]
  • pir_flag: Circuit Nomally Closed N.C. [0] or Normally Open N.O. [1]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getpirattr
  • GET: http://192.168.178.88/param.cgi?cmd=getpirattr&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setpirattr&-pir_enable=0

param.cgi?cmd=getalarmsnapattr

FunctionSet Number of Alarm Snapshots
Authorityadmin
Parameter
  • snap_chn: Set Snapshot Resolution to Video Channel [11, 12, 13]
  • snap_name: Fixed File Name for All Alarm Snapshots (leave empty for auto-name by time stamp)
  • snap_timer_name: Fixed File Name for All Photoseries Snapshots (leave empty for auto-name by time stamp)
  • snap_name_mode: Set Filename to [0] time stamp, or [1] fixed file name set snap_name and snap_timer_name
  • snap_count: Number of Snapshot saved to SD Card per Alarm Event [1-15]
  • ftp_snap_count: Number of Snapshot send to FTP Server per Alarm Event [1-15]
  • email_snap_count: Number of Snapshot send by Email per Alarm Event [1-15]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getalarmsnapattr
  • GET: http://192.168.178.88/param.cgi?cmd=getalarmsnapattr&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setalarmsnapattr&-snap_chn=11&-snap_count=6&-email_snap_count=6&-ftp_snap_count=6

param.cgi?cmd=get_instar_admin&-index=17

Authorityadmin
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=get_instar_admin&-index=17
  • GET: http://192.168.178.88/param.cgi?cmd=get_instar_admin&-index=17
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=set_instar_admin&-index=17&-value=1%3B0%3B0%3B0%3B1%3B1

Verwandte Themen:

Mehr