INSTAR Deutschland GmbHINSTAR Deutschland GmbH

1080p CGI Commands



The Alarm Menu :: Schedule




param.cgi?cmd=getscheduleex&-ename=md

Function Set Motion Detection Time Schedule Parameter
Authority admin
Parameter aname:
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 inactive
week1: 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 inactive
week2: 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 inactive
week3: 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 inactive
week4: 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 inactive
week5: 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 inactive
week6: 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.178.88/param.cgi?cmd=getscheduleex&-ename=md
GET: http://192.168.178.88/param.cgi?cmd=getscheduleex&-ename=md&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/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

Function Set Motion Detection Time Back-UP Schedule Parameter
Authority admin
Parameter aname:
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 inactive
week1: 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 inactive
week2: 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 inactive
week3: 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 inactive
week4: 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 inactive
week5: 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 inactive
week6: 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.178.88/param.cgi?cmd=getbackupschedule&-ename=md
GET: http://192.168.178.88/param.cgi?cmd=getbackupschedule&-ename=md&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/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.178.88/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

Function Set Timer Parameter
Authority admin
Parameter aname:
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.178.88/param.cgi?cmd=getplancgi
GET: http://192.168.178.88/param.cgi?cmd=getplancgi&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setplancgi&-plancgi_enable_3=0&-plancgi_enable_4=0