Das Alarm Menü :: Push Service


param.cgi?cmd=getalarmserverattr&-as_index=1

Get Alarmserver [0] Configuration for the Push Service

  • as_server[0]: Address of the receiving Server (e.g. Home Automation Server) [IPv4 Address]
  • as_port[0]: Port of the receiving Server [1-65536]
  • as_auth[0]: Authentication required [0, 1]
  • as_username[0]: Alarmserver Username
  • as_password[0]: Alarmserver Password
  • as_path[0]: URL Path
  • as_area[0]: Send Query when Motion is Detected
  • as_io[0]: Send Query when Alarm Input is Triggered
  • as_audio[0]: Send Query when Audio Alarm is Triggered
  • as_areaio[0]: Send Query when Motion is Detected and Input is Triggered
  • as_activequery[0]: Append Alarm Trigger to Query
  • as_query1[0]: Activate Sending optional Parameter 1
  • as_queryattr1[0]: Command 1 Attribute
  • as_queryval1[0]: Command 1 Value
  • as_query2[0]: Activate Sending optional Parameter 2
  • as_queryattr1[0]: Command 2 Attribute
  • as_queryval2[0]: Command 2 Value
  • as_query3[0]: Activate Sending optional Parameter 3
  • as_queryattr3[0]: Command 3 Attribute
  • as_queryval3[0]: Command 3 Value

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getalarmserverattr&-as_index=1
as_server="";as_port=0;as_auth=0;as_username="";as_password="";as_path="";as_area=0;as_io=0;as_audio=0;as_areaio=0;as_activequery=0;as_query1=0;as_queryattr1=2328824;as_queryval1=2329592;as_query2=0;as_queryattr2=2329080;as_queryval2=2329848;as_query3=0;as_queryattr3=2329336;as_queryval3=2330104;as_ex=0;as_img=0;as_ssl=0;as_mode=0;

GET: http://192.168.2.168/param.cgi?cmd=getalarmserverattr&-as_index=1&-ename=md&-usr=admin&-pwd=instar
as_server="";as_port=0;as_auth=0;as_username="";as_password="";as_path="";as_area=0;as_io=0;as_audio=0;as_areaio=0;as_activequery=0;as_query1=0;as_queryattr1=2328824;as_queryval1=2329592;as_query2=0;as_queryattr2=2329080;as_queryval2=2329848;as_query3=0;as_queryattr3=2329336;as_queryval3=2330104;as_ex=0;as_img=0;as_ssl=0;as_mode=0;

param.cgi?cmd=getmdalarm&-aname=server

Function De/Activate the Alarm Push Notification

  • interval: Time interval / cooldown between notifications [1 - 60] seconds

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdalarm&-aname=server
md_server_switch="on";md_server_interval=0;

SET: http://192.168.2.168/param.cgi?cmd=setmdalarm&-aname=server&-switch=off&-interval=60&-usr=admin&-pwd=instar

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setmdalarm&-aname=server&-switch=on&-interval=60

param.cgi?cmd=getaudioalarmattr

Function Set Audio Detection 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.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

param.cgi?cmd=getioattr

Function Set Alarm Input 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.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

param.cgi?cmd=getpirattr

Function Set Passive Infrared Motion Detection Sensor 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.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

param.cgi?cmd=getalarmsnapattr

Set Number of Alarm Snapshots

  • 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.2.168/param.cgi?cmd=getalarmsnapattr
GET: http://192.168.2.168/param.cgi?cmd=getalarmsnapattr&-usr=admin&-pwd=instar
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=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