Node-Red & Vera (MIOS)


I’ve slowly been moving more and more of my scene creations and UI over to Node-Red. (

It’s been a topic that’s been touched upon a few times within this forum, but is quite heavily discussed/used with some other HA set ups (Home Assistant, being a good example).

Just to be clear Node Red for now compliments my use of Vera, not replaces it - but it’s a great way to easily integrate my Vera(s) with other systems/services and for someone like me, with limited programming skills I’ve been able to build new integrations and actions.

For the board admins out there, I certainly think there’s scope ( if more are interested) to give this tool a dedicated child board area, for people to share their workflows etc. as it’s so easy to do.

Whether you just use it as a replacement UI, or to build complex scenes via its workflows with Vera, it’s a really great tool. (Here is the MIOS node -

Attached are some of the things I have built to give you a flavour.
(3 are of the dashboard, and one is behind the scenes for the occupancy UI)



Well done parkerc! I love Node-Red and will dive into integrating with my Vera asap!




I’m really new to Home Automation and have only had my Vera a few weeks. I started looking into Node-RED this morning and think a channel of advice on how to get started with integrating Vera and Node-RED would be great. From what I can tell, it seems like a local iFTTT/Stringify replacement but more powerful as it more tightly integrates with Vera, correct? I’m still a ways away from needing something like this as I’m just getting started and have, literally, 1 z-wave device so far, but its definitely something I’m interested in.



Getting started with Node Red is really easy, I?m currently running mine, via my QNAP NAS and its own Container Station app; using a Docker image. I’ve also just got new Raspberry PI so I will likely migrate to that so it’s dedicated.

Once you have it up and running you simply install the MIOS add-on via the UI - Menu / Manage Pallette and then search for MIOS (

Once installed you have a MIOS In node …

The mios-in node gets the events from the unit.

Items are named in the form Room:Unit:Variable, ie Bedroom:Bed Light:Status.

The value in Item is a filter for the incoming events that filters from the left (unless you check Exact match) so if you put Bedroom: you will get all events from the Bedroom.

… and a MIOS Out node…

The mios-out node send commands to units from msg.payload.

Items are named in the form Room:Unit:Variable, ie Bedroom:Bed Light:Status.

To turn on a light, set msg.payload to 1, to turn it off set it to 0.

One way to look at the MIOS-IN ; is that it will look for when your specified variable changes. So let’s say you have a kitchen motion sensor - which you set up as Kitchen:Kitchen Motion:Tripped.

[Room Name]:[Sensor Name]:[Variable Name]

The last part is key, as that is the variable (value) that changes in Vera whenever your sensor sees movement. [font=verdana]See attached image of one I have for my hallway motion sensor. [/font]So now when that variable changes going forward, a ‘payload’ is created that you can do what you like with. You can pass it as is (as the payload would be the value 1, because that is what Vera uses when something is tripped), or you can convert it to something else to go into any other node - maybe send it to a MIOS-OUT node to turn on a light.

But why stop there you can use it elsewhere too within node red, such as send it to push notification node to inform you that motion is seen, or to create an email node or to a twitter node to let you know.

That input (or trigger) can be used to interact with a multitude of different outputs.



Thanks for the info, that does sound pretty easy.

Does it have integrations for the following? This is what I use IFTTT for now…

[ul][li]WeMo Insigh Plugs - I tried the Vera plugin with updated code from the forums, but still could not get this to work in Vera. I can see the plugs but can only turn them on, not off, the status never changes, and I cannot change them from inside the iOS app.[/li]
[li]TP-Link smart switches[/li]
[li]Chinese Smart plugs that use the Smart Life or Tuya apps[/li][/ul]



While I don’t use those products myself I soon found nodes to support a couple on your list, plus there is a wealth of information on which products works with Node Red here (

[ul][li]WeMo Plugs -[/li]
[li]TP-Link smart switches -[/li][/ul]

Not sure about your Chinese one, but short answer is I would expect there is a node you could use.



can show nodes export mios?



There are many different variations, and the type of device you want to capture information from is specified via the description mentioned earlier .

Kitchen:Kitchen Motion Sensor:Tripped
(Room Name, device name, variable name)

This will report back into Node Red a payload of either a ?1? or a ?0? when that sensor trips on or off in Vera.



I did not see on the forum …
“Small crutch” in the form:
npm install node-red-contrib-nora
And your Google column shows the ability to manage Vera :ухмыляющийся:
Try it, I liked it