Selora Homes Selora Homes Academy

The coordinator and the integration

10 min

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.

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.