Vera -> HASS Migration Strategy (question)
-
Hi All -
I'm currently working through a slow migration from Vera to Home Assistant with MSR being a pivotal piece of the equation.
I have begun the effort of moving some ZWave devices as well (from Vera to HA). Unlike others that use Vera for the ZWave radio, I'm looking to completely remove it from my ecosystem, eventually.
My issue is I have some Vera Scenes that are designed to be manually executed by the Vera Mobile app. Examples: "Go to Sleep", "Panic - Lights On", etc (Wife Acceptance Factor)
I think MSR is the right place for any new "Scene" (including manual scenes); and from my reading, a Global Reaction makes sense.
Question 1: Can anyone recommend a way to execute a Global Reaction from a Vera scene? I've seen some examples of HTTP calls to MSR so I assume this is it (perhaps custom Luup which I know very little about).
Question 2: How can I (manually) execute this Reaction from Home Assistant? I'm slowly building out my custom Dashboard using "Mushroom".
Or, maybe there's a better way. Always open to constructive criticism.
Thanks.
-
I don't get your first question, vera is on its way out?
I still think that you can use virtual switches (they're called Helpers in HA) in both cases, and have MSR monitor and react to them. MSR can reset the switch as its last action for example.I'm not that versed in global reactions, but I run everything I had in vera scenes as standard rules.
-
I don't get your first question, vera is on its way out?
I still think that you can use virtual switches (they're called Helpers in HA) in both cases, and have MSR monitor and react to them. MSR can reset the switch as its last action for example.I'm not that versed in global reactions, but I run everything I had in vera scenes as standard rules.
@perh I think he just wants to be able to run a Reactor (Multi-Hub) Reaction from either Vera or Hass. Same answer for both: you can use an HTTP request to the Reactor (Multi-Hub) API:
http://host-ip-or-name:8111/api/v1/reaction-id/run
The
reaction-id
is shown in the Reactions list when you open up a reaction's detail panel:On Vera, that's likely just a
luup.inet.wget()
call in scene Lua. I'm not sure how to do it on Hass, but I know you can do it. Maybe one of the Hass experts can chime in here. -
@toggledbits read through the noise and got it. I'm depending on Vera (and their app) to manually execute certain scenes (which I think should be converted MSR Reactions or Rules) until I can fully get off the platform. I'm also trying to figure out how to do the same from a Hass dashboard. I agree that I'm sure it's possible. I just need to dig a little more.
The virtual switch idea is interesting. Basically using them as a variable. But I think a direct call from the Vera scene may work. I'll look in to the wget function.
Thanks for the feedback, both.