Hi,
I want some lights to switch off when there has been no activity in the room for two minutes during daytime but after 20 minutes at night.
I believe the only right way to do this is to change parameter 6 Motion detection - alarm cancellation delay - for every change from day to night and vice versa. And it should be possible as far as I can tell.
This is my code to change the delay to 1200 seconds on device 117 in my test scene: luup.variable_set( “urn:micasaverde-com:serviceId:ZWaveDevice1”, “ConfiguredVariable”, “6,2d,1300”,117)
And I am setting the reconfigure under advanced settings: #117 3 in 1 sensor Fibaro gang
Service: urn:micasaverde-com:serviceId:HaDevice1
Reconfigure
But can this be done at all when the sensor is battery operated?
First I get this message:
Please wait! Getting the name (all in blue)
Then:
ERROR: Unable to get any information on node… (all in red)
The yellow highlighted buttons are for “Condition Options”. Click those on the motion sensor rows and set the “sustained for” delay to 120 seconds on Daytime and 1200 seconds on Nighttime (or whatever works for you).
This is the native interface for Ezlo https://ezlogic.mios.com/ . You don’t need a plugin or you don’t need another computer to run the automation.
It also comes with fully customizable “Dashboard”
I have been way to stubborn for way too long. I have insisted on doing lua code for everything. But it’s beginning to act strangely so thank you for this, I am now starting to use Reactor. Also seen a few rigpapa videos on the subject. Thanks.
1 Like
Best Home Automation shopping experience. Shop at Ezlo!