Getting Home Assistant to Work with a Zigbee Dongle on Docker Desktop
Asked by
TechyNinja42
I'm trying to set up Home Assistant using Docker Desktop on Windows 11, and I have a SONOFF Zigbee 3.0 USB Dongle Plus (TI CC2652P). Is it possible to enable USB passthrough for this setup? I'm not sure how to get the USB COM port working within Docker. Any advice or tips would be appreciated!
Answers
For Windows users, Docker Desktop doesnโt support direct USB passthrough nicely. You might need to look into using serial over IP as a workaround.
Reply to this answer
Honestly, running Home Assistant in Docker on Windows can be a nightmare. I've had issues with networking and device passthrough, especially with WSL. If you're serious about using Home Assistant, I'd recommend using HAOS in a VM with USB passthrough instead. By doing this, you can manage your devices more reliably, or you could run the Sonoff on a Raspberry Pi and access it over the network, which has worked great for me.
Reply to this answer
You could run the Zigbee controller directly in Windows and have Home Assistant in Docker connect to it over the network. Thereโs a way to configure WSL to communicate better with your Windows setup, but it can be tricky. Just remember to check your firewall settings to ensure your HA ports are open.
Reply to this answer
The best route here is to use a virtual machine instead. It makes the setup far more straightforward, especially regarding device connections.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions