The Alarm Menu :: Alarm Areas


param.cgi?cmd=getmdattr

Set Alarm Areas Parameter

  • m[1, 2, 3, 4]_enable: Dis/Enable Alarm Detection Area 1 - 4: [0, 1]
  • m[1, 2, 3, 4]_x: X-Axis Offset of Alarm Area Origin [0-(1920-w)]
  • m[1, 2, 3, 4]_y: Y-Axis Offset of Alarm Area Origin [0-(1080-h)]
  • m[1, 2, 3, 4]_w: Alarm Area Width [1-1920] Pixel
  • m[1, 2, 3, 4]_h: Alarm Area Height [1-1080] Pixel
  • m[1, 2, 3, 4]_sensitivity: Detection Sensitivity [1 - 100]
  • m[1, 2, 3, 4]_threshold: Detection Threshold (not active)

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdattr
m1_enable=0;m1_x=32;m1_y=32;m1_w=1856;m1_h=1016;m1_sensitivity=60;m2_enable=0;m2_x=0;m2_y=0;m2_w=0;m2_h=0;m2_sensitivity=0;m3_enable=0;m3_x=0;m3_y=0;m3_w=0;m3_h=0;m3_sensitivity=0;m4_enable=0;m4_x=0;m4_y=0;m4_w=0;m4_h=0;m4_sensitivity=0;m5_enable=0;m5_x=0;m5_y=0;m5_w=0;m5_h=0;m5_sensitivity=0;m6_enable=0;m6_x=0;m6_y=0;m6_w=0;m6_h=0;m6_sensitivity=0;m7_enable=0;m7_x=0;m7_y=0;m7_w=0;m7_h=0;m7_sensitivity=0;m8_enable=0;m8_x=0;m8_y=0;m8_w=0;m8_h=0;m8_sensitivity=0;


SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setmdattr&-name=1&-enable=0&-s=50&-x=0&-y=0&-w=1920&-h=1080&cmd=setmdattr&-name=2&-enable=0&-s=50&-x=1680&-y=0&-w=240&-h=240&cmd=setmdattr&-name=3&-enable=0&-s=50&-x=0&-y=840&-w=240&-h=240&cmd=setmdattr&-name=4&-enable=0&-s=50&-x=1680&-y=840&-w=240&-h=240