Hi everyone, having trouble with showing up Zigbee devices from zigbee2mqtt in the home assistant mqtt. I have already tried, but still having no luck:
reinstalling both zigbee2mqtt and mqtt
changing mqtt protocol from 3.1.1 to 5 both in mqtt and zigbee2mqtt
playing with different legacy checboxes in zigbee2mqtt
updating Sonoff stick firmware
I do have a docker setup of HA, Conbee2 for ZHA, and Sonoff dongle for zigbee2mqtt. Mqtt by itself still works great with Bluetooth devices through Theengs.
So I am assuming something might be wrong on the zigbee2mqtt side.
You have however checked that HA can see those messages in the broker, and that another tool (like MQTT Explorer) can see both Z2M and Theengs messages?
From the picture of MQTT Explorer you posted, it looks like Zigbee2MQTT is correctly publishing to MQTT broker. Although, it does appear of the two devices visible there, one you have given a ‘nice name’ to and the other has the default name of it’s zigbee mac address. I’m not a fan of giving zigbee2mqtt devices ‘nice names’ that contain spaces and other ‘special’ characters. For example, it looks like you are using a ‘|’ in yours. I’m not sure if that might be causing issues with Home Assistant using that MQTT topic.
HA is 2023.11.2 and Z2M 1.33.2
I also noticed that in the ‘sensor’ property Bluetooth devices (that are discovered in HA) have all their sensors separately and Z2M devices sensors grouped under the device level, but I have no idea how to transform data model and try if that will do the trick
yep, homeassistant: true in z2m configuration and ‘Enable newly added entities’ checkbox active in mqtt systeem options or are there any others I should enable as well?