Configuration
Most settings live in the app's Settings, behind the gear at the top of the sidebar. The firmware update options are under Upkeep → Updates. Changes there take effect straight away and are saved back to the app's configuration, so the two always match.
On a wide screen, Settings lists its sections down the left. Settings that depend on a switch stay hidden until it is on.
Some options can only be set on the app's Configuration tab (Settings → Apps → Z2M Device Tracker → Configuration): the sources, base_topics, z2m_panels, alert_actions, alert_on_join, networkmap_timeout_minutes, expected_outages, the MQTT broker options and metrics_token. Restart the app after changing any of them.
With the Docker image, the options live in /data/options.json instead. Edit the file and restart the container. See Installation.
Sources
| Option | Default | What it does |
|---|---|---|
zigbee2mqtt | true | Read your Zigbee2MQTT networks (the base_topics) over MQTT. |
zha | false | Read Home Assistant's ZHA integration (beta). Can be on together with zigbee2mqtt. |
matter | false | Read Home Assistant's Matter integration (beta). |
Any mix can be on. See ZHA and Matter.
zigbee_stack is the older single choice, replaced by these switches. An install still set to zigbee_stack: zha keeps reading ZHA only until you change one of the switches.
Networks
| Option | Default | What it does |
|---|---|---|
base_topics | zigbee2mqtt | The MQTT base topic of each Zigbee2MQTT instance to track. Add one line per instance. Spaces are kept, so a base topic that ends in a space works; in the YAML editor, quote it: - "Z2MQTT ". |
z2m_panels | empty | Links to each Zigbee2MQTT app's web interface, one per network, as base_topic=app_slug. |
A network's name in the tracker comes from its base topic. zigbee2mqtt shows as Main. Others drop the zigbee2mqtt_ prefix, so zigbee2mqtt_garage shows as Garage. ZHA and Matter show as ZHA and Matter.
The app slug for z2m_panels is in the Zigbee2MQTT app's address bar, after /app/. For example:
base_topics:
- zigbee2mqtt
- zigbee2mqtt_garage
z2m_panels:
- zigbee2mqtt=45df7312_zigbee2mqtt
- zigbee2mqtt_garage=45df7312_zigbee2mqtt_garage
With panels set, the Networks row in Settings → Appearance & data shows a button that opens each Zigbee2MQTT interface.
If you remove a base topic, or turn a source off, its devices are kept but frozen. See Networks the app no longer listens to.
Notifications
| Option | Default | Settings | What it does |
|---|---|---|---|
alerts_enabled | true | Send alerts | Master switch. Off sends nothing, including the summaries, but keeps your other choices. With the integration, Settings → Repairs stays empty while it's off. |
persistent_notifications | true | Home Assistant notifications | Shows alerts in Home Assistant's notification panel. They clear themselves when the problem is fixed. |
fire_events | true | Automation event | Fires a z2m_tracker_alert event for each alert. |
ha_repairs | true | Show problems in HA Repairs | With the integration installed, lists problems in Home Assistant's Settings → Repairs. Turning it off here or in the integration's options keeps Repairs empty. |
notify_service | empty | Mobile notifications | Also sends alerts to a notify action, for example notify.mobile_app_your_phone. Only notify. actions are accepted; a bare name like mobile_app_your_phone gets notify. added. |
alert_actions | true | (Configuration tab only) | Adds Mute 24 h, Ping and Battery replaced buttons to alerts sent to the notify action, and opens the device when the alert is tapped. Turn it off if your notify action isn't the Companion app and rejects the extra data. |
alert_on_join | true | (Device joined check) | Alerts when a new device joins. Same as setting Device joined to Notify. |
quiet_hours | false | Quiet hours | Holds alerts during quiet hours and sends one summary when they end. Critical devices still alert straight away. |
quiet_start / quiet_end | 23:00 / 07:00 | From … to | Quiet hours as HH:MM, in the app's time zone. The window can cross midnight. |
escalate_enabled | false | Escalate unanswered alerts | Sends an alert again to a second notify action when nobody mutes, pings or fixes the problem in time. Each problem escalates once. |
escalate_hours | 2 | Escalate after | How long an alert can go unanswered before it escalates, 1–168 hours. |
escalate_service | empty | Send to | The second notify action, for example notify.mobile_app_partner_phone. Escalation needs one. |
escalate_critical_only | true | Only for critical devices | Only escalate alerts for devices marked Critical device. |
All of these are in Settings → Notifications, apart from the two marked otherwise. See Alerts and notifications for what each alert contains, quiet hours and escalation.
To pause alerts for a while, for example during Zigbee2MQTT work, use ⋮ → Pause alerts. It isn't an option; see Alerts and notifications.
Summaries
| Option | Default | Settings | What it does |
|---|---|---|---|
weekly_summary | true | Send a weekly summary | Sends one message a week: what needs attention, batteries to buy, new and removed devices. |
summary_day | 0 | Summary day | Day to send it, 0 = Monday to 6 = Sunday. |
summary_hour | 9 | Summary hour | Hour to send it, 0–23, local time. The daily summary uses the same hour. |
daily_summary | false | Send a daily summary | One short message a day: what needs attention, what's new and what cleared since yesterday. Skipped on days with nothing to report, and on the day the weekly summary goes out. |
These are in Settings → Weekly summary. Send one now and Send today's now send a summary straight away. See Alerts and notifications.
Checks

