Hi guys. I built a very basic scene to turn my thermostat on, wait for 4 hours, and then turn it off. Very basic and I’m using the Vera in-built scene delay feature - no LUA. I’m finding that the scene always activates and turns the thermostat on as expected but only turns it off maybe 50% of the time and I can’t understand why.
Is a 4 hour delay too long for Vera to act reliably? Am I better off trying to use luup.call_delay(…) feature instead?
A scene delay of four hours is not likely to be very reliable. If Vera restarts (Luup Reload) during the period, the delayed action will not happen. This is the same whether you use the scene’s delayed actions or a luup.call_delay(…) function.
It would be more reliable to have a second scene triggered by a separate schedule.
The best solution would be to use PLEG. This is designed to restart its running Schedules/Timers after a Luup Reload. See PLEG Basics for an introduction.
Thanks for the reply. I agree a second scene would be best and not disputing anything you’re saying but I am 100% confident a luup reload or restart is not occurring and not the cause to my particular issue. There’s clearly better ways to tackle my problem but I suppose I’m just surprised this isn’t working as it should.