Switch time based on sunrise/sunset but between limits
Posted: Monday 16 January 2017 9:07
I have built a window blind controller based on a Raspberry and I written it in Python and it works great for over a year now.
I would like to extend the system funtionality and use the external access that Domoticz offers and incorporate my scripts.
I have programmed some blinds to switch like this:
If switchtime(sunrise) <7:30 then
switchtime=7:30
else if switchtime(sunrise)>8:00 then
switchtime=8:00
Should I be using Blockly or LUA to provide this functionality?
I would like to extend the system funtionality and use the external access that Domoticz offers and incorporate my scripts.
I have programmed some blinds to switch like this:
If switchtime(sunrise) <7:30 then
switchtime=7:30
else if switchtime(sunrise)>8:00 then
switchtime=8:00
Should I be using Blockly or LUA to provide this functionality?