I frequently see requests and conversation about running scenes locally. I figured I would share this trick even though it may seem obvious. Using the Edge environment, and virtual devices, you can setup a virtual switch or virtual momentary button that triggers an automation. That automation can be setup in the same way you would have setup the scene. If all of the devices being controlled are local, then your “scene” automation will run locally as well. Instead of using scenes, you just use these virtual devices. This can also give a scene an on/off state if desired. They are also compatible with voice control. Here is a link to a virtual device driver that has these switch and buttons:
@TAustin I may use your driver as inspiration for a dedicated “Scene Control Driver” that somehow brings in a bunch of icons and just creates virtual buttons. This would also allow scenes to be associated with rooms, which I think makes them a little stronger than the current scenes for some setups.
Just to confirm, are you referring to a use case like the one below?
- We have a scene with local-execution devices
- When we create an automation, we set in “actions” (Then) “run a scene” and this routine still executes local
I see that using “run a scene” makes the Routine run in the Cloud…
Yes. It seems that they run in the cloud in all cases. If all devices run locally, it would be nice if the scene ran locally. For example, I think these should be equivalent, but they are not.
Edge Scene Controller → Press Button → [Automation] → Turn On Edge Light
Edge Scene Controller → Press Button → Run Scene → [Scene Actions] → Turn On Edge Light
The case that uses the scene goes out to the internet. My comment at the top is for users to reimplement scenes as virtual automations as a workaround.
Got it. I’ll check that with the team to get their feedback and let you know.
@blueyetisoftware we checked with the team and they told us that they are aware of it and this change (allowing Scenes to run locally) is in development.
It’s nearly a year later, yet from what I can tell, all Scenes still run in the cloud.
I have one Scene in particular which controls multiple lights, and for reasons I don’t understand, the command for one set often doesn’t execute, but I suspect it’s related to the cloud execution.
I’m now trying the workaround described here (i.e., and Edge-based virtual button that initiates a Routine with the same steps that were previously part of a Scene), and so far it appears to be working consistently.
I came here looking for the answer too. I really don’t want to migrate all of my scenes to routines. I’m entirely local now, except for scenes.