motion sensor
Moderator: leecollings
-
- Posts: 3
- Joined: Wednesday 28 November 2018 20:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
motion sensor
hello, how to create a block of light, after 10 minutes from the last motion sensor operation
-
- Posts: 742
- Joined: Saturday 30 May 2015 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: motion sensor
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
Check out the wiki page of domoticz for a more general understanding
Who is online
Users browsing this forum: No registered users and 0 guests