The Alarm Menu :: Schedule
param.cgi?cmd=getscheduleex&-ename=md
Set Motion Detection Time Schedule Parameter
week0
: Sunday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek1
: Monday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek2
: Tuesday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek3
: Wednesday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek4
: Thursday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek5
: Friday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek6
: Saturday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
Example
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getscheduleex&-ename=md
var week0="";var week1="";var week2="";var week3="";var week4="";var week5="";var week6="";
GET: http://192.168.2.168/param.cgi?cmd=getscheduleex&-ename=md&-usr=admin&-pwd=instar
var week0="";var week1="";var week2="";var week3="";var week4="";var week5="";var week6="";
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
This CGI command sets the active motion detection schedule. The schedule that is set inside your WebUI is the back-up schedule (see below). When you deactivate the alarm inside the webUI via the bell icon the active schedule will be stored inside the back-up schedule and afterwards replaced with an empty schedule. Clicking on the bell icon again will reverse this and set your old custom schedule.
param.cgi?cmd=getbackupschedule&-ename=md
Set Motion Detection Time Back-UP Schedule Parameter
week0
: Sunday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek1
: Monday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek2
: Tuesday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek3
: Wednesday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek4
: Thursday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek5
: Friday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactiveweek6
: Saturday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
Example
GET: `http://admin:instar@192.168.2.168/param.cgi?cmd=getbackupschedule&-ename=md`
GET: `http://192.168.2.168/param.cgi?cmd=getbackupschedule&-ename=md&-usr=admin&-pwd=instar`
SET: `http://admin:instar@192.168.2.168/param.cgi?cmd=setbackupschedule&-ename=md&-week0=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN&-week1=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week2=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week3=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week4=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week5=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week6=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN`
If you set the schedule through an automation system / smarthome, we recommend that you combine both the active and backup schedule in your SET command. This makes sure that you don't get out of sync:
http://admin:instar@192.168.2.168/param.cgi?cmd=setbackupschedule&-ename=md&-week0=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN&-week1=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week2=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week3=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week4=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week5=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week6=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN&cmd=setscheduleex&-ename=md&-week0=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN&-week1=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week2=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week3=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week4=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week5=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week6=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
param.cgi?cmd=getplancgi
Set Timer Parameter
plancgi_enable_[0 - 19]
: De/Activate Switch Event at Time - [0 - 86399] in seconds = 0:00:00 - 23:59:59 o´clock
Example
GET: `http://admin:instar@192.168.2.168/param.cgi?cmd=getplancgi`
GET: `http://192.168.2.168/param.cgi?cmd=getplancgi&-usr=admin&-pwd=instar`
SET: `http://admin:instar@192.168.2.168/param.cgi?cmd=setplancgi&-plancgi_enable_3=0&-plancgi_enable_4=0`