I run HA in Docker and I have set up Mosquito MQTT and Zigbee2mqtt in other containers.
I can add Zigbee devices into Zigbee2mqtt and they automatically turn up in the MQTT integration. The problem is that they usually don’t have the control entities in HA. This means that I can’t activate switches by clicking on them in HA.
Everything else seems to work. I can turn the devices on and off in Zigbee2mqtt and I can do the same from Node Red (running in another container) with the Zigbee2mqtt plugin.
Has anyone else seen this problem?
I found something in GitHub about it but the comments said that it was fixed in the next version but I have a later version than that but it’s still not working.
https://www.zigbee2mqtt.io/guide/configuration/homeassistant.html
Did you enable home assistant discovery since you were doing a manual installation?
# Optional: Home Assistant integration (MQTT discovery) (default: false) homeassistant: true
I have thanks. I have tried just doing the basic setting of ‘true’ and the more advanced options with no joy.
Odd I have done the full setup several times As I run pure dockers / separate HA, Mosquito MQTT and Zigbee2mqtt and the devices all just auto discover and appear in HA has devices with entities with full control.
I haven’t had the problem and am really new to HA, but it sounds like the switches weren’t added properly. Perhaps try a reset?
Fairly sure this is a regression in the current release, i just ran into the same thing after upgrading to 1.34 and went back to 1.31.1
Downgrading to 1.31.1 fixed it. Thanks a lot.
Ok, thanks. I’ll have a look at switching to an older version.
How is your zigbee2mqtt running? Via HA or standalone?
You can click elements from NodeRed, so it means the HA connection to node-red is broken it sounds.
- Try updating HA nodes inside nodeRed.
- Make sure that your mqtt server has no errors
I haven’t had this issue specifically but I’ve noticed when adding color changing bulbs, the color changing ability doesn’t show up in Home Assistant until I change the color in the dashboard of zigbee2mqtt. After that, home assistant recognizes the bulb’s capabilities. What hub do you have?
I have the older SONOFF stick.
I’m pretty sure that I have tried that. The kind of sure that means I’m going to have to try it again. 😀