[quote=“snovvman, post:1, topic:174406”]I have a scene with the following configuration:
Intended action: Everyday, at 10PM, two sensors arm (this part works), 8 hours later, the same two sensors disarm (This part DOES NOT work).
Why? Help? Thank you.[/quote]
Possibly because Luup/Lua restarts overnight…? Try creating two scenes. One w/a scheduled start at 10PM to arm and one w/a scheduled start at 6AM that disarm.
I believe Vera uses luup.call_delay() or luup.call_timer() to schedule the follow-up action for the scene, and in my (limited) experiments, neither of those functions appear to “survive” a Luup/Lua restart.
Thank you both. I figured two scenes would work, but it’s inelegant!! ;D
This explains it: When the LUUP restarts, I get a notification on my phone via VeraAlerts, it did not restart last night. BUT, I did add a ST814 sensor AFTER I created the scene and AFTER the scene executed last night (and multiple restarts during programming). I did not know that an “in progress” scene will not survive a restart. Now I know.