| Option | Default | What it does |
|---|---|---|
disabled_checks | empty | Checks to turn off completely. |
notify_checks | see below | Checks that send an alert. Checks not listed here (and not disabled) still show on Health. |
learn_rhythm | true | Learn each device's rhythm: works out how often each device reports and how long it normally sleeps, and flags Stopped reporting only when a silence is unusual for it. |
expected_outages | true | (Configuration tab only.) Don't alert when a network goes offline at the time it does most days, such as a nightly Zigbee2MQTT restart. false alerts every time. |
In Settings → Checks each check has one dropdown: Off, Show in Health or Show and notify. Event checks (joined, left, interview failed) only have Off and Notify. When the app reads only ZHA, the list shows only the checks that can fire with ZHA.
The default notify_checks are battery_low, frozen, interview_failed, joined, late, left, network_offline, offline, pairing_open, silent, unidentified and weak_signal. Every other check shows on Health only, and sends alerts once you set it to Show and notify. The check keys are listed on Health checks.
The same section holds the Default reporting profile by device type, for devices without a profile of their own.
With learn_rhythm off, learned limits stop flagging anything. Gaps keep being recorded, so turning it back on needs no new learning period. See Health checks for how a device's rhythm is learned and how expected outages are spotted.
Thresholds
| Option | Default | Range | Settings | What it does |
|---|---|---|---|---|
offline_alert_minutes | 60 | 0–10080 | Offline alert delay | Extra wait after Zigbee2MQTT (or ZHA) marks a device offline, before it's flagged. Zigbee2MQTT only marks it offline after its own timeout (10 min for mains devices, 25 h for battery devices by default), so with 60 a mains device alerts about 70 min after its last message. |
critical_offline_minutes | 5 | 0–1440 | Critical device offline for | The same, for devices marked Critical device. |
alert_repeat_hours | 24 | 0–168 | Hold repeated alerts for | After a low battery, weak signal or signal drop alert has cleared, how long before the same alert may be sent again for that device. 0 sends it every time. Offline alerts are never held back. |
frozen_alert_hours | 24 | 0–720 | Reading unchanged for | How long a reading can stay identical, while the device keeps reporting, before it counts as frozen. 0 turns the check off. |
battery_alert_percent | 15 | 0–100 | Low battery at | Battery level at or below which a device is flagged. |
chatty_per_hour | 1200 | 60–36000 | Chatty above | Messages an hour, averaged over 6 hours, above which a device is flagged as chatty. |
A device can have its own low battery level and frozen reading time, under Limits for this device on its page. See Devices and history.
Expected reporting for many devices
Expected reporting is set per device, on its page. To set it for many devices at once, go to Settings → Thresholds → Expected reporting and select Set for many devices….
- Pick Mains devices, Battery devices or both. Only devices with no setting lists only devices that don't have one yet.
- Pick a multiplier: 2×, 3×, 5× or 10×. Each device gets its Usual gap between messages times the multiplier, rounded up to a tidy value such as 3 min, 30 min or 6 h. The usual gap comes from the last week's message counts, or the last 6 hours for a device with less history.
- Untick any device you want to leave alone, then select Apply. Turn off clears the setting on the ticked devices instead.
Some devices start unticked:
- reports on change: devices that only send when something happens, such as door sensors, buttons and plain switches. A device counts as this when it has no regular reading (temperature, humidity, pressure, power, energy, air quality, light level or soil moisture).
- not enough data: devices with too few messages to tell how often they report.
Limits
These set what the Impossible readings check accepts. They are in Settings → Limits.
| Option | Default | Range | What it does |
|---|---|---|---|
impossible_temp_min / impossible_temp_max | -30 / 60 | -100–100 | Believable temperature, in °C. |
humidity_stuck_hours | 6 | 1–168 | Humidity stuck at 0 or 100% for: how long humidity must stay at exactly 0 or 100% before it's flagged. |
Batteries
| Option | Default | Settings | What it does |
|---|---|---|---|
battery_auto_detect | true | Batteries → Detect battery changes | Records a battery change when a device's battery level jumps up by 25 points or more in a day. Off records changes only when you mark them with Battery replaced. |
battery_confirm_detected | false | Batteries → Ask before recording | A detected change waits in the Battery card on the device's page until you Confirm or Dismiss it. |
battery_shop_url | empty | Battery brands → Shop link | Store search address for the cart buttons in Batteries to buy, with {type} where the battery type goes, for example https://www.amazon.co.uk/s?k={type}. Any shop works. Empty hides the buttons. No affiliate tags are added. |
See Batteries.
Stored devices
| Option | Default | Settings | What it does |
|---|---|---|---|
storage_auto_resume | true | Stored devices → Come back by themselves | A stored device is checked again once it's back online after being away. Off keeps it stored until you bring it back. |
Stored devices are for things you put away for part of the year, such as Christmas lights. See Devices and history.
Routing scan and radio
| Option | Default | What it does |
|---|---|---|
networkmap_hour | 3 | Hour (0–23, local time) of the nightly routing scan. -1 turns the nightly scan off; you can still run one by hand. |
networkmap_timeout_minutes | 60 | (Configuration tab only.) How long to wait for Zigbee2MQTT to finish a routing scan, 5–240 minutes. A network with 100 devices can take over 20 minutes. An answer that comes later is still saved. |
wifi_channels | empty | Your 2.4 GHz Wi-Fi channels, for example 1, 6. Up to six channels from 1 to 14. Used to check your Zigbee channels for overlap. |
These are in Settings → Routing scan. The routing scan is for Zigbee2MQTT; ZHA scans its neighbours by itself. See Network map.
Firmware updates
Set these under Schedule in Upkeep → Updates. They are for Zigbee2MQTT devices only.
| Option | Default | Updates | What it does |
|---|---|---|---|
ota_window | empty | Overnight updates | Time window for installing firmware updates automatically, as HH:MM-HH:MM in local time, for example 02:00-05:00. It can cross midnight. Empty turns automatic updates off. A failed update is tried once more the next night. |
ota_min_battery | 30 | Minimum battery | Battery level (0–100) below which battery devices are skipped by Update now, Update all and the overnight run. Update anyway overrides it for one device. |
A start and end time that are the same aren't a valid window. See Firmware updates.
Broker
| Option | Default | Settings | What it does |
|---|---|---|---|
broker_stats | true | Broker → Read broker statistics | Reads Mosquitto's $SYS/broker/# statistics for Network → Broker. Mosquitto only. |
retained_autoclear | false | Broker → Clear a device's old retained topics after a rename | Clears the retained messages the broker still keeps under a device's old name. Off lists them on Network → Broker for you to clear. |
MQTT broker
By default the app uses the broker Home Assistant offers to apps, the Mosquitto broker app. To use another broker, set mqtt_host and restart the app. These options are at the bottom of the app's Configuration tab. With the Docker image, use the MQTT_* variables instead; see Installation.
| Option | Default | What it does |
|---|---|---|
mqtt_host | empty | Address of your broker. Empty uses the one Home Assistant offers. |
mqtt_port | 1883 | Its port. Usually 1883, or 8883 with TLS. |
mqtt_user / mqtt_password | empty | Login for that broker. Leave empty if it allows anonymous connections. |
mqtt_ssl | false | Connect over TLS. |
mqtt_ssl_verify | true | Check the broker's TLS certificate. Turn off only for a self-signed certificate on a network you trust. |
mqtt_host: 192.0.2.10
mqtt_port: 8883
mqtt_user: z2m_tracker
mqtt_password: your-password
mqtt_ssl: true
Use the same broker as Zigbee2MQTT. The app's Home Assistant entities use MQTT discovery, so they appear only if Home Assistant's MQTT integration is connected to that broker too. Without mqtt_ssl, the login and all Zigbee messages cross your network unencrypted.
If the connection fails, the app's log says why and which option to check. The app doesn't use the broker for ZHA or Matter.
Device names
| Option | Default | Settings | What it does |
|---|---|---|---|
naming_pattern | empty | Device names → Naming pattern | Pattern for device names, for example {area} {type} {n}. Fills in the name of each device that joins while you pair, and drives the Naming check. Empty turns it off. |
The tokens are {area}, {type}, {model} and {n}. See Pairing and moving devices.
Prometheus metrics
| Option | Default | What it does |
|---|---|---|
metrics_token | empty | Token for the Prometheus endpoint, 16 characters or more. Empty keeps the endpoint off. |
The endpoint also needs port 9099/tcp mapped under Network on the app's Configuration tab. See Prometheus metrics.
Home Assistant entities
| Option | Default | Settings | What it does |
|---|---|---|---|
ha_entities | true | Home Assistant entities → Add entities to Zigbee devices | Adds tracker entities to each Zigbee2MQTT device through MQTT discovery. Turning it off removes them. Not used for ZHA or Matter devices. |
Community ratings
| Option | Default | Settings | What it does |
|---|---|---|---|
community_ratings_fetch | true | Community ratings → Fetch new ratings | Downloads the newest ratings from GitHub once a day. Off uses the copy that comes with the app, updated with each release. |
See Community ratings.
Settings that stay in your browser
These are in Settings → Appearance & data but are stored per browser, not in the app:
- Theme.
- Language: see below.
- Device details: open a device as a Full page (the default), in a Side panel next to the list, or in a Pop-up dialog.
The Map also remembers, per browser, whether you last used the graph or the floor plan, and your view options.
Language

