Can anyone help me with a conditional rule machine rule I have been struggling with. I have an inovelli presence sensor switch capable vzw32-sn. I would like to sense presence in my movie room and conditionally allow my projector connected to a zooz zend4 smart plug power meter to turn off lights as power draw of the projector ramps up and turns lights up as projector power ramps down.
I set the xyz parameters for the room in the vzm32-sn. I also set the power meter plug to a threshold of 300 w where I would like to lights in the room to turn down.
There are likely multiple ways to do this, here’s what I would do:
Trigger:
Power Level Zooz Zen device >=300w
Action:
Room Lights: off
Wait for condition: Power Level Zooz Zen device <300w
If vzm32-sn motion = active
Room Lights: on
Endif
This will turn off the lights when the power on the projector plug is 300w or greater. Once the power goes down below 300w, it will check if there is someone in the room, and if so will turn on the lights.
Thank you. Could you explain though if the occupants are not in motion ie. seated then how will the condition to keep the lights off if there is no motion or if occupants have left the room and no power draw from the projector. Won’t the lights go back on and stay on.
The vzm32-sn should be sensitive enough to pick-up the small movements of those in the room. If the projector turns off when no one is in the room, the « if vzm… = active> condition will not trigger since it will be inactive. The lights will not turn on.
I would suggest that you set a separate rule to turn off the lights when everyone has left the room, in case that is something that could also be of use:
Trigger:
vzm32-sn motion = inactive -> duration 2 minutes
Action:
Room Lights: off
This will automatically turn the lights off when the mmWave switch doesn’t detect motion for 2 minutes.
That makes sense. Thank you. That’s the part I was missing.
1 Like