Scheduler¶
post.cgi?sched_save¶
-
Set scheduler entries.
POST /post.cgi?sched_save &sA=B*C*D*E*F*G*H&sA=B*C*D*E*F*G*H&sA=B*C*D*E*F*G*H&sA=B*C*D*E*F*G*H&sA=B*C*D*E*F*G*H&&
A
is the item index, integer0-49
B
is the name of the entry, string-
C
is action to be taken, integer0-22
since LC3.5+ SW 1.36+ (before0-18
){ "0": "OUT0", "1": "OUT1", "2": "OUT2", "3": "OUT3", "4": "OUT4", "5": "OUT5", "6": "PWM0", "7": "PWM1", "8": "PWM2", "9": "PWM3", "10": "EVENT1", "11": "EVENT2", "12": "EVENT3", "13": "EVENT4", "14": "EVENT5", "15": "EVENT6", "16": "EVENT7", "17": "EVENT8", "18": "LK3-RESTART", "19": "RESET ENERGY1", "20": "RESET ENERGY2", "21": "RESET ENERGY3", "22": "RESET ENERGY4", }
{ "0": "OUT0", "1": "OUT1", "2": "OUT2", "3": "OUT3", "4": "OUT4", "5": "OUT5", "6": "PWM0", "7": "PWM1", "8": "PWM2", "9": "PWM3", "10": "EVENT1", "11": "EVENT2", "12": "EVENT3", "13": "EVENT4", "14": "LK3-RESTART", "15": "RESET E1", "16": "RESET E2", "17": "RESET E3", "18": "RESET E4", }
-
D
it is the value of action, integer0-1
(off/on) E
is time in seconds (time of the day or period of time), integerF
is timestamp for date divided by 86400000 if One day is chosen or0
for Select day, integerG
determines days of week and function Periodically, integer0-383
(9 bits, where first 7 are days of weeks - Monday to Sunday, 8th is0
, 9th is Periodically)H
determines whether the entry is active, integer0-1
Example:
http://192.168.1.100/post.cgi?sched_save &s0=dfsfsdf*0*0*36000*0*7*0&s1=dfsfsdfsss*14*1*39600*0*1*0&s2=kjhkh*1*1*39600*18482*0*0&s3=kjhkhf*1*1*39600*0*127*0&s4=kjhkhf*1*1*39600*0*383*0&&
Last update: 2021-03-01