this post was submitted on 01 Jan 2024
13 points (93.3% liked)

homeassistant

11825 readers
32 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

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.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 8 months ago (2 children)

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

[–] [email protected] 2 points 8 months ago

Downgrading to 1.31.1 fixed it. Thanks a lot.

[–] [email protected] 1 points 8 months ago

Ok, thanks. I’ll have a look at switching to an older version.

[–] [email protected] 3 points 8 months ago

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?

[–] [email protected] 3 points 8 months ago

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
[–] [email protected] 2 points 8 months ago

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
[–] [email protected] 1 points 8 months ago

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?