Trigger lights on nautical sunset
Posted: Monday 24 February 2020 12:11
Let me state that i'm no programmer and so im inclined to use blockly instead of lua or dzvents
What i want to accomplish is that my indoor and outdoor lights trigger when it gets dark outside.
So i made a blockly script which uses the time block "sunset" and "sunrise".
So far so good, everything works. But the sunset time as stated in domoticz is when it actually gets dark and i want it to trigger lights before this moment.
So there are other astro timings which match my timing preference, like astronomical_twilight_begin, which is like half an hour before sunset.
I've integrated an dzvents script to create these timings in text devices. using
https://www.domoticz.com/forum/viewtopi ... 72&t=28103
But i cant use these text devices in blockly.
Is there anyway around this?
What i want to accomplish is that my indoor and outdoor lights trigger when it gets dark outside.
So i made a blockly script which uses the time block "sunset" and "sunrise".
So far so good, everything works. But the sunset time as stated in domoticz is when it actually gets dark and i want it to trigger lights before this moment.
So there are other astro timings which match my timing preference, like astronomical_twilight_begin, which is like half an hour before sunset.
I've integrated an dzvents script to create these timings in text devices. using
https://www.domoticz.com/forum/viewtopi ... 72&t=28103
But i cant use these text devices in blockly.
Is there anyway around this?