Z2M Device Tracker

Devices and history

The Devices tab lists every device the tracker knows about, including ones that have left the network and ones on a network the app no longer listens to.

The device list

The device list with search, filter chips and area grouping

Search matches a device's name, former names, Home Assistant name, area, network, IEEE address, note and asset details. It also matches the vendor and model as the list shows them (Tuya for _TZ manufacturers), the Zigbee model ID, the device type (router or end device) and the kind of device (bulb, plug, door and so on). Type several words to find devices that match all of them.

The filter chips narrow the list. Each chip's count follows the search, so you can see where the matches are:

FilterShows
AllEvery device still on a network the app listens to.
Needs attentionDevices that are offline, unidentified or have a warning. Stored devices are left out.
OfflineDevices their network reports as unavailable.
UnidentifiedDevices that joined but whose interview never completed.
BatteryDevices that report a battery level.
CriticalDevices marked as critical. Only shown when you have one.
StoredDevices put away in storage. Only shown when you have one.
Removed or not listened toDevices that are no longer in their network, and devices of a network the app doesn't listen to. See Removed devices.

If a search finds nothing under the chip you're on but finds devices under All, the empty list offers Show N matches in All.

Group by area splits the list by room. Click a column heading to sort by name, area, model, status, battery, signal or last seen. On narrower screens the Model column is dropped so Last seen is never cut off. With the side panel open, the arrow keys move up and down the list.

On a phone, the battery and signal columns are hidden and shown in each row's second line instead. The sidebar's four tabs (Health, Devices, Network and Upkeep) move to a bar at the bottom of the screen.

Ticking devices

Each row starts with a checkbox. Tick devices to get a bar of actions for them: Compare (exactly two devices), Print labels, Store and Add to group (see Stored devices).

A device's page

A device's History tab: its names and logbook

