Zigbee · Zigbee2MQTT

Zigbee2MQTT Advanced: Groups, Binding, OTA and Backups

The first Zigbee2MQTT install is the easy part. The questions that arrive a month later are different: why do the living room lights ripple on one at a time, how do you make a wall remote work when the server is down, which backups actually let you swap a coordinator, and what broke when an update moved your group settings. This guide is the day-two manual for Zigbee2MQTT 2.14.3, covering native groups, direct binding, over-the-air updates, the network map, availability, backups, and the adapter changes in the 2.x line that older tutorials have not caught up with. If you are still choosing between Zigbee2MQTT and ZHA, start with the Zigbee2MQTT vs ZHA comparison and come back here once the choice is made.

Published Nov 23, 2026

Native groups: one broadcast instead of twenty commands

A Zigbee group is a feature of the Zigbee network itself. One broadcast command reaches every member at the same moment, so a room full of bulbs changes together instead of rippling through the mesh in the “popcorn” sequence you get when software commands each light in turn. It also cuts mesh traffic: one broadcast replaces a command per device. A Home Assistant light group looks similar on a dashboard but behaves differently underneath, because Home Assistant fans the command out to each device individually.

Create groups in the frontend under the Groups tab, or in configuration.yaml under groups: with a unique numeric ID as the key. Since the 2.0 release, group membership is no longer managed by listing devices in the configuration file — members are added in the frontend, or by publishing a request to zigbee2mqtt/bridge/request/group/members/add. Two practical limits apply: not every device supports groups, and group broadcasts should be kept to roughly one per second at most, so do not drive a large group from a fast automation loop.

Direct binding: control that survives an outage

Binding connects a source device — a remote, a wall switch, a sensor — directly to a target device or group over Zigbee. Once bound, the source controls the target with no help from Zigbee2MQTT, the MQTT broker or Home Assistant, so the light still answers the remote while your server reboots, and dimming is smoother because nothing round-trips through software. Set it up in the frontend on the device’s Bind tab, or by publishing to zigbee2mqtt/bridge/request/device/bind and the matching unbind topic. By default all supported clusters bind; a clusters: list in the payload restricts binding to the ones you name. Binding also configures reporting, so Home Assistant still sees state changes made through the bind.

Two gotchas account for most failed binds. When the target is a group, use the group’s friendly name — the numeric group ID fails. And a battery-powered source usually has to be woken, by pressing a button, immediately before you bind it, or the request fails silently while the device sleeps.

OTA updates without the drama

Zigbee2MQTT updates device firmware over the air, using images from the community zigbee-OTA index that mirrors manufacturer firmware. The frontend OTA tab shows which devices report an update available, and the flow is a check followed by an update, one device at a time — the same flow is available over MQTT through the bridge/request/device/ota_update topics. Work through updates deliberately: read the release notes first because firmware updates change device behavior, charge battery devices to roughly seventy percent or better and wake them before starting, never cut power mid-update, and expect the process to be slow. If update chatter bothers you, the ota.update_check_interval setting stretches the check interval and ota.disable_automatic_update_check: true turns automatic checks off.

The network map: read the mesh before you fix it

The frontend Map tab renders your network on demand — coordinator, routers and end devices, with link quality values between them. The same data is available by publishing to zigbee2mqtt/bridge/request/networkmap. Use it diagnostically: find the end device hanging off a weak link, and you have found where a mains-powered router device belongs. The map is generated when you ask for it rather than animating live, so re-run it after moving hardware and compare the link quality numbers, not the layout.

Availability: useful, optional, and off by default

Availability tracking is opt-in. Nothing publishes availability until you set availability: enabled: true, after which Zigbee2MQTT publishes an online or offline state to zigbee2mqtt/<name>/availability, and Home Assistant turns that into entity availability. The defaults reflect how the two device classes behave. Mains-powered devices are expected to check in every ten minutes and are then pinged; a failed ping marks them offline. Battery devices cannot be pinged, so they are judged on a twenty-five-hour check-in window — fifteen hundred minutes — and marked offline only when they stay silent past it. Per-device overrides and opt-outs are supported, and failed pings back off rather than hammering the network. One caution from the documentation: pinging is heavy work for weak coordinators such as the old CC2530 and CC2531 sticks, which is one more reason those adapters are obsolete.

Backups that actually restore a network

