Trying to turn on two lights with a rolling timer based on movement

Moderator: leecollings

Post Reply
frizby66
Posts: 33
Joined: Friday 13 November 2015 17:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Trying to turn on two lights with a rolling timer based on movement

Post by frizby66 »

Hi..this works, but the timer doesn't restart each time there is movement..it does 1 minute then quickly turns off then back on again (assuming movement is constant). Got brain freeze on how to make it work...or maybe need to use a different option?
Screenshot 2020-06-26 at 22.49.21.png
Screenshot 2020-06-26 at 22.49.21.png (81.2 KiB) Viewed 537 times
--------------------
Raspberry Pi2, RTX433e USB, Philips Hue, Nest, LightwaveRF.
knielen
Posts: 46
Joined: Sunday 10 September 2017 9:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Trying to turn on two lights with a rolling timer based on movement

Post by knielen »

This is not possible with Blockly, you need to switch to dzvents for this to work.
wouterlet
Posts: 109
Joined: Tuesday 02 October 2018 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Trying to turn on two lights with a rolling timer based on movement

Post by wouterlet »

Why do you use the timer? Just let the light switch on with movement. When the pir goes off again the light switches off. You can change the "on" time in the setting of the pir
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest