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?
Trigger lights on nautical sunset
Moderator: leecollings
-
- Posts: 109
- Joined: Tuesday 02 October 2018 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Trigger lights on nautical sunset
Maybe use a lux sensor instead? Those from coolcam aren't that expensive and seem to work for years. At least underneath a small roof
Who is online
Users browsing this forum: No registered users and 1 guest