The Alarm Menu :: Alarm Server


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

Get Alarm Server [1] Parameter

  • md_server2_switch: De/Activate Alarm Server2 [off, 1]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdalarm&-aname=server2
md_server2_switch="off";md_server2_interval=0;

GET: http://192.168.2.168/param.cgi?cmd=getmdalarm&-aname=server2&-usr=admin&-pwd=instar
md_server2_switch="off";md_server2_interval=0;

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setmdalarm&-aname=server2&-switch=1

Update: Set the alarm server interval (cooldown) in [s] with /param.cgi?cmd=setmdalarm&-aname=server2&-switch=1&-interval=60 - The default interval is 60s. You can reduce the interval down to 1s.

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

Get Alarmserver [2] Configuration

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

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getalarmserverattr&-as_index=3
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;


SET: http://192.168.2.168/param.cgi?cmd=setalarmserverattr&-as_index=3&-as_server=192.168.1.114&-as_port=80&-as_path=/&-as_queryattr1=command1&-as_queryval1=false&-as_queryattr2=command2&-as_queryval2=true&-as_activequery=0&-as_auth=0&-as_query1=1&-as_query2=1