Das Alarm Menü :: Alarm Bereiche
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, FRAME_MAX_SIZE_W - 101]m[1, 2, 3, 4]_y
: Y-Axis Offset of Alarm Area Origin [0, FRAME_MAX_SIZE_H - 101]m[1, 2, 3, 4]_w
: Alarm Area Width [10 - (100, FRAME_MAX_SIZE_W)] Pixelm[1, 2, 3, 4]_h
: Alarm Area Height [100, FRAME_MAX_SIZE_H] Pixelm[1, 2, 3, 4]_s
: Detection Sensitivity [1-100]
max width and max height depend on video resolution
Example
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdattr
cmd="getmdattr";
enable[1]="1";
s[1]="50";
x[1]="0";
y[1]="0";
w[1]="2560";
h[1]="1440";
enable[2]="0";
s[2]="50";
x[2]="2360";
y[2]="0";
w[2]="200";
h[2]="200";
enable[3]="0";
s[3]="50";
x[3]="0";
y[3]="1240";
w[3]="200";
h[3]="200";
enable[4]="0";
s[4]="50";
x[4]="2360";
y[4]="1240";
w[4]="200";
h[4]="200";
response="200";
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdattr&area=1
cmd="getmdattr";
enable="1";
h="1409";
s="100";
w="1284";
x="1271";
y="28";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setmdattr&area=1&enable=0&s=50&x=0&y=0&w=1920&h=1080&area=2&enable=0&s=50&x=1680&y=0&w=240&h=240&area=3&enable=0&s=50&x=0&y=840&w=240&h=240&area=4&enable=0&s=50&x=1680&y=840&w=240&h=240
cmd="setmdattr";
response="200";
param.cgi?cmd=getmdtime
Enable timed Alarm Areas
Enable detection area 1&2 during the day and 3&4 during the night:
ta_enable
: Enable alarm area shedule [0,1]ta_day
: Enables Area 1 & 2 at time X [0 - 86399] secondsta_night
: Enables Area 3 & 4 at time X [0 - 86399] seconds
The sum of those two times has to be 24h [86400s] spanning the entire day.
Example
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdtime
cmd="getmdtime";
ta_enable="1";
ta_day="42026";
ta_night="19168";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setmdtime&ta_enable=1
cmd="setmdtime";
response="200";