Page 1 of 1

problem dusk sensor

Posted: Monday 18 November 2019 16:33
by smaus
Schermafdruk 2019-10-09 20.47.55.png
Schermafdruk 2019-10-09 20.47.55.png (16.5 KiB) Viewed 488 times
The blocky that I made works, but now I have the following problem, if I want to turn the lights off earlier, this will not work.

Re: problem dusk sensor

Posted: Monday 18 November 2019 19:02
by mrf68
So you have to add another check with which you can overrule the action. Create a dummy switch “autolights” (or whatever name you like) and add it to your current blockly and check whether ths dummy is ON. Then when you turn it OFF, this blockly will not trigger when licht sensor is ON.

Re: problem dusk sensor

Posted: Sunday 24 November 2019 13:35
by smaus
Okay thanks for the info, just think if I can get this done.

it is also possible that blocky only listens once to the twilight sensor if it is on and then not anymore.

problem dusk sensor

Posted: Sunday 24 November 2019 17:07
by Treve
smaus wrote: it is also possible that blocky only listens once to the twilight sensor if it is on and then not anymore.
In 24h or 1 one week or six hours?
Or during the period 15:00-21:30?

Re: problem dusk sensor

Posted: Sunday 24 November 2019 17:55
by Treve
If you mean between 15:00 and 21:30, the following blockly is maybe the solution.

Image

Make a dummy (autolight)
Make a variable (variabele)

And the light will trigger once in 24 hour.