Open a device and it gets its own full-width page. The top shows its name, area, network, model and IEEE address (with a copy button), then one line of facts: Status, Last message, Battery (with days left, when there's an estimate) and Link quality with its unit, for example "110 of 255 · good".

If the device has a problem, the main one is next, with what it means and its main action. A low battery shows Battery replaced straight away, a frozen reading shows Reconfigure. Any other problems are listed under it, each with its own actions.

Devices at the top left, Esc, or any of the main tabs takes you back to where you were in the list. The address in the browser links straight to the device, so you can bookmark it. On a phone the sections stack.

The page's tabs are Overview, Timeline, Messages, Community and Notes.

Overview shows the device's sections as cards side by side:

CardWhat's on it
When it alertsHow long this device takes to alert, step by step, and its expected reporting. See When this device alerts.
Link qualityLink quality now, its 24-hour average and the previous week's, a chart, the route through the mesh to the coordinator from the last routing scan, and availability: 30-day uptime and the latest outages.
BatteryOnly for battery devices. See Batteries.
Readings and reportingCommands, Reporting, monitored readings with when each last changed, Limits for this device, and any checks you've ignored for it, each with Stop ignoring.
AboutModel, description, type, power source, firmware, first seen, IEEE address, Zigbee model ID, radio maker (worked out from the address, useful for devices Zigbee2MQTT couldn't identify), Home Assistant name and interview state. Then the Critical device and Stored switches, a firmware update when one is available, Traffic and bindings and Capabilities (folded), and the device's actions.
TrendsLink quality and battery over time. See Trends.

The other tabs:

TabWhat's on it
TimelineThe logbook first: joins, leaves, renames, interviews, reconfigures, firmware updates, battery changes, maintenance done, reporting changes, changes to its options in Zigbee2MQTT, and bindings added, removed, restored or unbound. Repeats are folded into one line, so eleven scans through the same router are one entry. Then every name the device has had, and its replacements. For an end device, the logbook also shows the router it connected through in each recent routing scan, and the one with the best link.
MessagesThe last 50 messages to and from the device. Zigbee2MQTT devices only.
CommunityWhat other users think of this model. See Community ratings.
NotesFree-text notes, asset details and maintenance tasks. Forget device is at the bottom.

A link elsewhere in the app that points at a device's health, trends, info or battery opens Overview at that card.

Side panel and pop-up

If you'd rather keep the list in view, choose Side panel or Pop-up dialog under Settings → Device details instead of Full page. The side panel sits next to the list on wide screens; phones get the pop-up. Both show the same sections as tabs: Info, Health, Trends, History, Battery, Messages, Community and Notes.

Actions

From a device you can:

Reconfigure, rename, firmware updates, ping, change router, replace and the Messages tab need Zigbee2MQTT. They aren't there for ZHA or Matter devices. See ZHA and Matter.

Restoring lost bindings

A device's bindings are under About → Traffic and bindings: its current bindings and any it has lost. Each lost binding has a Restore button, and Restore all appears when there are several. The same button is on the Binding lost problem.

Restoring asks Zigbee2MQTT to re-create the binding. It works for bindings to another device, to a group, or to the coordinator (which it does with a reconfigure). It asks you first, and can take up to a minute per binding. A battery device may be asleep, so press a button on it just before you confirm. The result shows at the bottom of the screen.

The same section shows the device's traffic: messages an hour over the last 6 hours, its usual rate, messages in the last 24 hours, and Zigbee2MQTT's own message, leave and address-change counters.

Critical devices

A critical device's Info tab, with the Critical tag, the Ping button and the Critical device switch

Turn on Critical device in a device's About card for devices that must never fail quietly, such as smoke and leak sensors or the freezer plug. A critical device alerts sooner when it goes offline (after critical_offline_minutes, default 5), sends high-priority phone alerts, and alerts straight away during quiet hours. It has a red Critical tag and its own filter in the device list. See Alerts and notifications.

Stored devices

Some devices are only used for part of the year: Christmas lights, summer garden lights, a fan. While they're unplugged they would show as offline all season. Put them in storage instead.

A stored device keeps its history and its Home Assistant entities, but no check runs on it: no problem on Health, no alert. Its time offline doesn't count against its model's reliability or the community stats. A Stored tag marks it in the list, and the Stored filter lists every stored device.

Settings → Stored devices also lists every device in storage now, each with Bring back.

With Come back by themselves on (storage_auto_resume, the default), a stored device is checked again by itself once it's online after being away: plug the lights back in and they're watched again. A device stored while it's still online must go offline first, so storing lights before you take them down doesn't undo itself. Devices whose availability isn't tracked never come back by themselves. Turn the option off to keep devices stored until you bring them back.

Expected reporting

A device's Health tab: when it alerts, Expected reporting and Limits for this device

Zigbee2MQTT decides when a device is offline: by default after 10 minutes for mains devices and 25 hours for battery devices. The Stopped reporting check is quicker: it flags a device that has sent nothing for longer than its reporting profile allows, even while Zigbee2MQTT still shows it online. You'll find it in the When it alerts card, under Expected reporting.

Learned rhythm

The app learns how often each device reports and how long it normally sleeps, by time of week. A device counts as learned after 7 days and 30 reports. Until then the card says Learning this device with how far it has got, and the profile below applies.

Once learned, the card shows:

Only a device that reports on a steady timer gets a learned limit. A device that reports only when something happens, like a button or a remote, has no silence that says anything is wrong, and the card says so.

Set my own lets you pick the profile yourself. Forget clears everything learned for the device, and learning starts again.

A Stopped reporting alert based on the learned rhythm has a Normal for this device button. It accepts the current silence until the device reports again, then learns it as normal for that time of week.

Learning works for Zigbee2MQTT, ZHA and Matter devices. Turn it off with Learn each device's rhythm in Settings → Checks (learn_rhythm). Gaps keep being recorded while it's off, so turning it back on needs no new learning period.

Reporting profiles

ProfileFlagged after
Auto (learned)A silence longer than it normally is at that time of week. Not flagged until it has been learned.
Reports on change3 hours. For door and window sensors, leak and smoke alarms, buttons: events plus a regular check-in.
Regular1 hour. For sensors that report every few minutes.
Chatty15 minutes. For plugs and bulbs that report all the time.
Custom…Your own time, from 30 seconds to 7 days, in seconds, minutes or hours. The card shows how often the device usually reports; set it a little above that.
OffNever.

A device without a profile of its own uses the Default for its type, set in Settings → Checks → Default reporting profile by device type. A default only starts once the device has shown, over a week, that it reports often enough for it. Until then the card says the default is waiting. Once a device is learned, its learned limit takes over from the default, but never makes it stricter.

A profile you set on a device, and a type default you changed by hand, always win over the learned limit.

The check is skipped while that device's network is offline, so a network outage raises one alert, not one per device. To set a Custom time for many devices at once, see Configuration.

When this device alerts

The When it alerts card shows how long this device takes to alert, step by step: its last message, when Zigbee2MQTT marks it offline (with where that timeout comes from: the mains or battery default, set in Zigbee2MQTT, or set for this device), the offline alert delay, and its expected reporting. See Alerts and notifications.

Limits for one device

A device can have its own Low battery at level (battery devices) and Reading unchanged for time (devices with monitored readings), under Limits for this device in the Readings and reporting card. Each row shows the value from Settings for comparison. Use Settings values removes the device's own limits.

Ping

Mains devices have a Ping button. It reads one attribute (the Basic cluster's ZCL version, the same read Zigbee2MQTT's availability check uses) and shows how long the reply took, for example "Replied in 42 ms", or "No reply in 10 s". Nothing is written to the device. Battery devices sleep, so they have no Ping button.

Every night, the hour after the routing scan (04:00 when networkmap_hour is -1), the app pings each online router once, one at a time, 2 seconds apart. A router's Trends card shows the last 14 nights as Nightly reply time, last 14 days, and the Router getting slower check uses them. 30 nights are kept.

Ping uses Zigbee2MQTT's bridge/request/action API, so it needs Zigbee2MQTT 2.7 or newer. The time includes the trip through MQTT and Zigbee2MQTT, a few milliseconds.

Commands

The Commands section of a device's Health tab: commands, typical reply and missed ones over 7 days

Every command sent to a device is timed: any <name>/set message, from Home Assistant, an automation, a script or anything else. The time runs until the device sends a state message showing what was asked (on, off, a brightness and so on). Commands within 2 seconds of each other count as one. No reply within 10 seconds, or none before the next command, counts as missed.

The Commands section of the Readings and reporting card shows, for the last 7 days, how many commands were sent, the typical (median) reply time and how many were missed, with a chart of the typical reply per day. Commands sent while Zigbee2MQTT marks the device offline aren't counted.

The Slow to respond and Misses commands checks use these times.

Reporting

The Reporting section of a device's Health tab, with a setting that drains the battery and the recommended values

Zigbee2MQTT tells each device when to report its values: no more often than a minimum interval, at least once per maximum interval, and whenever the value changes by a set amount. The Reporting section of the Readings and reporting card lists these in plain words, for example "Temperature: at least every 10 s, at most every 1 h, on a 0.1 °C change".

Settings that need a change are flagged, with the reason and the recommended values:

FlagWhenRecommended
Drains the batteryA battery device with any maximum interval under 5 minutes, or a minimum interval of 0 on a measurement that changes often (temperature, humidity, pressure, illuminance, CO₂, PM2.5, soil moisture). Every report wakes the radio.Maximum 1 h, minimum 30 s, and a 0.2 °C or 1 % change instead of 0. Battery level: 1 h to 12 h.
Floods the meshA mains device reporting power, energy, current or voltage with a maximum interval of 5 seconds or less, or on every change with a minimum interval under a minute. Every router has to carry that traffic.Maximum 1 h, minimum 10 s, and a small change instead of 0.
May go silentA measurement with reporting turned off (maximum interval 65535), or a measurement the device has but no reporting set for it. The second only counts on devices that use configured reporting for something else: many (Aqara, most Tuya) send values without it. A value that changed in the device's other messages over the last 7 days isn't flagged: the section lists it as coming with the device's other reports.Maximum 1 h. For missing reporting, Reconfigure asks Zigbee2MQTT to set up its defaults again.

Recommended values change only the part that's wrong and keep the rest. Use recommended asks first, then sends the change to Zigbee2MQTT and logs a "reporting changed" event. A battery device may be asleep: press its button just before you confirm. When the device's message rate over the last 6 hours backs up a finding, the problem says so.

The Reporting settings check lists every device with a flag. Its Review settings button opens this section. Reporting settings are a Zigbee2MQTT feature.

A device's Trends tab: link quality over 30 days with a daily min–max band, and battery with a replacement and a projection to 10 %

The Trends card shows how a device's signal and battery have changed. Pick 24 h, 7 d, 30 d or 90 d.

A Trends chart showing the date and value under the pointer

Point at a chart, or touch it on a phone, to see the date and value at that spot. This works on every chart in the sidebar.

Under the charts are the average LQI for the range, the LQI trend (change per month, or Steady), and for battery devices the drain per month and the month it reaches 10 %. The projection uses the same estimate as the Battery card, so it needs two weeks of falling readings since the last battery change. See Batteries.

Names and areas from Home Assistant

The tracker links each device to its device in Home Assistant. For a linked device, the area and the name you gave it in Home Assistant come from Home Assistant.

The tracker follows Home Assistant's device, area and entity registries as they change. Rename a device or change its area in Home Assistant, or pair a new one, and the tracker shows it within about 5 seconds. You don't need to restart the app.

A device you've only just paired can have its area set straight away, from Rename or set area or the pairing dialog.

What is recorded

For each device the tracker keeps:

The Activity page shows the same events across all devices, newest first, grouped by day. Open it with All activity on the Health tab. It keeps the latest 3,000 events. When that is full, room is made first from devices with more than 50 events of one kind, such as a device that keeps going offline and online, so one noisy device doesn't push out the history of the others.

Incidents

The Activity tab's Incidents view: related problems grouped with a likely cause

The Activity page can show Incidents instead of All events. Your browser remembers the choice. An incident groups related problems on one network into one row, for example "Likely cause: router Garage plug offline · 23:10–23:40 · 14 devices affected, all back". Open a row to see its events and jump to the devices.

The likely cause is the first of these that fits:

Likely causeWhen
Zigbee2MQTT or coordinator downZigbee2MQTT went offline or restarted.
Router … offlineA router in the incident went down no later than devices that route through it (from the last routing scan), and at least one of them followed.
Network-wide drop (interference or coordinator)3 or more devices dropped within a minute of the start, through 2 or more different routers.
Cause unknownNone of the above.

The last 50 incidents are kept. Incidents don't send notifications.

Effect of an upgrade

When Zigbee2MQTT or the coordinator firmware is upgraded, the tracker compares the network's week before with the week after: devices going offline and leaving, link quality, messages and router changes. The result is on Network → Coordinator under More details. See Effect of an upgrade.

The same section lists changes to Zigbee2MQTT's own settings. See Zigbee2MQTT settings changes.

Reliability by model

Reliability by model: each model with its devices, uptime, dropouts and battery life

Upkeep → Models groups your own devices by vendor and model, over the last 30 days. Each model shows:

The worst models come first. Sort models also sorts by most devices or shortest battery life. Tap a model to list its devices. A model with just one device can't show a pattern, so it's never flagged. Time a device spent in storage doesn't count.

Notes and asset details

The Notes tab has a free-text note (up to 2000 characters) and asset fields: purchase date, shop, price, warranty end date, location and serial number. The note is saved when you leave the field, or with Save note, and a background refresh never clears what you're typing. Notes are a good place for "what is this, where is it, why was it removed?". They are included in the CSV export.

Maintenance tasks

The Maintenance card on the Health tab: overdue and due-soon tasks with Mark done

Maintenance tasks are recurring jobs for a device, such as "Test smoke alarm" every month or "Check door sensor magnet alignment" every year. Add them on the device's Notes tab: a title, how often (1 day to 10 years), when it was last done and an optional note. Smoke, leak, door, motion and radiator devices offer a few suggestions; any text works. A device can have up to 20 tasks.

With the integration, the tasks are also a to-do list and a calendar. See Integration and card.

Tasks are part of the device's history, so they are in backups.

Replacements

A re-paired sensor offered as a possible replacement for the removed device with the same name

The easiest way to swap a device for a new one is the replacement wizard. It moves the name, area, bindings and notes for you, and links the two histories.

If you replace a device yourself and give the new one the same name, the tracker notices that a removed device had that name and shows Possibly replaces … with a Link button on the Timeline tab. Linking:

You can unlink them again from the new device.

Removed devices

The Activity tab, a day-by-day log of joins, renames, removals and outages

A device that leaves stays in the tracker with status Removed, along with its names, notes and history. That's how a device that rejoins later as 0x… can still be recognised: its IEEE address doesn't change, so it picks up its old record. A removed device's page says Removed from Zigbee2MQTT with the date, and has a Forget button right there.

Devices not listened to

When the app stops listening to a network, its devices are frozen and marked Not listened to. That happens when you switch from Zigbee2MQTT to ZHA or back, or remove a base topic from base_topics. They keep their history and show under Removed or not listened to. They get no checks, alerts, MQTT sensors or requests, and they're 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, they pick up where they left off. A device you re-pair onto the other stack moves across and keeps its history. See ZHA and Matter.

Forgetting a device

Forget deletes a device and all its history from the tracker. It's on the Removed from Zigbee2MQTT notice of a removed device, and as Forget device at the bottom of the Notes tab. It asks first and says what goes: former names, events and the note. If the device is still in Zigbee2MQTT, it reappears straight away with an empty history, so only forget a device you never want to see again.

To clear out many removed devices at once, pick the Removed or not listened to chip. A bar above the list offers Forget all N removed devices. It follows the search, so you can narrow the list first, and asks before it deletes anything. It only covers devices removed from their network, not devices of a network the app doesn't listen to.

A forgotten device stays forgotten: a later history import skips it. If it joins the network again, it's tracked as a new device.