I have my HA running as a container with no supervisor, so addons is not available to me. I have already got mqtt5 up and running as a container and could add and connect it to my HA. Now I will connect the Sonoff ZBDongle-E to use as my zigbee hub/receiver device. I've read that I need to set up mqtt broker (which I've done already) and Zigbee2Mqtt. But I've also seen people apparently just forwarding the dongle location to their HA container and add it there directly without any addons or other containers.
Which way is correct/better? Also, do I need to bind the mount location of the dongle to the Zigbee2mqqt container or to the Ha container?
#Setting up zigbee devices with HA docker container
1 messages · Page 1 of 1 (latest)
You can do either
Zigbee2MQTT and ZHA (what's built into HA) are two different ways to integrate Zigbee into HA
just don't try to use both at the same time
You have to pass the dongle into the container that needs it. That's Z2M if you're using Z2M and HA if you're using ZHA
what is the advantage using zigbee2mqtt? Does it just support more devices/more config options?
But it doesn't really matter function wise? Like it's more of a preference?
yes
I think Z2M is more powerful and flexible, but I haven't actually used ZHA
feel free to try both
ah alright, then I'll do the ZHA method probably, since I will use only "regular" zigbee devices from larger manufacturers. I think they will all be supported with all their functionality
But I will prepare a compose file with all three containers for the other method, in case I want or need to try this at some point