Hey crew! Looking for some collective wisdom here. the logic of a rule I want is not materializing for me.
My entry hallway has 3 Hue lights in the ceiling. I have a scene controller at each end (Zooz Zen 37) and an Aeotec Multisensor 6 just above the front door. Door also has a contact sensor from Ring.
Here's what I'm trying to do:
I have the SC's setup so button1 will toggle the lights on to 100% and set color as bright white.
I have button3 setup to toggle the lights on at 50% and set them red.
I created a basic rule that runs from Sunset to Midnight that says:
If front door opens, push button3 on the controller. Then wait for multisensor to report no motion for 3 minutes, Push button1 on the controller. This works fine.
I also created a rule that runs from sunset to 9PM that says If multisensor reports motion active, press button1 (toggles on) , then wait for multisensor to report no motion for >5 minutes and press button1 again (toggles off) This also works fine.
How do I keep them from stepping on each other?
Like if the lights are already on white, I don't want the red to fire if the door contact opens,
or
If the door opens, red fires, and then the motion goes active I don't want the red overriden to white. Actually what that would do currently is flip it to white and then turn off, because I've got button1 set to toggle.
Love some guidance/wisdom here. ![]()