#Setting up zigbee devices with HA docker container

1 messages · Page 1 of 1 (latest)

shadow pewter
#

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?

tardy spoke
#

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

shadow pewter
#

what is the advantage using zigbee2mqtt? Does it just support more devices/more config options?

tardy spoke
#

it's separate from HA and has its own UI

#

both ways are fine

shadow pewter
#

But it doesn't really matter function wise? Like it's more of a preference?

tardy spoke
#

yes

#

I think Z2M is more powerful and flexible, but I haven't actually used ZHA

#

feel free to try both

shadow pewter
#

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