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
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)
ERROR: Unable to get any information on node… (all in red)
What am I missing?