Timer scripts don't work if no devices change
Posted: Tuesday 12 December 2017 19:30
I'm having an issue. It seems Domoticz only runs scripts when something changes somewhere. This means LUA scripts with timer functions don't work!
I created a LUA script that gives an alarm if a door remains open for more then a minute. The script itself works fine! However - the alarm doesn't sound if no device in my Domoticz set-up changes after this minute is reached.
It does work again when a device changes status, doesn't matter which device - can be a totally different device used in an entirely different script. But if nothing changes in my set-up it seems Domoticz falls asleep and timer functions alone won't wake Domoticz up...
Anyone know why this is? Is there a way to solve this? Been browsing through the settings, but found nothing that makes Domoticz fall asleep almost immediately from the moment no device changes no more.
I created a LUA script that gives an alarm if a door remains open for more then a minute. The script itself works fine! However - the alarm doesn't sound if no device in my Domoticz set-up changes after this minute is reached.
It does work again when a device changes status, doesn't matter which device - can be a totally different device used in an entirely different script. But if nothing changes in my set-up it seems Domoticz falls asleep and timer functions alone won't wake Domoticz up...
Anyone know why this is? Is there a way to solve this? Been browsing through the settings, but found nothing that makes Domoticz fall asleep almost immediately from the moment no device changes no more.