civiltwilightend event is not working
Posted: Tuesday 19 February 2019 11:47
I'm running Domoticz on orange Pi with ArmBian and the timer event civiltwilightend is not working on my system. I'm using sunrise and sunset and they are working fine.
This is the version info:
I have a similar script for the sunset and that's working fine, also I can't see in the logging that the event is triggered
Any idea how I can fix it?
Greetings, Frans
This is the version info:
- Version: 4.9700
Build Hash: a3a45906
Compile Date: 2018-06-23 16:24:51
dzVents Version: 2.4.6
Python Version: 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]
Code: Select all
return {
on = {
timer = {
'at civiltwilightend'
}
},
-- actual event code
-- in case of a timer event or security event, device == nil
execute = function(domoticz, device)
local Thuis = domoticz.devices('Thuis')
domoticz.groups('Tuin').setState(Thuis.state)
end
}Any idea how I can fix it?
Greetings, Frans