Skip to content

Installation

tempus2016 edited this page Nov 16, 2026 · 3 revisions

Installation

Install the app first. The integration is optional and only talks to the app.

The app

Add repository

  1. Go to Settings → Apps → App store → ⋮ → Repositories and add https://github.com/tempus2016/z2m-device-tracker. The button above does this for you.
  2. Find Z2M Device Tracker in the store, choose Install, then Start.
  3. Open Zigbee Tracker from the sidebar.

The app needs an MQTT broker, the same one Zigbee2MQTT uses. Normally that's the Mosquitto broker app with the MQTT integration: the app picks up its address and login from Home Assistant, so there is nothing to enter. For a broker elsewhere, such as Mosquitto on another server or in Docker, set it in the app's options instead. See Configuration.

First start

On first start the app:

  • subscribes to zigbee2mqtt/# and reads the device list Zigbee2MQTT publishes;
  • waits up to two minutes for every network's device list, then imports older history from Zigbee2MQTT's files and Home Assistant's registries;
  • takes note of any problems that already exist without alerting on them, so you aren't flooded on day one. From then on, only new problems send alerts.

More than one Zigbee2MQTT, or a different base topic

If your Zigbee2MQTT doesn't use the zigbee2mqtt base topic, or you run several instances, open the app's Configuration tab and list every base topic under base_topics, then restart the app. See Configuration.

Supported hardware

amd64 and aarch64.

The integration (optional)

The integration adds five summary sensors, a battery to-do list and calendar, actions for automations, four dashboard cards, and Repairs issues you can fix from Home Assistant. See Integration and card for what each one does.

Open in HACS

  1. In HACS, go to ⋮ → Custom repositories and add https://github.com/tempus2016/z2m-device-tracker as type Integration.
  2. Download Z2M Device Tracker and restart Home Assistant.
  3. With the app running, Settings → Devices & services shows Z2M Device Tracker under Discovered. Choose Add. (Or go to Add integration and pick Z2M Device Tracker.)
  4. The app's address is filled in for you. Choose Submit.

The integration needs Home Assistant 2025.1 or newer. Only one copy can be set up.

You don't need the integration for alerts or for the per-device entities: the app sends alerts itself and adds entities through MQTT discovery. See Home Assistant entities.

Updating

  • App: Home Assistant shows an update on the app's page when a new version is out. The history is kept across updates.
  • Integration: update from HACS, restart Home Assistant, then hard-refresh the browser (Ctrl/Cmd + Shift + R) so the new card loads.

Keep the app and integration on the same version. From 1.4.0 the app only answers the integration when it sends the app's API token, which Home Assistant receives from the app automatically. An integration older than 1.4.0 has no token and shows the app as unreachable, so update both.

Removing it

  1. Delete the integration under Settings → Devices & services, then remove it in HACS.
  2. In the app's Settings tab, turn off Add entities to Zigbee devices and wait a minute. This removes the tracker's entities from your Zigbee devices.
  3. Uninstall the app. Uninstalling deletes the stored history, so download a backup first if you might want it back.

Clone this wiki locally