At the behest of Vera support I upgraded to v1.1147 (Beta) and now it appears that the luup function call_delay() does not seem to trigger after the specified number of seconds.
A (I believe) related problem is that any scene that contains the logic “after XX seconds|minutes|hours” for an action does not perform the action requested.
It does not seem to matter if the action pertains to a thermostat’s temperature set point or a binary light switch. These are two types of devices where I’m using the functionality on my Vera2.
An example of a scene I’ve got configured that fails on both counts is a scene that uses luup code to trigger two other scenes (scene A & scene B). Scene A is expected to run immediately and the second scene - scene B - is set up using the call_delay() function to trigger after 62 minutes. Scene A and scene B both contain a command to turn on a power switch and then disable it - turn it off - 60 minutes afer the switch was turned on. For scene A, the disable never triggers and for scene B, the scene itself is never run. And, yes, I’ve verified in the logs that the call_delay() doesn’t fail
Scene that triggers scene A (#40) and Scene B (#9) :
-- We start the count-down until the back of the house de-icing cables are enabled -- (62 minutes from when this scene was started), then we fire up the de-icing -- cables at the front of the house (so we start de-icing at the front, end with -- the back of the house). -- -- The "back of the house" scene will disable power to the "front of the house" cables -- then turn itself off after 60 minutes. -- -- Programmed delay: 62(min) x 60(seconds) = 3270 -- local delayTime = 3720 -- Do the actual work luup.log("Starting the delay-timer for the back of the house") local deicestatus = luup.call_delay("runScene", delayTime, sceneID_RearHouseDeIcing) if (deicestatus ~= 0) then luup.log("Failed to initiate call_delay() for Rear De-Icing scene") return false end luup.log("Queued the de-icing process for the back of the house") runScene(sceneID_FrontHouseDeIcing) luup.log("Started the de-icing process for the front of the house")
Have anybody else with the beta version installed noticed this change in behavior?