The coordinator and the integration
10 min Read in this browser
You will be able to
- Prepare a supported coordinator for a Selora Hub
- Choose between ZHA and Zigbee2MQTT, and set the channel
The coordinator is usually a USB dongle on the Selora Hub (or a PoE coordinator on the network, see Channels and interference). The public setup guide lists the supported ones: Home Assistant Connect ZBT-1 and ZBT-2, Sonoff ZBDongle-P and -E, ConBee II and III, and other CC2652 or EFR32 radios.
Zigbee firmware, not Thread
Several of these dongles can run either Zigbee or Thread firmware. The ZBT-2 runs one at a time; the ZBT-1 has an experimental multiprotocol firmware that runs both, but it isn't reliable enough for a customer's home, and Selora doesn't use it: one protocol per radio. A dongle that was used for Thread, or shipped with Thread firmware, must be flashed back to Zigbee before you set up the network. A home that needs both Zigbee and Matter over Thread needs two radios.
ZHA or Zigbee2MQTT
Home Assistant offers two Zigbee integrations:
- ZHA is built in, with nothing else to install. It is the default for standard residential installations.
- Zigbee2MQTT runs as an app (formerly add-on) beside an MQTT broker app (Mosquitto). It gives deeper per-device settings and wider firmware-update coverage, at the cost of two more apps to maintain.
Use ZHA unless a device the customer needs is only properly supported by Zigbee2MQTT. The public comparison guide has the details.
Set the channel first
The channel is chosen when the network is formed. Settle it before pairing anything:
- ZHA forms the network by itself, with its default channel, as soon as it is configured. Check it under Settings → Connectivity → Zigbee → Network information, and change it there if it isn't clear of the Wi-Fi (its "Smart" option scans and prefers 15, 20 and 25).
- Zigbee2MQTT reads
advanced: channel:from its configuration. Its default, 11, sits right under Wi-Fi channel 1: change it before the first start.
Once devices are paired, changing the channel is risky: some devices don't follow.
Backups
The coordinator holds the network's identity and keys. ZHA keeps a backup of the network automatically, and Zigbee2MQTT writes one next to its configuration; both travel with the Selora Hub's backups.
Replacing a coordinator with that backup keeps the network and almost every device: ZHA's radio migration works across radio types, but Zigbee2MQTT restores its backup only onto TI (zStack) or Silicon Labs (Ember) sticks. Expect to pair the odd device again. Without a backup, pair them all again.
Coordinator
The Zigbee device that creates the network, chooses its channel and holds its keys: the Hub's Zigbee radio, on USB or on the network.
PoE
Power over Ethernet: power and network on one cable, from a PoE switch or injector, at about 50 V DC. Standards 802.3af, 802.3at (PoE+) and 802.3bt (PoE++) give more power each.
Zigbee
A low-power 2.4 GHz mesh network for sensors, switches and bulbs. The Hub joins it through a USB or network coordinator.
Thread
A low-power IPv6 mesh network for small devices, on the same 2.4 GHz radio channels as Zigbee. Matter devices often use it.
Matter
A standard for smart home devices to work with any controller, on the local network. It runs over Wi-Fi, Ethernet or Thread.
Integration
The part of Home Assistant that connects one brand or protocol, such as Sonos, Lutron Caséta or Frigate, and brings its devices in.
ZHA
Zigbee Home Automation: Home Assistant's built-in Zigbee integration.
Zigbee2MQTT
A Zigbee app that runs beside Home Assistant and talks to it over MQTT. It gives deeper per-device settings than ZHA, at the cost of two more apps to maintain (it and the MQTT broker).
MQTT
A lightweight messaging protocol. Devices and services publish messages to a broker, which passes them to whoever subscribed: Frigate tells Home Assistant what it detects this way.
Go further on selorahomes.com
What you read is saved in this browser only. Sign in to keep it in your account, take the quizzes and get certified.
This lesson by Selora Homes is licensed CC BY 4.0 : share and adapt it, even commercially, crediting Selora Homes with a link. Photos by others keep their own licences, as credited.