Lights that stay on for a long time. Any suggestions?


#1

I’m attempting to have lights be monitored and shut off if on for excessive amount of time and not motion. I still see lights on and not shut off by the piston shown below.
Any suggestions?


#2

Just a few thoughts, I’m not sure you need the async. Also might be worth splitting each into a separate piston.


#3

I can try separating them into different pistons. Maybe put a few variables to make it easy to change the motion detector and light?

I thought the asych allowed for them to reside in one piston, but be mutually exclusive.


#4

Would be good to see medium logs of this running to see what is going on.