Hi. This is my first piston. It is supposed to turn a light on when myself or my wife gets home when it’s after sunset. Then stay on for 5 minutes and then turn off. The problem is that it never turns off.
I also never see the “lights turned off” debug statement but I do see the other debug statements when logging. Any help would be greatly appreciated.
Piston doesn't execute after wait statement
Boothmaster
#1
c1arkbar
#2
Click on the with to edit the settings. Click the cog in the bottom right. Change TCP to never. Try again.
Boothmaster
#3
Thanks. I have changed the settings but can’t test this tonight. Does the default mean that it cancels the scheduled event if the if statement evaluates to false after the initial true evaulation?
c1arkbar
#4
Correct. If you watch the dashboard long enough you will see that this piston’s state changes from true to false. Then it cancels the remaining tasks.