Building a Zigbee gateway on a Raspberry Pi: my setup notes
-
A Raspberry Pi with a USB coordinator is still one of the cheapest ways to run a fully local Zigbee network. Here's what worked for me.
Hardware
• Raspberry Pi 4 (a Pi 5 is fine too) with a decent power supply.
• A Zigbee 3.0 USB coordinator such as the SONOFF ZBDongle-P.
• A USB extension cable. This is not optional. The Pi's USB 3.0 ports and Wi-Fi sit right next to the dongle and cause interference.
• An SSD instead of an SD card if it's going to run 24/7.
Software
I run Home Assistant OS with ZHA. Zigbee2MQTT is a good alternative if you want more control.
Tips
• "Permit join" only needs to be on while you're pairing. Turn it off afterwards.
• Pair mains-powered devices first so the mesh has routers before you add battery sensors.
• Everything keeps working when the internet goes down, which was the main reason I went this route.
Step-by-step guide here: https://zigbeehubs.com/blog/raspberry-pi-zigbee/
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login