The Alarm Menu :: Actions


param.cgi?cmd=getmdalarm

Set Alarm Action Parameter

  • 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.2.168/param.cgi?cmd=getmdalarm&-aname=emailsnap
md_emailsnap_switch="off";

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdalarm&-aname=snap
md_snap_switch="off"; md_snap_interval=0;

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdalarm&-aname=record
md_record_switch="off";

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdalarm&-aname=ftprec
md_ftprec_switch="off";

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdalarm&-aname=relay
md_relay_switch="off";

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdalarm&-aname=ftpsnap
md_ftpsnap_switch="off"; md_ftpsnap_interval=0;


GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdalarm&-aname=sound
md_sound_switch="off";

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdalarm&-aname=type
md_alarm_type="off";

SET: http://admin:instar@192.168.2.168/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=1&cmd=setmdalarm&-aname=type&-switch=off&cmd=setmdalarm&-aname=relay&-switch=off&cmd=setmdalarm&-aname=sound&-switch=off

param.cgi?cmd=getaudioalarmattr

Set Audio Detection Parameter

  • aa_enable: De/Activate Audio Detection [0, 1]
  • aa_value: Sensitivity [on0 - 10off]
  • aa_time: Minimum Audio Signal Length Threshold [0 - 1off]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getaudioalarmattr
aa_enable=0;aa_value=0;aa_time=0;

GET: http://192.168.2.168/param.cgi?cmd=getaudioalarmattr&-usr=admin&-pwd=instar
aa_enable=0;aa_value=0;aa_time=0;

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setaudioalarmattr&-aa_enable=0
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setaudioalarmattr&-aa_enable=0&cmd=setaudioalarmattr&-aa_value=0&cmd=setaudioalarmattr&-aa_time=0

param.cgi?cmd=getioattr

Set Alarm Input Parameter

  • io_enable: De/Activate Alarm Input [0, 1]
  • io_flag: Circuit Normally Closed N.C. [off] or Normally Open N.O. [on]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getioattr
io_enable=0;io_flag=0;

GET: http://192.168.2.168/param.cgi?cmd=getioattr&-usr=admin&-pwd=instar
io_enable=0;io_flag=0;

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setioattr&-io_enable=0
  • Note: In case of the camera models IN-6014 HD and IN-9020 FHD the internal PIR sensor is wired through the alarm input. You have to use the setioattr command instead of the getpirattr (see below) to switch it 1 or 0.

param.cgi?cmd=getpirattr

Set Passive Infrared Motion Detection Sensor Parameter

  • pir_enable: De/Activate PIR Sensor [0, 1]
  • pir_flag: Circuit Normally Closed N.C. [off] or Normally Open N.O. [on]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getpirattr
pir_enable=0;

GET: http://192.168.2.168/param.cgi?cmd=getpirattr&-usr=admin&-pwd=instar
pir_enable=0;

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setpirattr&-pir_enable=0
  • Note: In case of the camera models IN-6014 HD and IN-9020 FHD the internal PIR sensor is wired through the alarm input. You have to use the setioattr (see above) command instead of the getpirattr to switch it 1 or 0.

param.cgi?cmd=getalarmsnapattr

Set Number of Alarm Snapshots

  • snap_chn: Set Snapshot Resolution to Video Channel [on1, 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 [off] time stamp, or [on] fixed file name set snap_name and snap_timer_name
  • snap_count: Number of Snapshot saved to SD Card per Alarm Event [on-15]
  • ftp_snap_count: Number of Snapshot send to FTP Server per Alarm Event [on-15]
  • email_snap_count: Number of Snapshot send by Email per Alarm Event [on-15]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getalarmsnapattr
snap_chn=11;snap_name="";snap_timer_name="";snap_count=1;snap_name_mode=0;email_snap_count=0;ftp_snap_count=0;

GET: http://192.168.2.168/param.cgi?cmd=getalarmsnapattr&-usr=admin&-pwd=instar
snap_chn=0;snap_name="";snap_timer_name="";snap_count=1;snap_name_mode=0;email_snap_count=0;ftp_snap_count=0;

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setalarmsnapattr&-snap_chn=11&-snap_count=6&-email_snap_count=6&-ftp_snap_count=6

param.cgi?cmd=insu&-arg=70467840/1

Pause all Alarm Actions

  • arg: Pause all alarm actions: 70467840. Unpause all alarm actions: 70467841

Example

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=insu&-arg=70467840

SET: http://192.168.2.168param.cgi?cmd=insu&-arg=70467841&-usr=admin&-pwd=instar

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

Example

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