The sidebar uses the language in your Home Assistant profile. To use a different one, pick it in Settings → Appearance & data → Language. Automatic goes back to following your profile. The choice is saved in your browser, so each browser can have its own.
Dates, times and "2 days ago" follow the same language.
The sidebar comes in English, Čeština (Czech), Deutsch (German), Español (Spanish), Français (French), Italiano (Italian), Magyar (Hungarian), Nederlands (Dutch), Polski (Polish), Português (Brasil) (Brazilian Portuguese), Русский (Russian), Svenska (Swedish) and 简体中文 (Simplified Chinese). The picker shows each language by its own name. A regional language picks the closest one: Portuguese (Portugal), for example, uses Brazilian Portuguese. If your language isn't there, the sidebar stays in English.
The translations are machine-made, so corrections from native speakers are welcome. New text shows in English until a translation adds it.
The same languages cover the app's options on its Configuration tab, and the integration's setup, options, actions, sensor names and dashboard cards. Those follow your Home Assistant profile language.
Some text always stays in English: Home Assistant notifications, the summaries, alert events, the names of the sensors the app adds to each device, and names and data that come from Zigbee2MQTT, such as models.
Adding a language
A language is three files, each copied from the English one next to it:
| What | English source |
|---|---|
| The sidebar and the dashboard cards | z2m_tracker/app/www/i18n/en.json |
| The app's options in Home Assistant | z2m_tracker/translations/en.yaml |
| The integration: setup, options, actions, entities | custom_components/z2m_tracker/translations/en.json |
Name each copy after Home Assistant's language code (for example de or pt-BR), translate the values, and open a pull request. To fix a translation, edit the existing file. CONTRIBUTING.md has the details, including plurals and placeholders.