I have a conditional motion triggered scene that turns on a light between certain hours. Most everything in the scene seems to work with the exception of executing a 2nd action to turn off the light 10 minutes later. Under the “What do you want to have happen?” steps, the first one is set to turn the light on immediately. Following that there is another that’s “Wait for 10m and then MB Light Off”, the same device. First action fires, the 2nd one never does, though I swear I’ve seen it work at least once.
How can I troubleshoot this? Is this the best way to achieve what I want or would I be better off scripting this?
Indeed, this is exactly what DelayLight is built to do. It also has the advantage that it survives reloads/reboots of Vera (it will turn off the lights at the right time if Vera reloads/reboots during the interval), where scene timing generally does not (in firmware to date).
[quote=“bgr”]I have a conditional motion triggered scene that turns on a light between certain hours. Most everything in the scene seems to work with the exception of executing a 2nd action to turn off the light 10 minutes later. Under the “What do you want to have happen?” steps, the first one is set to turn the light on immediately. Following that there is another that’s “Wait for 10m and then MB Light Off”, the same device. First action fires, the 2nd one never does, though I swear I’ve seen it work at least once.
How can I troubleshoot this? Is this the best way to achieve what I want or would I be better off scripting this?[/quote]I’ve, been dealing with a similar issue, and today I finally made some headway. I toggled my Home mode from custom to default, and then set up custom the way I wanted it again. This seems to have fixed the three scenes I was having similar issues with.
So I’m testing daylight and for the most part it does what I want. It would be good if it had a scheduling function for timers, making them active only during certain periods. To work around that, I created two scenes to enable and disable the timer device on the schedule I need the sensor to control the light. I suppose I could use the mode feature and define night mode on my controller, but as of today I’m not using them and for night it seems scheduling mode start would require scenes anyway.
One capability I did lose is the ability to turn the light on only if a light sensor is reporting low light. So if motion is detected and light is below the threshold, then turn on the light. LightDelay only makes the motion sensors available for the condition to watch. In my scene I had a bit of lua code that returned false if light was already detected. Worked pretty well.
I’d be happy to look at your requirement with respect to the light sensors. Unfortunately, I’m heading out on vacation for a month a couple of days from today, so I won’t have time to look at it until I get back. But consider it added to the wish list.
I’m pretty sure there were some recent posts that indicated that this is now possible in the Vera, just not in the GUI yet. AltUI is capable of exposing the AND. And I thought I saw that the IOS app can do it too? Unfortunately is not very easy to search for ‘and’ - too common of a word! - so it is hard to find this information.
The Vera iOS app allows you to add an AND in a scene but I understand the current firmware still does not allow an AND. But it has been a long time since I used scenes.
Best Home Automation shopping experience. Shop at Ezlo!