User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
homeautomation:protocols:zigbee [2025/06/04 08:20] – [Planning] willyhomeautomation:protocols:zigbee [2025/06/04 08:30] (current) – [Home Assistant] willy
Line 117: Line 117:
   * Gray links **cannot be avoided**, it's perfectly normal to have __lots__ of them. Don't worry.   * Gray links **cannot be avoided**, it's perfectly normal to have __lots__ of them. Don't worry.
   * You only want to **connect the islands**, nothing more. Don't overdo it.   * You only want to **connect the islands**, nothing more. Don't overdo it.
-  * It's a mesh: it will take care of itself, but you must provide opportunities for good links to become available, and this is on you. +  * **It's a mesh**: it will take care of itself, but you must provide opportunities for good links to become available, and this is on you. 
-  * Green means **perfect**. Yellow means **more than good enough**. Red means **shitty** and gray means **i know you exist, i don't care**.+  * Green means **perfect**. Yellow means **more than good enough**. Red means **shitty** and gray means **i know you exist, i don't care at this time**.
   * Getting a better coordinator is also probably a good idea, but getting more reliable repeaters is 99% the solution.   * Getting a better coordinator is also probably a good idea, but getting more reliable repeaters is 99% the solution.
  
Line 139: Line 139:
 Home Assistant provides at least two different implementations for ZigBee. The main one, which i am using, is called [[https://www.home-assistant.io/integrations/zha|ZHA]], or ZigBee Home Automation. This is native in Home Assistant and overall preferred to the ZigBee2MQTT solution. This last one only advantage might be to de-couple your ZigBee stuff from Home Assistant itself, if you prefer. Home Assistant provides at least two different implementations for ZigBee. The main one, which i am using, is called [[https://www.home-assistant.io/integrations/zha|ZHA]], or ZigBee Home Automation. This is native in Home Assistant and overall preferred to the ZigBee2MQTT solution. This last one only advantage might be to de-couple your ZigBee stuff from Home Assistant itself, if you prefer.
  
-ZHA needs to install it from the add-ons page in your Home Assistent installation, then you can start activating your ZigBee devices and pair them, one at a time.+ZHA needs to install it from the add-ons page in your Home Assistant installation, then you can start activating your ZigBee devices and pair them, one at a time.
  
-=== Pairing ===+=== Coordinator Hardware selection === 
 + 
 +At first i bought a cheap chinese coordinator, which worked fine up to 30 or 40 devices. Then i moved to a nice Sonoff coordinator with an external antenna and a Texas Instrument chipset, which gave me only issues and not a good overall coverage. At last i choose to move to a Home Assistant Green appliance and purchased the associated recomended //Home Assistant Connect ZBT-1// device. 
 + 
 +So far, the ZBT-1 has proven to be the **best** coordinator i have tried. YMMV. 
 + 
 +=== Naming Convention === 
 + 
 +I name my ZigBee devices in Home Assistant with the following scheme: "[**TYPE**][**FLOOR**][**ROOM**].[**number**] - [[**name**]": 
 +  * TYPE: two letters code to identify the type of device (like LT for lights, SW for switches, TM for temperature sensors, and so on) 
 +  * FLOOR: 0, garden. 1 ground floor. 2 first floor, 3 roof... 
 +  * ROOM: 1 to X, where 1 is the leftmost room and N the rightmost room of the floor 
 +  * number: when more than one type of device is in the room, identify each one. 
 +  * name: human readable name like "main light of bedroom"
 + 
 +With this approach, it's easy to remeber where the devices are located for future maintenance. I also write with a good marker on the device itself, or on a label attached to it, so that when more than one device is closeby located, like mulitple smart-plugs or swiched, it's easy to identify them. 
 + 
 + 
 +=== Pairing / Reset ===
  
 Each ZigBee device usually has a way to start pairing, you should refer to each device manual. In my experience the folling solutions will work: Each ZigBee device usually has a way to start pairing, you should refer to each device manual. In my experience the folling solutions will work:
Line 154: Line 172:
 Start pairing one a time and not more than one device simoutaneously or things can get messy. Also, pair your dedicated repeaters first, AC powered devices second, and end-devices last. Start pairing one a time and not more than one device simoutaneously or things can get messy. Also, pair your dedicated repeaters first, AC powered devices second, and end-devices last.
  
 +Occasionally you might have to reset the odd cheapo device, specially after a blackout, in order to get it working again.
  
 === Grouping === === Grouping ===
Line 163: Line 182:
  
 ZHA provides a nice graph view to visualize your ZigBee Mesh network. From this view, you can appreciate how your ZRs are partecipating in the mesh and you can use it to understand where and how to add ZRs or move devices around for a more logical mesh distribution. ZHA provides a nice graph view to visualize your ZigBee Mesh network. From this view, you can appreciate how your ZRs are partecipating in the mesh and you can use it to understand where and how to add ZRs or move devices around for a more logical mesh distribution.
- 
  
 === Usage === === Usage ===

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information