Ok, so once again I’m just not getting it.
Goal: Turn a light on (Appliance Module) at specified time and turn it off at a specified time.
Status Page Attached.
Ok, so once again I’m just not getting it.
Goal: Turn a light on (Appliance Module) at specified time and turn it off at a specified time.
Status Page Attached.
I have almost the same setup for my garden lights and they work. It sounds/looks like your schedule isn’t triggering. I assume it works for you when you trigger the schedule manually?
Is your PLEG armed?
The only difference to my setup is the conditions where I have “sGardenLight” & “Not sGardenLight” instead of “sGardenLight==1” & “sGardenLight==0”
Hope you work it out.
Thanks cosworth32, and you are correct it didn’t fire this morning, BUT it did fire and turn the light off tonight…
Do you think the “==1” and “==0” are no good? From what I’ve read (over and over and over again) I think is supposed too…
They should work … but a better way is:
cFish_Light_On s_Fish_Tank_Light_On
cFish_Light_Off NOT s_Fish_Tank_Light_On
It looks like you are changing the status with the Do It Now button.
Make sure when you are don that you return the Schedule to it’s normal state.
[quote=“RichardTSchaefer, post:4, topic:181830”]They should work … but a better way is:
cFish_Light_On s_Fish_Tank_Light_On
cFish_Light_Off NOT s_Fish_Tank_Light_On
It looks like you are changing the status with the Do It Now button.
Make sure when you are don that you return the Schedule to it’s normal state.[/quote]
I get this error:
PLEG_Up_Bedroom[33] : NOT s_Fish_Tank_Light_On: Invalid Value token: S_FISH_TANK_LIGHT_ON
The strange thing is the condition is not capitalized. I also tried !s_Fish_Tank_Light_On, but same error.
Nevermind, I found the error…
Changed the condition logic to above, and still did not turn on this morning.
It’s hard for me to tell what’s going on … you keep editing the schedule AFTER the events happened … so I can’ t tell what the previous schedule definition is …
I can see that it previously went ON on July 3rd at 12:00:00 and OFF at July 3rd at 18:00:00 … but those do not match your Schedule definition … so that means you changed it after that … I needed to see what it was BEFORE you changed it.
Maybe you should turn the LOG on (use the in it’s own file option) … So I can tell what it’s doing … vs what you are changing.
[quote=“RichardTSchaefer, post:8, topic:181830”]It’s hard for me to tell what’s going on … you keep editing the schedule AFTER the events happened … so I can’ t tell what the previous schedule definition is …
I can see that it previously went ON on July 3rd at 12:00:00 and OFF at July 3rd at 18:00:00 … but those do not match your Schedule definition … so that means you changed it after that … I needed to see what it was BEFORE you changed it.
Maybe you should turn the LOG on (use the in it’s own file option) … So I can tell what it’s doing … vs what you are changing.[/quote]
I don’t think I’ve made any changes to the schedule after my testing on Wed. The only change I’ve made was with the conditions as suggested.
Wed Jul 02 16:13:31.067 - Entry:NOW
Wed Jul 02 16:13:31.073 - ScheduleEventOn:sFish_Tank_Light_On:2,08:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:13:31.075 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Wed Jul 02 16:13:31.077 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:false
Wed Jul 02 16:13:31.078 - TriggerCondition:None
Wed Jul 02 16:13:31.080 - SweepDB:NOW
Wed Jul 02 16:13:31.087 - SaveDB:Memory:253879
Wed Jul 02 16:13:31.100 - CheckRegistration:Subsequent:1
Wed Jul 02 16:13:31.101 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Wed Jul 02 16:13:31.102 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Wed Jul 02 16:16:44.894 - Entry:NOW
Wed Jul 02 16:16:44.900 - ScheduleEventOn:sFish_Tank_Light_On:2,08:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:16:44.902 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Wed Jul 02 16:16:44.903 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:false
Wed Jul 02 16:16:44.904 - TriggerCondition:None
Wed Jul 02 16:16:44.906 - SweepDB:NOW
Wed Jul 02 16:16:44.913 - SaveDB:Memory:253879
Wed Jul 02 16:16:44.926 - CheckRegistration:Subsequent:0
Wed Jul 02 16:16:44.927 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Wed Jul 02 16:16:44.928 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Wed Jul 02 16:18:40.712 - Entry:NOW
Wed Jul 02 16:18:40.718 - ScheduleEventOn:sFish_Tank_Light_On:2,08:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:18:40.720 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Wed Jul 02 16:18:40.721 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:false
Wed Jul 02 16:18:40.721 - TriggerCondition:None
Wed Jul 02 16:18:40.724 - SweepDB:NOW
Wed Jul 02 16:18:40.725 - SaveDB:{{name = 'sFish_Tank_Light_On', state = false, seq = 0, oseq = 0},{name = 'cFish_Light_On', state = nil, seq = 0, oseq = 1404343120.7205},{name = 'cFish_Light_Off', state = nil, seq = 0, oseq = 1404343120.7213},}
Wed Jul 02 16:18:40.732 - SaveDB:Memory:253405
Wed Jul 02 16:18:40.746 - CheckRegistration:Subsequent:0
Wed Jul 02 16:18:40.747 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Wed Jul 02 16:18:40.747 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Wed Jul 02 16:19:42.077 - Entry:NOW
Wed Jul 02 16:19:42.083 - ScheduleEventOn:sFish_Tank_Light_On:2,08:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:19:42.085 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Wed Jul 02 16:19:42.086 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:false
Wed Jul 02 16:19:42.087 - TriggerCondition:None
Wed Jul 02 16:19:42.089 - SweepDB:NOW
Wed Jul 02 16:19:42.096 - SaveDB:Memory:253405
Wed Jul 02 16:19:42.109 - CheckRegistration:Subsequent:62
Wed Jul 02 16:19:42.110 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Wed Jul 02 16:19:42.111 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Wed Jul 02 16:20:44.400 - ScheduleEventOn:sFish_Tank_Light_On:2,08:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:20:44.401 - ScheduleEventOff:sFish_Tank_Light_On:2,16:19:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:20:44.402 - EvalConditions:Condition:cFish_Light_On Trigger:sFish_Tank_Light_On Result:false
Wed Jul 02 16:20:44.403 - EvalConditions:Condition:cFish_Light_Off Trigger:sFish_Tank_Light_On Result:false
Wed Jul 02 16:20:44.404 - SaveDB:{{name = 'sFish_Tank_Light_On', state = true, seq = 1404343244.3986, oseq = 0},{name = 'cFish_Light_On', state = nil, seq = 0, oseq = 1404343120.7205},{name = 'cFish_Light_Off', state = nil, seq = 0, oseq = 1404343120.7213},}
Wed Jul 02 16:20:44.422 - SaveDB:Memory:276017
Wed Jul 02 16:36:58.555 - EvalConditions:Condition:cFish_Light_On Trigger:sFish_Tank_Light_On Result:false
Wed Jul 02 16:36:58.556 - EvalConditions:Condition:cFish_Light_Off Trigger:sFish_Tank_Light_On Result:false
Wed Jul 02 16:36:58.557 - SaveDB:{{name = 'sFish_Tank_Light_On', state = false, seq = 1404343244.3986, oseq = 1404344218.5546},{name = 'cFish_Light_On', state = nil, seq = 0, oseq = 1404343120.7205},{name = 'cFish_Light_Off', state = nil, seq = 0, oseq = 1404343120.7213},}
Wed Jul 02 16:36:58.577 - SaveDB:Memory:275942
Wed Jul 02 16:37:17.530 - ScheduleEventOn:sFish_Tank_Light_On:2,08:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:37:17.532 - ScheduleEventOff:sFish_Tank_Light_On:2,16:19:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:37:17.538 - EvalConditions:Condition:cFish_Light_On Trigger:sFish_Tank_Light_On Result:false
Wed Jul 02 16:37:17.539 - EvalConditions:Condition:cFish_Light_Off Trigger:sFish_Tank_Light_On Result:false
Wed Jul 02 16:37:17.541 - SaveDB:{{name = 'sFish_Tank_Light_On', state = true, seq = 1404344237.5282, oseq = 1404344218.5546},{name = 'cFish_Light_On', state = nil, seq = 0, oseq = 1404343120.7205},{name = 'cFish_Light_Off', state = nil, seq = 0, oseq = 1404343120.7213},}
Wed Jul 02 16:37:17.565 - SaveDB:Memory:275973
Wed Jul 02 16:39:15.652 - Entry:NOW
Wed Jul 02 16:39:15.658 - ScheduleEventOn:sFish_Tank_Light_On:2,08:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:39:15.660 - ScheduleEventOff:sFish_Tank_Light_On:2,15:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:39:15.663 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:true
Wed Jul 02 16:39:15.664 - TriggerCondition:cFish_Light_On
Wed Jul 02 16:39:15.666 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:false
Wed Jul 02 16:39:15.667 - SweepDB:NOW
Wed Jul 02 16:39:15.668 - SaveDB:{{name = 'sFish_Tank_Light_On', state = true, seq = 1404344237.5282, oseq = 1404344218.5546},{name = 'cFish_Light_On', state = true, seq = 1404344355.6632, oseq = 1404343120.7205},{name = 'cFish_Light_Off', state = false, seq = 0, oseq = 1404344355.6669},}
Wed Jul 02 16:39:15.676 - SaveDB:Memory:254099
Wed Jul 02 16:39:15.689 - CheckRegistration:Subsequent:0
Wed Jul 02 16:39:15.690 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Wed Jul 02 16:39:15.691 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Wed Jul 02 16:39:59.467 - EvalConditions:Condition:cFish_Light_On Trigger:sFish_Tank_Light_On Result:false
Wed Jul 02 16:39:59.468 - EvalConditions:Condition:cFish_Light_Off Trigger:sFish_Tank_Light_On Result:true
Wed Jul 02 16:39:59.469 - TriggerCondition:cFish_Light_Off
Wed Jul 02 16:39:59.503 - SaveDB:{{name = 'sFish_Tank_Light_On', state = false, seq = 1404344237.5282, oseq = 1404344399.4656},{name = 'cFish_Light_On', state = false, seq = 1404344355.6632, oseq = 1404344399.4674},{name = 'cFish_Light_Off', state = true, seq = 1404344399.469, oseq = 1404344355.6669},}
Wed Jul 02 16:39:59.510 - SaveDB:Memory:276811
Wed Jul 02 16:39:59.513 - RunNext:Condition:cFish_Light_Off Index:1
Wed Jul 02 16:39:59.514 - SaveActionDB:{}
Wed Jul 02 16:41:39.731 - Entry:NOW
Wed Jul 02 16:41:39.737 - ScheduleEventOn:sFish_Tank_Light_On:2,16:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:41:39.739 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Wed Jul 02 16:41:39.741 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:true
Wed Jul 02 16:41:39.742 - TriggerCondition:None
Wed Jul 02 16:41:39.744 - SweepDB:NOW
Wed Jul 02 16:41:39.751 - SaveDB:Memory:254001
Wed Jul 02 16:41:39.765 - CheckRegistration:Subsequent:0
Wed Jul 02 16:41:39.766 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Wed Jul 02 16:41:39.766 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Wed Jul 02 16:42:2.267 - ScheduleEventOn:sFish_Tank_Light_On:2,16:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:42:2.268 - ScheduleEventOff:sFish_Tank_Light_On:2,17:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:42:2.273 - EvalConditions:Condition:cFish_Light_On Trigger:sFish_Tank_Light_On Result:true
Wed Jul 02 16:42:2.274 - TriggerCondition:cFish_Light_On
Wed Jul 02 16:42:2.305 - EvalConditions:Condition:cFish_Light_Off Trigger:sFish_Tank_Light_On Result:false
Wed Jul 02 16:42:2.306 - SaveDB:{{name = 'sFish_Tank_Light_On', state = true, seq = 1404344522.2658, oseq = 1404344399.4656},{name = 'cFish_Light_On', state = true, seq = 1404344522.2741, oseq = 1404344399.4674},{name = 'cFish_Light_Off', state = false, seq = 1404344399.469, oseq = 1404344522.3054},}
Wed Jul 02 16:42:2.314 - SaveDB:Memory:276808
Wed Jul 02 16:42:2.316 - RunNext:Condition:cFish_Light_On Index:1
Wed Jul 02 16:42:2.317 - SaveActionDB:{}
Wed Jul 02 16:43:51.038 - Entry:NOW
Wed Jul 02 16:43:51.044 - ScheduleEventOn:sFish_Tank_Light_On:2,09:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:43:51.045 - ScheduleEventOff:sFish_Tank_Light_On:2,15:00:00,1,2,3,4,5,6,7 Result:0
Wed Jul 02 16:43:51.048 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:true
Wed Jul 02 16:43:51.049 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:false
Wed Jul 02 16:43:51.050 - TriggerCondition:None
Wed Jul 02 16:43:51.052 - SweepDB:NOW
Wed Jul 02 16:43:51.060 - SaveDB:Memory:254000
Wed Jul 02 16:43:51.074 - CheckRegistration:Subsequent:1
Wed Jul 02 16:43:51.075 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Wed Jul 02 16:43:51.076 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Wed Jul 02 16:45:13.012 - EvalConditions:Condition:cFish_Light_On Trigger:sFish_Tank_Light_On Result:false
Wed Jul 02 16:45:13.014 - EvalConditions:Condition:cFish_Light_Off Trigger:sFish_Tank_Light_On Result:true
Wed Jul 02 16:45:13.015 - TriggerCondition:cFish_Light_Off
Wed Jul 02 16:45:13.019 - SaveDB:{{name = 'sFish_Tank_Light_On', state = false, seq = 1404344522.2658, oseq = 1404344713.0108},{name = 'cFish_Light_On', state = false, seq = 1404344522.2741, oseq = 1404344713.0126},{name = 'cFish_Light_Off', state = true, seq = 1404344713.0143, oseq = 1404344522.3054},}
Wed Jul 02 16:45:13.039 - SaveDB:Memory:276793
Wed Jul 02 16:45:13.053 - RunNext:Condition:cFish_Light_Off Index:1
Wed Jul 02 16:45:13.054 - SaveActionDB:{}
Thu Jul 03 02:01:55.889 - Entry:NOW
Thu Jul 03 02:01:55.894 - ScheduleEventOn:sFish_Tank_Light_On:2,09:00:00,1,2,3,4,5,6,7 Result:0
Thu Jul 03 02:01:55.897 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Thu Jul 03 02:01:55.899 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:true
Thu Jul 03 02:01:55.900 - TriggerCondition:None
Thu Jul 03 02:01:55.902 - SweepDB:NOW
Thu Jul 03 02:01:55.911 - SaveDB:Memory:254002
Thu Jul 03 02:01:55.925 - CheckRegistration:Subsequent:0
Thu Jul 03 02:01:55.926 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Thu Jul 03 02:01:55.927 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Thu Jul 03 09:00:0.697 - ScheduleEventOn:sFish_Tank_Light_On:2,09:00:00,1,2,3,4,5,6,7 Result:0
Thu Jul 03 09:00:0.698 - ScheduleEventOff:sFish_Tank_Light_On:2,15:00:00,1,2,3,4,5,6,7 Result:0
Thu Jul 03 09:00:0.700 - EvalConditions:Condition:cFish_Light_On Trigger:sFish_Tank_Light_On Result:true
Thu Jul 03 09:00:0.701 - TriggerCondition:cFish_Light_On
Thu Jul 03 09:00:0.723 - EvalConditions:Condition:cFish_Light_Off Trigger:sFish_Tank_Light_On Result:false
Thu Jul 03 09:00:0.725 - SaveDB:{{name = 'sFish_Tank_Light_On', state = true, seq = 1404403200.6957, oseq = 1404344713.0108},{name = 'cFish_Light_On', state = true, seq = 1404403200.7008, oseq = 1404344713.0126},{name = 'cFish_Light_Off', state = false, seq = 1404344713.0143, oseq = 1404403200.7241},}
Thu Jul 03 09:00:0.732 - SaveDB:Memory:276393
Thu Jul 03 09:00:0.742 - RunNext:Condition:cFish_Light_On Index:1
Thu Jul 03 09:00:0.743 - SaveActionDB:{}
Thu Jul 03 15:00:0.803 - RunScheduleOff:sFish_Tank_Light_On
Thu Jul 03 15:00:0.805 - EvalConditions:Condition:cFish_Light_On Trigger:sFish_Tank_Light_On Result:false
Thu Jul 03 15:00:0.806 - EvalConditions:Condition:cFish_Light_Off Trigger:sFish_Tank_Light_On Result:true
Thu Jul 03 15:00:0.807 - TriggerCondition:cFish_Light_Off
Thu Jul 03 15:00:0.813 - SaveDB:{{name = 'sFish_Tank_Light_On', state = false, seq = 1404403200.6957, oseq = 1404424800.8037},{name = 'cFish_Light_On', state = false, seq = 1404403200.7008, oseq = 1404424800.8055},{name = 'cFish_Light_Off', state = true, seq = 1404424800.8071, oseq = 1404403200.7241},}
Thu Jul 03 15:00:0.819 - SaveDB:Memory:276360
Thu Jul 03 15:00:0.823 - RunNext:Condition:cFish_Light_Off Index:1
Thu Jul 03 15:00:0.824 - SaveActionDB:{}
Fri Jul 04 02:02:20.822 - Entry:NOW
Fri Jul 04 02:02:20.828 - ScheduleEventOn:sFish_Tank_Light_On:2,09:00:00,1,2,3,4,5,6,7 Result:0
Fri Jul 04 02:02:20.831 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Fri Jul 04 02:02:20.833 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:true
Fri Jul 04 02:02:20.833 - TriggerCondition:None
Fri Jul 04 02:02:20.835 - SweepDB:NOW
Fri Jul 04 02:02:20.843 - SaveDB:Memory:254002
Fri Jul 04 02:02:20.857 - CheckRegistration:Subsequent:0
Fri Jul 04 02:02:20.858 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Fri Jul 04 02:02:20.859 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Fri Jul 04 04:38:58.590 - Entry:NOW
Fri Jul 04 04:38:58.596 - ScheduleEventOn:sFish_Tank_Light_On:2,09:00:00,1,2,3,4,5,6,7 Result:0
Fri Jul 04 04:38:58.599 - ErrorHandler:s_Fish_Tank_Light_On: Invalid Value token: S_FISH_TANK_LIGHT_ON
Fri Jul 04 04:38:58.600 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Fri Jul 04 04:38:58.601 - ErrorHandler:!s_Fish_Tank_Light_On: Invalid Value token: S_FISH_TANK_LIGHT_ON
Fri Jul 04 04:38:58.602 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:false
Fri Jul 04 04:38:58.602 - TriggerCondition:None
Fri Jul 04 04:38:58.606 - SweepDB:NOW
Fri Jul 04 04:38:58.613 - SaveDB:Memory:253524
Fri Jul 04 04:38:58.627 - CheckRegistration:Subsequent:0
Fri Jul 04 04:38:58.628 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Fri Jul 04 04:38:58.629 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Fri Jul 04 04:39:43.782 - Entry:NOW
Fri Jul 04 04:39:43.788 - ScheduleEventOn:sFish_Tank_Light_On:2,09:00:00,1,2,3,4,5,6,7 Result:0
Fri Jul 04 04:39:43.791 - ErrorHandler:s_Fish_Tank_Light_On: Invalid Value token: S_FISH_TANK_LIGHT_ON
Fri Jul 04 04:39:43.791 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Fri Jul 04 04:39:43.793 - ErrorHandler:NOT s_Fish_Tank_Light_On: Invalid Value token: S_FISH_TANK_LIGHT_ON
Fri Jul 04 04:39:43.794 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:false
Fri Jul 04 04:39:43.795 - TriggerCondition:None
Fri Jul 04 04:39:43.797 - SweepDB:NOW
Fri Jul 04 04:39:43.804 - SaveDB:Memory:253530
Fri Jul 04 04:39:43.817 - CheckRegistration:Subsequent:45
Fri Jul 04 04:39:43.818 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Fri Jul 04 04:39:43.819 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Fri Jul 04 04:48:19.477 - Entry:NOW
Fri Jul 04 04:48:19.483 - ScheduleEventOn:sFish_Tank_Light_On:2,09:00:00,1,2,3,4,5,6,7 Result:0
Fri Jul 04 04:48:19.486 - ErrorHandler:s_Fish_Tank_Light_On==1: Invalid Value token: S_FISH_TANK_LIGHT_ON
Fri Jul 04 04:48:19.487 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Fri Jul 04 04:48:19.489 - ErrorHandler:s_Fish_Tank_Light_On==0: Invalid Value token: S_FISH_TANK_LIGHT_ON
Fri Jul 04 04:48:19.489 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:false
Fri Jul 04 04:48:19.490 - TriggerCondition:None
Fri Jul 04 04:48:19.492 - SweepDB:NOW
Fri Jul 04 04:48:19.500 - SaveDB:Memory:253531
Fri Jul 04 04:48:19.514 - CheckRegistration:Subsequent:1
Fri Jul 04 04:48:19.515 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Fri Jul 04 04:48:19.516 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Fri Jul 04 04:51:1.485 - Entry:NOW
Fri Jul 04 04:51:1.492 - ScheduleEventOn:sFish_Tank_Light_On:2,09:00:00,1,2,3,4,5,6,7 Result:0
Fri Jul 04 04:51:1.494 - EvalConditions:Condition:cFish_Light_On Trigger:nil Result:false
Fri Jul 04 04:51:1.496 - EvalConditions:Condition:cFish_Light_Off Trigger:nil Result:true
Fri Jul 04 04:51:1.496 - TriggerCondition:None
Fri Jul 04 04:51:1.498 - SweepDB:NOW
Fri Jul 04 04:51:1.506 - SaveDB:Memory:253993
Fri Jul 04 04:51:1.519 - CheckRegistration:Subsequent:1
Fri Jul 04 04:51:1.520 - Registration:Registered: true $1$3mBk8H1d$MrzdCT+YM2BaExUPo0ElXB
Fri Jul 04 04:51:1.521 - Registration:PLC[12]: 8 PLEG#: 5 PLTS#: 0
Fri Jul 04 08:31:17.479 - RunNext:Condition:cFish_Light_On Index:1
Fri Jul 04 08:31:17.480 - SaveActionDB:{}
Fri Jul 04 09:00:0.360 - ScheduleEventOn:sFish_Tank_Light_On:2,09:00:00,1,2,3,4,5,6,7 Result:0
Fri Jul 04 09:00:0.362 - ScheduleEventOff:sFish_Tank_Light_On:2,15:00:00,1,2,3,4,5,6,7 Result:0
Fri Jul 04 09:00:0.363 - EvalConditions:Condition:cFish_Light_On Trigger:sFish_Tank_Light_On Result:true
Fri Jul 04 09:00:0.364 - TriggerCondition:cFish_Light_On
Fri Jul 04 09:00:0.382 - EvalConditions:Condition:cFish_Light_Off Trigger:sFish_Tank_Light_On Result:false
Fri Jul 04 09:00:0.384 - SaveDB:{{name = 'sFish_Tank_Light_On', state = true, seq = 1404489600.359, oseq = 1404424800.8037},{name = 'cFish_Light_On', state = true, seq = 1404489600.3638, oseq = 1404424800.8055},{name = 'cFish_Light_Off', state = false, seq = 1404424800.8071, oseq = 1404489600.3829},}
Fri Jul 04 09:00:0.391 - SaveDB:Memory:276415
Fri Jul 04 09:00:0.400 - RunNext:Condition:cFish_Light_On Index:1
Fri Jul 04 09:00:0.401 - SaveActionDB:{}
Fri Jul 04 15:00:0.101 - RunScheduleOff:sFish_Tank_Light_On
Fri Jul 04 15:00:0.102 - EvalConditions:Condition:cFish_Light_On Trigger:sFish_Tank_Light_On Result:false
Fri Jul 04 15:00:0.104 - EvalConditions:Condition:cFish_Light_Off Trigger:sFish_Tank_Light_On Result:true
Fri Jul 04 15:00:0.105 - TriggerCondition:cFish_Light_Off
Fri Jul 04 15:00:0.111 - SaveDB:{{name = 'sFish_Tank_Light_On', state = false, seq = 1404489600.359, oseq = 1404511200.1013},{name = 'cFish_Light_On', state = false, seq = 1404489600.3638, oseq = 1404511200.1029},{name = 'cFish_Light_Off', state = true, seq = 1404511200.1045, oseq = 1404489600.3829},}
Fri Jul 04 15:00:0.118 - SaveDB:Memory:276349
Fri Jul 04 15:00:0.120 - RunNext:Condition:cFish_Light_Off Index:1
Fri Jul 04 15:00:0.121 - SaveActionDB:{}
EDIT:
By the way,… It’s turning the light off correctly, It’s just NOT turning the light ON…
Just a hunch but could be a race condition depending on the order of the lines?
There is a very brief period of time when both conditions are true, so it could be turning it on then back off immediately.
Try two schedules, one for on, another for off, or just have one scene that triggers on once per day with a 6 hour delay to turn off.
PD
[quote=“pacificdune, post:10, topic:181830”]Just a hunch but could be a race condition depending on the order of the lines?
There is a very brief period of time when both conditions are true, so it could be turning it on then back off immediately.
Try two schedules, one for on, another for off, or just have one scene that triggers on once per day with a 6 hour delay to turn off.
PD[/quote]
Do you mean the condition positions?
I just don’t understand why the existing setup does not work to turn the light on. I cant find if I have an error or PLEG is causing it. To me this should be a brain dead easy task for ANY program engine.
Post and updated report (After you let it run for a day without touching it).
[quote=“RichardTSchaefer, post:4, topic:181830”]It looks like you are changing the status with the Do It Now button.
Make sure when you are don that you return the Schedule to it’s normal state.[/quote]
How do you return the schedule to it’s normal state???
You can use Do It Now to toggle the schedule from On to Off to On …
It will also re-synchronize at the next schedule on (if currently off) or off (if currently on) scheduled time.
Oops, forgot to post an update…
I followed Richards advice, and it is working fine now that I went through a full event cycle.
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules