Page 1 of 1

motion sensor

Posted: Thursday 28 February 2019 12:54
by raq24
hello, how to create a block of light, after 10 minutes from the last motion sensor operation

Re: motion sensor

Posted: Thursday 28 February 2019 16:57
by jake
I don't think this is possible with blockly. With dzvents lua script this can be done with a .lastUpdate.minutesAgo > 10 when you do it time driven, a check once per minute. Or with the switchOn().afterMin(10) combined with another line (when the motion sensor is active again) .cancelQuedCommand (I don't have the precise wording at hand on my phone right now)



Check out the wiki page of domoticz for a more general understanding