After having tried a HA lite setup running on a VM on my Windows PC with a Sonoff zigbee dongle 3.0 i decided to jump into this world, bought and set it up on a RPI5. I know Docker quite well from work, and have both Zigbee2MQTT, Mosquitto, Node-Red, Portainer and Homeassistant all running in Docker-containers on my Pi, that i can successfully access. I have communication between Mosquitto and Zigbee2MQTT, as i can open the Zigbee2MQTT frontend, and see that i can successfully find my smart-devices, and add them.
However, for some annoying reason they don’t appear in my Home-assistant. I know it is not hardware-related, as i can see in MQTT-explorer that the devices are updating when i press their buttons etc. The dongle was also working fine before i moved to docker. I have searched around for 3 hours but found no solution. When i go to Configurations->Add device to setup my zigbee dongle i see my correct /dev/ttyACM0 port, and i try to add it, but it just keeps throwing me an “unknown error”.
What am i missing here? Before Docker my devices would automatically show up on my dashboard once found by Zigbee2MQTT, but i guess since they are seperate Docker instances in this case, i somehow need the HA container to discover them aswell, right?
This is my configurations.yaml file for Zigbee2Mqtt
It was not mentioned in any of the guides that I used i think, but i went to settings → devices and services → searched for MQTT → Inserted my broker IP etc. and then they would show up under MQTT. I guess i can add them manually somehow, now that they are finally appearing. Now i just have this thing though.
I guess now my HA container is discovering my devices over MQTT, instead of using the dongle to see them over Zigbee, right?
I believe so. You can set this to ignore if you gonna use zigbee2mqtt as this is for zha integration.
If you enabled auto discovery in mqtt integration they will just appear as you add them in z2m.