Zigbee Mesh
You'll build a radio mesh of ten Zigbee devices on a twenty dollar stick, read the map it draws, and fix the weak link by moving a plug.
About
Zigbee and Z-Wave devices talk to each other rather than to a server in another country. A USB coordinator stick costs about twenty dollars and door sensors from the cheap brands are under ten dollars each, and battery devices run for a year or more. The mesh is the interesting part. Mains-powered devices relay for the battery ones, so where you place the plugs decides whether the sensor in the garage ever reports at all. This is where the Wi-Fi gadgets from the Common badges start to look like the expensive option.
At a glance
- Per requirement
- 35 XP
- Completion bonus
- 300 XP
- Requirements
- 6
- Takes
- One month
- Skill level
- Intermediate (months of practice)
- Cost
- Expensive ($100+)
- Supplies
- You need some
- Where
- At home
- Other people
- On your own
Requirements
-
1
Get a Zigbee coordinator and plug it into your hub on a USB extension cable. Don't plug it straight into the port, because USB 3 ports throw off interference that kills Zigbee range. A one-meter cable fixes it. Take a photo of the stick on its extension. Photo
-
2
Pair ten devices, with at least six on battery. Good picks are door sensors, temperature sensors, buttons, a leak sensor under the sink, and three or four smart plugs to act as routers. Take a screenshot of the device list. Photo
-
3
Look at the mesh map and find a battery device with a weak link. Zigbee2MQTT and ZHA both draw the map for you. Take a screenshot of the map with the weak path marked. Photo
-
4
Add or move a mains-powered router device and show that the map changed. A plug halfway between the hub and the weak sensor usually does it. Take a screenshot of the map afterwards with the new route. Photo
-
5
Make the hub tell you when a device drops off the mesh or runs low, and test it by pulling a battery. One rule that fires when any device has been unavailable for an hour, and one when any battery reports under 20 percent, so you hear about the garage sensor before you need it. Pull the battery out of a sensor and wait for the message. Coin cells and small children don't mix, so keep spares and dead ones out of reach. Take a screenshot of the message naming the device. Photo
-
6
Bind a button straight to a bulb so it works with the hub switched off. Zigbee devices can talk to each other directly, which is called binding, and Zigbee2MQTT and ZHA both have a page for it. Bind a button or a remote to a bulb or a group of bulbs, then power the hub off and press it. The light should still answer, which is the fallback you want for the day the hub dies while you're away. Film the hub's power light off and the button working the bulb. Video