The only Issue I see with your logic is that if three people are home and one leaves the door locks. Right? For my Piston, I figure if people are home and the door is unlocked that there might be a reason for that. Of course I think that’s just a matter of preference. I could totally see that you want the door to always be locked, so when anyone leaves make sure to lock the door in case they forgot.
Yeah, I even have a piston to say, if the door stays unlocked for 15 minutes without the door contact sensor opening then Lock and then speak through an Echo, “Guys, Remember to Lock the Doors”
In case someone gets locked out, then everyone has there own code to get back in and of course it tells me who.
Also have a Piston(s) to:
Don’t Lock the Door if Door is Open
Lock the Door if Alarm System is Armed
Turn on Porch Light if Door is Unlock during a specified time
Flash All Lights and Turn on Alarm System if a wrong code is entered thrice (Siren if Armed)
If Door Stays Opened too long then Push Notification, "Close “X” Door"
If Door Opens and Closes 3 times within 5 minutes Shut HVAC off until door remains closed for 10 minutes
Nice. I also don’t carry keys anymore. Ha Ha. I will say that I don’t auto lock my doors though, other than when Goodbye or Goodnight routines run.Of course different strokes for different folks.
Case Study - NightlightPro
Demonstrates a handoff of timers between two motion sensors. Some may term this a cascade or a flip. Each motion sensor will change the others timers giving the effect of a cascade from one sensor to the other. This example will demonstrate the use of 2 variables along with switch and case statements.
Simple Example 1 - Hello World
This example will demonstrate the use of Variables. A motion sensor will trigger the Send Push Notification a variable containing text.
That may work because I could then group the condition
(if phone changes and if (switch is off AND switch changed in last 3 minutes)) OR (switch is off and if (iPhone is away and iPhone changed to away in the last 3 minutes)).
Could someone maybe tell me how to set up a simple Play/Pause piston for Core. I am simply trying to use one button that will toggle play or pause for music.
This piston is useful where you have flying insects that are drawn to light. It will dim the lights down to 10% while the door contact is open, then restore the lights to their original levels. This piston will demonstrate the use of capturing and restoring states of lights.
Required:
1 sensor
At least 1 bulb
Before starting, set for expert mode: Settings->ExpertFeatures turn ON Expert Mode