Das Alarm Menü :: Zeitplan


param.cgi?cmd=getscheduleex&ename=[ms, md, pir, io, audio, snap]

Set Time Schedule Parameter

  • ms: master schedule (parent)
  • md: software-based motion detection (child)
  • pir: passive infrared motion sensor (child)
  • io: alarm input/output (child)
  • audio: audio detection (child)
  • snap: snapshot series (child)

1 Unit = 30 Minutes

  • [P] activated

  • [N] deactivated

  • week0: Sunday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week1: Monday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week2: Tuesday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week3: Wednesday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week4: Thursday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week5: Friday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week6: Saturday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getscheduleex

cmd="getscheduleex";
week0['audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week0['io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week0['md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week0['ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week0['pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
response="200";
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getscheduleex&ename=pir

cmd="getscheduleex";
week0="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setscheduleex&ename=md&week0=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN&week1=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&week2=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&week3=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&week4=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&week5=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&week6=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

cmd="setscheduleex";
response="200";

param.cgi?cmd=getcustomschedule&ename=[ms, md, pir, io, audio, snap]

For saving custom plans that can be called later

Set Time Schedule Parameter

  • custom_ms: master schedule (parent)
  • custom_md: software-based motion detection (child)
  • custom_pir: passive infrared motion sensor (child)
  • custom_io: alarm input/output (child)
  • custom_audio: audio detection (child)
  • custom_snap: snapshot series (child)

1 Unit = 30 Minutes

  • [P] activated

  • [N] deactivated

  • week0: Sunday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week1: Monday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week2: Tuesday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week3: Wednesday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week4: Thursday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week5: Friday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

  • week6: Saturday:every 24 hrs divide by half hr is a segment , use P or N to indicate if the alarm is active

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getcustomschedule

cmd="getcustomschedule";
week0['custom_ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['custom_ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['custom_ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['custom_ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['custom_ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['custom_ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['custom_ms']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week0['custom_md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['custom_md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['custom_md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['custom_md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['custom_md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['custom_md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['custom_md']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week0['custom_pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['custom_pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['custom_pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['custom_pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['custom_pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['custom_pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['custom_pir']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week0['custom_io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['custom_io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['custom_io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['custom_io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['custom_io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['custom_io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['custom_io']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week0['custom_audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['custom_audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['custom_audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['custom_audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['custom_audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['custom_audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['custom_audio']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week0['custom_snap']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1['custom_snap']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2['custom_snap']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3['custom_snap']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4['custom_snap']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5['custom_snap']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6['custom_snap']="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
response="200";
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getcustomschedule&ename=custom_snap

cmd="getcustomschedule";
week0="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week1="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week2="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week3="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week4="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week5="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
week6="PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setcustomschedulex&ename=custom_md&week0=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN&week1=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&week2=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&week3=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&week4=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&week5=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&week6=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

cmd="setcustomschedulex";
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 areas assigned to the primary group at time of the day in [1 - 86399] seconds
  • ta_night: Enables areas assigned to the secondary group at time of the day in [1 - 86399] seconds
  • ta_areas: Areas assigned to the primary group from 1-8:
    • Area 1: 1
    • Area 2: 2
    • Area 3: 4
    • Area 4: 8
    • Area 5: 16
    • Area 6: 32
    • Area 7: 64
    • Area 8: 128
    • Area 1-Area 2: 3
    • Area 1-Area 2,Area 8: 131
    • Area 1-Area 4: 15

The sum of the 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";
ta_areas="15";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setmdtime&ta_enable=1

cmd="setmdtime";
response="200";