Back up the whole data directory before any coordinator surgery, and know which three files carry the network. configuration.yaml holds the MQTT settings, the network key, PAN ID and extended PAN ID. database.db holds the device list and state. coordinator_backup.json is the file that lets a replacement coordinator adopt the same network, by writing the old coordinator’s IEEE address onto the new hardware following the documented procedure.

The limit matters as much as the files: coordinator backup and restore is implemented only for the zstack and ember adapter drivers. A swap inside one family can keep the network. A swap across families — from a TI-based zstack coordinator to a Silicon Labs ember coordinator, for example — normally means re-pairing every device, so plan the afternoon accordingly and treat adapter family as a long-term decision, not a detail.

Adapters in the 2.x line: ember, not ezsp

Modern configurations set serial.adapter explicitly. The two current drivers are zstack for the TI CC2652 and CC1352 family, and ember for Silicon Labs EmberZNet coordinators. The old ezsp driver name is deprecated in favor of ember, and Zigbee2MQTT logs a warning telling you to migrate if your configuration still uses it. The ember driver requires EmberZNet firmware 7.4 or newer, and it supports NCP firmware only — multiprotocol RCP firmware, the kind that promised Zigbee and Thread from one stick, is not supported. Silicon Labs sticks can be reflashed in the browser with the web flasher, so the firmware step needs no disassembly.

One platform note for long-running installs: 32-bit platforms are deprecated in the current line, and support ends in April 2027 when the minimum Node.js version stops shipping 32-bit builds. A 32-bit Raspberry Pi OS install should plan its move to a 64-bit system rather than discovering the deadline from a failed update.

What 2.0 changed, for anyone following older notes

The 2.0 release in January 2025 is still the source of most “after an update” breakage, because its removals were thorough. The legacy MQTT API is gone: the old bridge/config style topics for binding, groups, network maps and OTA are dead, and everything now flows through bridge/request and bridge/response topics, so scripts and dashboards built on the legacy topics fail silently. Legacy Home Assistant features were removed in the same release. Joining the network can no longer be switched on in configuration.yaml — permit join happens from the frontend or an MQTT request, opens the network for 254 seconds, and closes itself. The frontend, on port 8080 by default, is where most day-two work now happens; the YAML file is increasingly just the bootstrap for MQTT, serial and the network key. The first 2.x start also rewrites your configuration file, strips settings that no longer exist, and logs the changes to a migration log — that rewrite is one-way, and the only rollback is the data backup you took before upgrading. Take it.

Official documentation and references

Frequently asked questions

What is the difference between a Zigbee2MQTT group and a Home Assistant group?

A Zigbee2MQTT group is a native Zigbee group: one broadcast command reaches every member at once, so lights change in sync and the mesh carries one message instead of many. A Home Assistant group sends a separate command to each device, which is why grouped lights can ripple on one at a time. Use native groups for bulbs that must move together.

Does direct binding work when Home Assistant is down?

Yes. A bound remote or switch talks directly to its target device or group over Zigbee, so control keeps working with Zigbee2MQTT, the broker and Home Assistant all stopped. Binding also configures reporting, so Home Assistant still sees the resulting state changes once it is running again.

Why is availability not showing for my devices?

Availability is off by default and must be enabled with availability: enabled: true. Mains-powered devices are then judged on a ten-minute check-in plus a ping, while battery devices are judged on a twenty-five-hour check-in window and are never pinged.

Which files do I need to back up before swapping a coordinator?

The whole data directory, and in particular configuration.yaml for the network key and PAN IDs, database.db for the device list, and coordinator_backup.json, which lets a replacement coordinator adopt the same network. Backup and restore is implemented only for the zstack and ember drivers; a cross-family swap normally means re-pairing every device.

Should my configuration use ezsp or ember?

Ember. The ezsp driver name is deprecated in favor of ember for Silicon Labs coordinators, and Zigbee2MQTT warns you to migrate. The ember driver needs EmberZNet firmware 7.4 or newer and NCP firmware only — multiprotocol RCP firmware is not supported.

Why did my scripts break after the 2.0 upgrade?

The legacy MQTT API was removed in 2.0. Binding, groups, network maps and OTA now use bridge/request and bridge/response topics, and the old bridge/config topics do nothing. Permit join also left the configuration file: joining runs from the frontend or a request, for 254 seconds at a time.

Related guides