Proxmox Zigbee2MQTT install help

I have my HA instance running on a Proxmox VM on my Intel NUC. I’ve only very recently done this (moved from an RPi) so am new to Proxmox.

As HA add-ons won’t work in this set up I want to add Z2M to Proxmox but I can’t find a step-by-step guide on how to do this, despite Google searches.

Does anyone know of any resource for a guide on how to do this? I understand I need to set up a ‘lxc’?

Not sure why addons aren’t working - if you installed haos in proxmox? Perhaps you went in a different direction.

1 Like

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 :slight_smile:

No need to

No

I’ll say again, mqtt installation has two parts in ha. The broker, and the integration.

The broker (mosquitto) can be installed anywhere. A VM, a addon on haos/supervised, via the packaging system on any machine on your lan, or whatever.

Then you need to attach it to ha with the integration.