I’m running HA using a VM in Proxmox on an ThinkCentre and have addons. I’m running ZHA, so not Z2M, but I am running the Mosquitto Broker too. I didn’t have to do anything special to my setup to use addons.
I’ve tried this but get stuck at ls -l /dev/serial/by-id It results in either Not Found or total = 0. I’ve double checked and the Sonoff stick is in the HA VM Hardware list so not sure why I’m not retrieving the location info.
I installed HAOS in Proxmox but if I try to simply install the Add-On within HA, each time I try to start it I get a `502: Bad Gateway’ error. So that’s why I thought I would have to install it in a separate VM?
ZHA and MQTT are integrations not add-ons so can be installed directly from the HA instance. It’s only add-ons that I thought were different in a VM environment.
Not quite true. MQTT requires a broker, which is available as an addon, or you can install it on another [virtual] machine or container. You then need to link the broker to ha via the integration.
ZHA does not need additional software, like a broker. It is built into ha.
Ah, thanks Nick. Apologies to @LynnOnTheWeb I thought MQTT was the broker and Zigbee2MQTT required that broker to also be installed. My mistake.
So, currently, I have the MQTT integration in HA along with ZHA. I was looking to get rid of ZHA as I’m experiencing some strange issues (e.g. automations gone haywire since installing it, affecting automations that don’t include any of the ZHA devices).
Within HA should I remove MQTT if I’m using ZHA? Could it be causing a conflict?
If I went ahead with installing Zigbee2MQTT in a vm, would MQTT also have to be in a vm or can that be installed directly from integrations in HA?
EDIT: When I say ‘MQTT’ above I’m referring to Mosquitto