Running HASSIO from VM and NodeRED on Raspberry Pi

Hi everyone, I am totally new to HASS.io, if ever this topic is to be moved or unwanted, let me know.

I have a raspberry pi with nodered running where I control the on/off for power at home. Works well with Amazon’s Alexa.

Now, I am planning to add-in HASS, as a VM.

Question: How (if doable) can I automate some task on the raspberry pi if my HASS is running on a VM?

My raspberry pi is where relays are connected.

Your help is much appreciated.

help, anyone?

Ok, let me make sure I understand you correctly. You have NodeRed running on a rPi which has one or more relays connected via GPIO, right? Then, you want to install HASS on a VM on another machine, but be able to control the relays on your rPi?

You can do this using the remote GPIO functionality. You can also expose NodeRed flows to HASS using the HA pallete and vice versa.

However, a much easier solution would be to put HASS in a Docker on the same rPi as your NodeRed install. That way, your HASS has local access to GPIO on your rPi directly. Of course, this all depends on which rPi you have and what else you already have running there.

Hi! Glad to have some giving some good tip. Yes, you understand me correctly. I’ll read on this and give it a try.

Many thanks.

1 Like