1) Give a description of the problem
I would like to setup a piston to turn off all the lights at night after we have gone to bed. I have a Routine setup in ST to do this but it is unreliable for some reason. I have it setup to run between 9:00pm - 2:00pm and to turn the lights off when there is no motion detected for 10 minutes on about 4 motion sensors. So my Routine in ST is set to do this “When things quiet down” but it often doesn’t work. Not sure why. So I was thinking that a Piston might be more reliable. I am stuck on the 10 minute timing for the motion sensors. So I haven’t really done much with this piston yet as this would be at the top somewhere. Any suggestions?
Piston to run Good Night Routine
pcgirl65
#1
michicago
#3
I’d go for something like:
IF
Time is between X and Y
AND
All of Motion Sensor 1, Motion Sensor 2…'s Motion stays Inactive for 10 minutes
THEN
With lights blah blah blah
do
Turn off
WCmore
#4
I agree with @michicago… Just be careful if your time frame spans midnight. (ie: 9pm to 2pm) That often has unexpected outcomes. If you do need it to span midnight, change his first line to say:
IF Time is NOT between 2pm and 9pm
pcgirl65
#6
michicago
#7
I can’t help with the Ecobee, but make sure you change that “Any of… motion sensors” to "All of… motion sensors. Otherwise as long as one sensor doesn’t trip, you’ll end up sitting in the dark.
pcgirl65
#8
Wouldn’t be the first time! Thanks I changed that Any to All. Now to get the Ecobee working.