1) Give a description of the problem
I’m trying to design a piston that will:
- Turn on the outdoor lights and then check to see if anyone is home (via presence sensors which are our phones) before turning on our live tree lights indoors. I don’t need to burn down the house while we aren’t there.
2) What is the expected behavior?
I expect it to turn on the outdoor lights at sunset regardless then check the status of the presence sensors and if anyone is home turn the indoor tree lights on. If no one is home to leave it off and then continue checking for presence sensors and turn the indoor lights on if someone enters the geo fence. Then continue checking once the indoor lights are on to be sure that someone is still inside the geo fence and if everyone leaves to shut off just the indoor lights. Then I would like the system to turn all the lights off at 2230.
3) What is happening/not happening?
I can get it to turn on lights at sunset and check the status of a presence sensor but then the piston stops.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
Pulled up the logs but didn't see the log for this piston.