How to control Z-Wave devices from another HA instance in Node-Red

Hi there,

today I finally managed to install my Z-Wave empowered roller shutter with the fuse only blowing two times :nerd_face: Now that I hooked up the device to my HA system, I like to control the device within some Node-Red flows. However, I have a little exceptional setup which is as follows:

  • Home Assistant Blue (HAB): This is where my Node-Red Add-On is being installed
  • Rasp Pi 4: This is where the roller shutter is connected to (using the “Z-Wave JS to MQTT” - Gateway)

I managed to install the “node-red-contrib-zwave-js” palette, but when trying to configure the “Z-Wave JS Controller” node, I´m prompted to select a serial port. But as the Z-Wave controller Stick is connected to the Pi4, and not the HAB, there is no proper choice for me to select. Is there any other way to control my devices in Node-Red?

So by the time it gets to HA and by extension nodered, it’s already mqtt. You will have to set your flows like any other mqtt device. You won’t need the zwave nodes.

I also have 2 HAOS instances:

  • VM - Main HA, Internet connected (NabuCasa,etc…) where I have all my Automations, Scripts, Dashboard
  • Rasp Pi 3B - Internal HA, Zigbee and Z-Wave dongle, running “Z-Wave JS to MQTT”

I’ve decided to use “Z-Wave JS” on my Main HA pointing to the Rasp PI 3, this way all Devices (and entities) are discovered on the Main HA
This is still in test (about 2 months) now, but so far it’s working great.