Richard, spot on, I would say. I’ve trawled the boards and found an amazing array of opinions and discrepancies, over the last 7 years, some from people whose opinion on all things Vera I mightily respect…
2 things:
can someone confirm that the “consider as active” in advanced tab of the scenes do act as a trigger too ?
how can i control the execution if so
The status is being reported by Vera. Scenes are considered active when the devices of that scene are correctly set e.g. under the Advanced settings of the scene you’ll see “Scene is Active - when all devices in the scene are properly set”. For example, say I have a scene to turn on my living room lights at sunset. The scene is configured to have the living room lights on. If I turn on the lights say during the day, Vera will mark the scene active as the living lights are on and that matches the settings of the scene minus the time. Vera will only check the device settings to mark the scene active or not and will ignore times, triggers, etc.
Scenes are not “active” or “inactive”. They are instant events that affect the state of your devices, and then they are finished.
If you want to know if the states that your devices are in matches what the scene set them to, you’ll have to query each device individually, and apply whatever logic you need to the results.
Full disclosure: Vera (UI5 particularly, I haven’t seen this in UI7) has some logic that attempts to do the above for simple scenes, but I never found that it worked well, and it’s definitely not exposed through Luup, so you’re back to doing it yourself manually.
Not worth spending the time on, if one is to maintain any degree of sanity. I’d echo @futzle ’s advice:
“If you want to know if the states that your devices are in matches what the scene set them to, you’ll have to query each device individually”