Home Assistant shows zigbee2MQTT devices unavailable

I have moved the zigbee2MQTT from a hassios vm to a Home Assistant Green to segregate Home Assistant integrations from zigbee2MQTT as I was being told they could be interfering with Home Assistant /zigbee2MQTT.

So run up zigbee2MQTT proxy from the Vm Home Assistant to Home Assistant Green.

zigbee2MQTT is solid and the best it has ever been with ~100 devices.

The zigbee2MQTT devices are showing as online in zigbee2MQTT , zigbee2MQTT proxy and MQTT

I can access the zigbee2MQTT devices from node Red zigbee2MQTT node.

But

Home Assistant shows all ~100 devices as unavailable.

Any ideas?



Who told you that? There’s nothing wrong with running Z2M on a HA vm.

Do HA and Zigbee2MQTT use the same mqtt server ?

Yes on the VM as a Home Assistant add on.

I was told that HACs integrations can cause issues with Home Assistant.

There are HACs integrations I really need to use, so came up with this way to separate them. :slight_smile:

Is

homeassistant: true

in Zigbee2mqtt’s configuration.yaml ?

Yes on both

The main VM based Home Assistant using zigbee2MQTT Proxy AND the Home Assistant Green that has the zigbee2MQTT on it.
The Main VM Home Assistant runs the MQTT as a standard Add On.

The MQTT Integration Devices shows it is using the zigbee2MQTT proxy - odd


I set the Home Assistant Main on the VM to do a a full reboot.

Also I added the Home Assistant Main (on the VM using zigbee2MQTT Proxy) MQTT Broker to the Home Assistant Green (running zigbee2MQTT ) by

  1. On the Home Assistant Main VM by going to Settings/People adding a new user for the Home Assistant Green to be able to login into the Home Assistant Main MQTT created a username and password

  2. On the Home Assistant Green went to Settings/Devices and Services slecetc + Add Integration

  3. Searched for MQTT selected MQTT - configured it - with th eIP address of Home Assistant Main, and the new account I created at 1.

All came online on Home Assistant green - I can now see all the devices and use them in automations and dashboards.

As an aside now all those devices are accessible in Home Assistant Main - so not sure if the full reboot or the configuration of Home Assistant Green MQTT client somehow fixed the issue.

So problem solved - thanks to anyone who contributed - many thanks!!