1) Give a description of the problem
I’m working on my first piston(s) and need a little help with the logic of this presence scenario.
Presence Sensors
- Dad’s phone
- Mom’s phone
- Daughter’s phone
Basic scenarios
- If everyone leaves and daughter is home alone, execute routine Home Alone (which sets a specific mode and alarm level).
- If no one is home and daughter arrives home alone, execute I’m Back routine (which unlocks doors, turns on lites, etc) then execute Home Alone after she get’s into the house (perhaps just via a timeout). I do have two door sensors and multiple motion sensors available as well to determine when someone walks in the door.
- Ensure that when multiple people arrive home at the same time as Daughter, Home Alone routine is not executed. I already have the I’m Back routine setup for all presence sensors without any pistons - standard setup.
2) What is the expected behavior?
To correctly execute the Home Alone routine when our daughter is truly home alone.
3) What is happening/not happening?
Nothing yet, piston not created. Still working out logic and if this should be multiple pistons or one larger one