I'm currently using 3 different Simple Automation Rules for outdoor lighting. I have 3 motion sensors controlling 3 different sets of lights. Motion sensors currently set to clear/reset after 10 seconds but plan on increasing that to 1 minute.
- RULE 1: Motion Sensor 1 Active = Garage 1 and Porch Lights ON, turn OFF after 5 min
- RULE 2: Motion Sensor 2 Active = Garage 2 Lights ON, turn OFF after 5 min
- RULE 3: Motion Sensor 3 Active = Driveway Floodlight ON, turn OFF after 5 min
So far everything above works great. I also have a Driveway Vehicle Sensor and a Smart Mailbox. I plan on creating two additional rules for nighttime:
-
RULE 4: Mailbox Open = All Outdoor Lights ON, turn OFF after 5 min (Porch, Garage 1 & 2, Driveway Floodlight)
-
RULE 5: IF Vehicle Detected AND Porch Light is Off THEN All Outdoor Lights ON, turn OFF after 5 min (Porch, Garage 1 & 2, Driveway Floodlight)
The [Vehicle Detected AND Porch Light Off] condition is my crude way of restricting All Lights On to vehicles entering rather than leaving driveway. When leaving Motion Sensor 1 has turned on Porch Light for 5 minutes. Pre-HE I had this setup in ST and worked well.
QUESTIONS/CONCERNS:
I'm using 5 different rules because they each need to operate independently from each other, maybe I'm wrong? What I don't understand is how the 'Off in 5 minutes' is impacted when other rules control the same lights before the original 'Off in 5 minutes' rule completes.
EXAMPLE:
Car enters driveway at night, all outside lights are off, and passes first motion sensor
(1) RULE 3 (motion) turns ON Driveway Floodlight, starts 5 minute countdown to OFF
Same car then passes vehicle sensor (magnetometer)
(2) RULE 5 (vehicle) turns ON All Lights, starts 5 minute countdown to All Lights OFF
Same car then approaches second motion sensor, on garage 1
(3) RULE 1 (motion) turns ON Porch & Garage 1 Lights, starts 5 minute countdown to OFF
Same car enters garage
In above scenario how are the 'Off in 5 minutes' timers impacted when different rules are controlling the same lights? Does the last rule to turn on a light override any 'still running' off timers from another rule? I did some testing and it appears that triggering the SAME motion sensor and rule again before the first 'off in 5 min' timer completes simply resets the timer to 5 minutes which is great, if that's how it's supposed to work. What I don't understand is when a rule turns on the same light another rule has already turned on. I hope this makes sense.
I should mention the motion sensors and associated lighting rules are not vehicle specific. They need to function independently at night for people detection as well. I hope I'm just overthinking a simple scenario, I excel at that lol. I want to understand exactly how this works. Any advice is welcome and greatly appreciated, thank you.