ZHA and Matter
The app reads Zigbee2MQTT by default. It can also read Home Assistant's ZHA integration and its Matter integration. Both are in beta, so please report anything that looks wrong.
Choosing what the app reads
Three switches on the app's Configuration tab choose the sources. Any mix can be on. Restart the app after changing one.
| Option | Default | What it reads |
|---|---|---|
zigbee2mqtt | true | Your Zigbee2MQTT networks, one per entry in base_topics, over MQTT. |
zha | false | Home Assistant's ZHA integration. |
matter | false | Home Assistant's Matter integration, over Thread or Wi-Fi. |
Each source shows as its own network: ZHA as ZHA, Matter as Matter, next to your Zigbee2MQTT networks. The tools that need Zigbee2MQTT stay available for the Zigbee2MQTT devices.
ZHA and Matter are read through Home Assistant, not MQTT. If you turn off zigbee2mqtt and only read ZHA or Matter, no MQTT broker is needed.
Both are read-only. The app never sends anything to ZHA, Matter or your devices.
Older installs had a single zigbee_stack option. It is replaced by these switches. An install set to zigbee_stack: zha keeps reading ZHA only until you change one of the switches.
ZHA (beta)
Turn on zha and restart the app. Turn off zigbee2mqtt as well if you don't run Zigbee2MQTT.
What works with ZHA
- The device list and its history: added, removed, renamed and rejoined.
- Last seen, and online and offline with offline alerts. ZHA's own availability timeouts decide when a device is offline; the offline alert delay applies on top.
- Link quality, with the weak and dropping signal checks, and the Link quality stuck check.
- Battery level, low battery alerts and battery predictions.
- Device joined and Device left alerts. ZHA sends no join or leave events, so the app raises them when a device appears in or goes from ZHA's device list.
- The mesh map, from ZHA's neighbour scans. ZHA runs these by itself every few hours. The app takes a new map when the mesh has changed and settled, or once a day. See Network map.
- The radio channel view.
- The learned rhythm and Stopped reporting. The timing is to the nearest minute, because the app polls ZHA.
- Matching devices to Home Assistant areas and names.
ZHA doesn't report RSSI on every coordinator.
Zigbee2MQTT only
These parts need Zigbee2MQTT. They don't work for ZHA devices, and are hidden when the app reads no Zigbee2MQTT network:
- firmware updates, reporting settings, pairing, bindings and replacing a device;
- ping, renaming from the app, sending commands, and the network scan button;
- the Coordinator, Broker and Groups sections, Zigbee2MQTT health and settings, retained messages and broker statistics;
- the Messages tab on a device's page;
- the MQTT sensors the app adds to each device (
ha_entities); - importing Zigbee2MQTT history.
When the app reads ZHA only, base_topics and z2m_panels are ignored, and Settings → Checks lists only the checks that can fire with ZHA.
The first time the app starts with ZHA only, it removes the sensors it made over MQTT while it read Zigbee2MQTT, so they don't stay in Home Assistant as unavailable. That is the only time it talks to the broker. If there is no broker any more, it skips this.
Matter (beta)
Turn on matter and restart the app. The app reads Home Assistant's Matter integration once a minute.
For each Matter device you get:
- its history: added, removed and renamed;
- when it last reported, and online and offline with offline alerts;
- battery level and forecasts;
- the learned rhythm and Stopped reporting;
- its own page, with a link to its Home Assistant device page, where its area, name, Battery Notes and the automations that use it are.
A device's last report is the newest time any of its sensors or switches reported to Home Assistant. It counts as offline when every one of its entities is unavailable. A light or plug that only reports when it is used will look quiet. If it shouldn't be checked for silence, set its reporting profile to Off on its page.
With a recent Matter server (Home Assistant's Matter Server app 9 or newer), the app also reads each device's role and, for Thread, the links between devices for the map. A new map is stored when the links change, or once a day. If the Matter server returns an error, the app asks again ten minutes later.
Matter devices have no IEEE address, so the app gives each one a tracker ID made from its Matter ID. It starts 0xff4d and shows on the device's page.
Zigbee2MQTT's tools (firmware updates, reporting settings, pairing, bindings, replacing and reconfiguring) aren't available for Matter devices.
Networks the app no longer listens to
Turn a source off, or remove a base topic from base_topics, and its devices are frozen. They keep their history and stay in Devices under Removed or not listened to, marked Not listened to.
A frozen device gets no checks, alerts, MQTT sensors or requests. It is left out of Upkeep, the weekly summary, the Prometheus metrics and the integration's counts and cards.
If the app listens to that network again, its devices pick up where they left off. A device you re-pair onto another stack, from Zigbee2MQTT to ZHA for example, moves across and keeps its history.
The Forget all N removed devices bar on the Removed or not listened to chip doesn't touch frozen devices. Forget one by hand if you don't want it any more.
Integration actions
The integration finds ZHA and Matter devices in Home Assistant's device list, so its cards and sensors include them.
| Action | ZHA and Matter devices |
|---|---|
z2m_tracker.battery_replaced | Yes |
z2m_tracker.mute_device | Yes |
z2m_tracker.add_note | Yes |
z2m_tracker.reconfigure | No: Zigbee2MQTT devices only |
z2m_tracker.ota_update | No: Zigbee2MQTT devices only |
Given a ZHA or Matter device, the last two say they only work with Zigbee2MQTT devices. See Integration and card.