1) Give a description of the problem
I created a piston that will turn an outdoor light on and disarm SHM when either of two presence sensors comes home. It also sends push notifications to two phones. The light then turns off two minutes after one of two doors has closed (meaning one of us has opened the door and come inside).
2) What is the expected behavior?
See above.
3) What is happening/not happening?
It actually seemed to work how I expected when I tested it.
I’m just wondering if there’s a better way to write the piston so that after the light is turned on, it’s waiting for the next door open—>close event to use as a trigger to turn the light off. Anything beyond simple if-then rules is tough for me to come up with on my own.
I’m also curious how I could tweak it so that it only sends a push notification to the same person whose presence sensor was the one that arrived.
**4) Post a Green Snapshot of the piston!