Z2M Device Tracker

Troubleshooting

The app's Log tab (Settings → Apps → Z2M Device Tracker → Log) is the first place to look. It logs MQTT connection, alerts, settings changes, imports and routing scans. With the app in Docker, run docker logs z2m-tracker.

For problems with ZHA or Matter devices, see ZHA and Matter first.

No devices appear

A second Zigbee2MQTT network is missing

Add its base topic to base_topics and restart the app. Each instance needs its own base topic.

Devices show as Not listened to

They're from a network the app no longer reads: a base topic you removed from base_topics, or the other Zigbee stack after you switched. They keep their history under Devices → Removed or not listened to, but get no checks, alerts or entities. Turn that network back on and they pick up where they left off.

A device stays Offline, but it works

Alerts don't arrive

See Alerts and notifications for pauses, quiet hours and router outages.

The map is empty, or a device is missing from it

A device says Stopped reporting, but it works

Its expected reporting limit is shorter than the gaps between its messages. Some devices only report when a value changes.

There's no Ping button, or Ping never replies

The Coordinators card shows no memory or MQTT traffic

That comes from the health messages Zigbee2MQTT 2.5 and newer sends, every 10 minutes by default. Update Zigbee2MQTT, and check its health interval in Zigbee2MQTT under Settings → Settings → Health → Interval. Until the first message arrives, the card says there's no health data yet, and the Zigbee2MQTT memory check can't run.

The tracker's entities aren't on my Zigbee devices

The integration can't connect to the app

When you set up the integration or use Reconfigure, it asks the app first and shows an error on the form if that fails:

If the integration is already set up and its sensors go unavailable:

See Integration and card.

The sidebar page says it can't sign in (Docker)

The web UI stays locked until UI_PASSWORD is set (8 characters or more). After 5 wrong passwords it says Too many wrong passwords. Wait 15 minutes, then try again. Behind a reverse proxy, set TRUSTED_PROXIES to the proxy's address or network, so wrong passwords are counted for each visitor. Without it, every visitor shares the proxy's address and one person's mistakes lock everybody out.

The history came back from a spare copy

Each save keeps the previous file as history.json.bak. If history.json can't be read when the app starts, for example after a disk fault, the app loads that copy and tells you with a notification in Home Assistant. At most the last few minutes of readings are missing. The unreadable file is kept as history.json.corrupt-<time>. If neither file can be read, the app starts with an empty history; restore a backup from Backup and data.

A device list was held

If Zigbee2MQTT sends a device list without more than half of a network's devices, Activity (from Health) shows device list held and nothing is removed. The list is applied if it arrives again at least 5 minutes later; Zigbee2MQTT sends it again whenever a device changes or Zigbee2MQTT restarts. This stops one stray message from marking every device removed. If you really removed most devices at once, restart Zigbee2MQTT after 5 minutes.

"Custom element doesn't exist: z2m-tracker-card"

The integration loads the card. Check the integration is set up and loaded, then hard-refresh the browser (Ctrl/Cmd + Shift + R). In the companion app, clear the frontend cache.

A dashboard card opens the wrong page, or a page that doesn't exist

The cards link to the app's sidebar page at /app/..., which only exists with the App store. With the app in Docker, set the card's panel option to the path of your Webpage dashboard, for example /z2m-tracker. See Integration and card.

A dashboard card stops updating

Update the integration. Before 2.6.0 the cards stopped updating after the integration's options were changed, until the page was reloaded.

A reconfigure or update fails

Battery devices sleep and miss requests. Press a button on the device just before you try, and keep it close to a router. The error from Zigbee2MQTT is shown in the message and in the device's logbook.

Reconfigure and firmware updates are Zigbee2MQTT tools. The z2m_tracker.reconfigure and z2m_tracker.ota_update actions refuse ZHA and Matter devices.

A firmware update was skipped

Upkeep → Updates says why next to the device:

If the overnight run doesn't seem to start, check the line at the top of Updates. It says when the next run is, or that the window isn't valid. See Firmware updates.

An update that takes over an hour isn't a failure. The app keeps waiting, up to 8 hours, while Zigbee2MQTT reports progress.

An area or name doesn't match Home Assistant

The tracker follows Home Assistant's device and area registries and catches up within about 5 seconds of a change. If it doesn't:

A binding won't restore

Battery devices need to be awake. Press a button on the device, then choose Restore straight away. A binding to a group fails if the group no longer exists in Zigbee2MQTT. The reason is shown at the bottom of the screen.

The sidebar is in the wrong language

It follows the language in your Home Assistant profile. To choose another, go to Settings → Appearance & data → Language. That choice is saved per browser, so set it on each one. If your language isn't available yet, the sidebar uses English. See Configuration.

A dashboard card is still in English

A detected battery change was wrong

Some devices report battery levels that jump around, and the app counts a jump of 25 points or more in a day as a new battery. Turn on Settings → Batteries → Ask before recording to confirm each one, turn off Detect battery changes, or turn on Battery level unreliable in the Battery card on that device's page. See Batteries.

A forgotten device came back

Update the app. Before 2.7.0 a history import could bring a forgotten device back. Now an import skips forgotten devices. A forgotten device that joins the network again is tracked as normal.

Still stuck

Use Settings → Help & feedback in the app. Choose Report a bug or Request a feature and fill in the form. The app adds your versions, setup and recent warnings, with device names, IEEE addresses, e-mail addresses, tokens and phone notify services taken out. Turn off Include my setup or Include recent app warnings to leave them out. Search issues checks whether someone has reported it already. Open on GitHub opens the filled-in issue in a new tab; nothing is sent until you post it there, and you need a GitHub account. If the text is too long for a link, use Copy as Markdown and paste it into a new issue.

If you use the integration, attach its diagnostics file to the issue.