Repository navigation
v2.0.0
Z2M Device Tracker 2.0 is the biggest release so far. The sidebar has a new seven-tab layout, there are 22 new features, two bug fixes, and one new thing that only works if you take part: community device ratings. Every Zigbee Tracker install measures how its devices really behave, including uptime, drop-outs, link quality and battery life. From 2.0 you can share that, in about a minute, so the next person choosing a door sensor or a smart plug knows which ones to buy and which to avoid.
⭐ Rate your devices: please take a minute
The ratings start empty, so the first reports matter most. Whatever you run (Aqara, IKEA, Sonoff, Tuya or anything else), your experience helps someone else.
How to rate a device:
-
Update the app to 2.0.0 and open Zigbee Tracker in the sidebar.
-
Go to Upkeep → Community. Under Rate your devices it lists every model on your network that nobody has rated yet. Health also has a line that takes you there.
-
Press Rate (or open any device and pick its Community tab), then Share your experience.
-
Pick Recommend, It's OK or Avoid. Add any tags that fit (Pairs easily, Drops off the network, Eats batteries…) and a comment if you like.
-
Leave Attach my stats on to include the uptime, drop-outs, link quality and battery life the tracker measured. Numbers make the ratings far more useful than opinions alone.
-
Press Continue on GitHub. A pre-filled issue opens in a new tab. Check it and press Create.
What is shared, and what never is: the dialog shows exactly what will be posted before you leave the app. A report holds the vendor, model, firmware, Zigbee2MQTT version, adapter type, how many of the model you have and for how long, your verdict, tags, comment and, if you chose, the stats. It never includes device names, areas, IEEE addresses or anything else about your Home Assistant. Nothing is posted until you press Create on GitHub. You need a GitHub account, which also keeps out spam. The reporter code is a one-way hash, so a newer report from you replaces your older one for the same model, and it can't be traced back to you. All reports are public under CC0.
No Zigbee Tracker yet, or just want to rate one device? Use the device rating form on GitHub directly.
What you get back: once a model has 5 reports, its Community tab shows Recommended, Mixed or Avoid, the measured numbers other people shared next to your own, the most common tags, the firmware people rate best and recent comments. Upkeep → Community also lists every other rated model with a search box, which is handy before you buy. A bot checks each report and closes the issue, and the ratings are rebuilt every week. The app downloads the newest copy once a day (community_ratings_fetch, on by default).
-
New check: Rated poorly by others. A device whose model other users rate Avoid (5 reports or more) shows under Worth a look on Health. It is low priority and never notifies unless you add
community_avoidtonotify_checks. -
Community section on the summary card. The integration's summary card can list your models that other users rate Avoid or Mixed. Turn on Show community ratings in the card editor, or in YAML:
type: custom:z2m-tracker-card show_community: true
Fixed
-
Commands with a transition are no longer counted as missed (#37, #40). Zigbee2MQTT acts on command options such as
transition,brightness_step,effectandon_timebut never publishes them in the device state. The tracker waited for a reply that could never contain them, so every such command was counted as missed and lights got a Misses commands warning. These keys are now left out of the expected reply. -
Long routing scans no longer time out (#38, #40). A raw networkmap of a 100-device mesh can take over 20 minutes, but the tracker gave up after 10. It logged a timeout, showed the scan as finished and let a second scan or the nightly router ping start on top of it. The new option
networkmap_timeout_minutes(default 60, 5 to 240) sets the limit, the router ping waits for it, and an answer that arrives late is still saved. -
Activity names the network properly. Network events read "Main network online" instead of "Network network online".
Added
Network and broker
-
Mesh score. The top of Health shows one score from 0 to 100 for each network. It is built from devices online (40 points), average link quality (20), devices with a backup route (20) and open problems (20). Details shows each part with its change since last week and a 30-day trend. With
ha_entitieson, each network gets a sensor such assensor.zigbee2mqtt_mesh_score, and Prometheus getsz2m_tracker_network_mesh_score. -
Broker statistics on Network → Broker. It reads Mosquitto's
$SYStopics and shows connected clients, retained messages, messages dropped in the last 24 hours, uptime and messages per minute as an hourly chart. Hours with dropped messages are red, and Health's Broker line counts them. Turn it off withbroker_stats. Other brokers don't publish these topics, and the page says so. -
Stale retained messages. The broker keeps retained topics after a device is renamed or removed. An old availability topic can still say offline, and orphaned discovery configs bring back ghost entities. Network → Broker lists them by Old name, Removed device and HA discovery, with Clear and Clear all.
retained_autoclearclears a renamed device's old topics automatically. -
Retained command check. A
/setcommand retained on the broker is sent again every time the broker or Zigbee2MQTT restarts, so a light switches back on by itself. Health shows it with a Clear button, which deletes it from the broker and sends nothing to the device. -
Availability disagreement check. It flags a device Zigbee2MQTT calls offline while it keeps sending messages, or online while it has been silent far longer than usual. The cause is usually a stale retained availability topic.
-
All networks. With more than one Zigbee2MQTT, Network starts with a network picker. All networks shows a card per network with devices, online count, score and open problems. It warns when the same device name is on two networks, because Home Assistant then gives the second one's entities a
_2suffix. -
Coordinator backup copies. Zigbee2MQTT overwrites
coordinator_backup.jsonin place, so a bad backup replaces the last good one. The tracker keeps its own copies: a new one whenever devices, the network key, PAN ID or channel change, plus one a week, and the last 10 per network. Network → Coordinator shows what changed between copies and has a Download button. The network key is never shown or logged. -
Group history. Network → Groups has a history per group: members added and removed, renames and when the group was created.
Devices and data quality
-
Live messages. A device's new Messages tab shows its last 50 messages as they arrive. That covers state, availability and commands, with how long the device took to answer. Changed values are highlighted, and the tab has Pause and Copy.
-
Impossible readings check. It flags a temperature outside a range you set, humidity or battery outside 0 to 100%, or humidity stuck at exactly 0 or 100%. A failing battery or a bad contact is the usual cause. Set the limits in Settings → Limits:
impossible_temp_min: -30 impossible_temp_max: 60 humidity_stuck_hours: 6
-
Payload changes. After a firmware or converter update, a device can rename or drop a value. The tracker learns each device's keys, then logs new and missing keys in its History tab. The Sends different data check fires when a missing key's entity is still used by an automation or script.
-
Settings advice. When Zigbee2MQTT's
last_seenis off, quiet battery devices can look alive. Health says so, and Turn on sets it toISO_8601after asking you to confirm. -
Compare devices. Tick two devices in the Devices list and press Compare. It shows model, firmware, link quality, parent router and hops, battery life, uptime and messages per hour side by side, with the worse value in red.
-
Print labels. Tick devices and press Print labels to print the name, IEEE address, battery type and a QR code that opens the device. The layouts are Avery L7651 sheets and 29 mm label tape. The QR code is made in your browser.
-
Device age. Upkeep → Models → By device age lists every device oldest first, with its firmware and when that last changed. Devices 2 years or older on the same firmware are marked.
Alerts
-
Power loss in an area. Sometimes 3 or more mains devices in one Home Assistant area go offline within 11 minutes of each other while a battery device there stays online. They now arrive as one issue and one notification, "Power loss in Garage?", instead of one per device.
-
Repairs for serious problems. A critical device offline, a Zigbee2MQTT network offline and a coordinator backup problem get their own wording and severity in Settings → Repairs. They are never pushed out by other issues. The offline repair can mute the check for 24 hours or for good. Turn Repairs off with
ha_repairs(Settings → Notifications). -
Escalation. An alert nobody answers in time is sent again to a second notify service, such as a partner's phone. Answering means pinging the device, pressing a button on the phone alert, or the problem clearing. By default only critical devices escalate, and quiet hours and paused alerts are respected:
escalate_enabled: true escalate_hours: 2 escalate_service: notify.mobile_app_partner_phone escalate_critical_only: true
-
Firmware notes. On the Updates tab, write a note against a model and firmware version, such as "Drops off every few days, stay on 2.1.3". Devices on that version show the note and a Firmware you noted row in Health. An update to a noted version is held back from Update all and the overnight window until you press Update anyway.
Upkeep
-
Warranties. Add a Warranty until date in a device's asset details. Upkeep → Maintenance lists warranties ending in the next 60 days, and the Warranty ending check shows on Health 30 days before.
-
Running costs. Upkeep → Costs adds up device prices from asset details, battery spend over the last 12 months and an estimate for the next 12. There is a table per model and battery type. Set battery prices in Settings → Battery brands.
-
Battery shop link. Set
battery_shop_urlto add a cart button next to each battery in Batteries to buy, for examplehttps://www.amazon.co.uk/s?k={type}. No affiliate tags are added. -
Support this project link in the menu and Settings.
Changed
- New layout. The sidebar now has seven tabs: Health, Devices, Network (Map, Coordinator, Broker, Radio, Groups), Upkeep (Batteries, Maintenance, Models, Costs, Community), Updates, Activity and Settings. Health shows problems first, worst first, then one line per area on another tab ("Broker: 2 stale retained messages"), so a glance says whether anything needs a look. On a phone, the bottom bar has Health, Devices, Network, Upkeep and More.
- Reporting profiles. Expected reporting is now a profile instead of a number per device: Reports on change (3 h), Regular (1 h), Chatty (15 min), Custom or Off. Each device type has a default, set in Settings → Checks. A default only starts once the device has shown it reports often enough for it. Intervals you set before are kept as Custom.
Upgrading
-
Update the app and the integration together. The integration's Repairs wording, the new check names and the summary card's community section need the 2.0.0 app. The integration is in the Home Assistant Marketplace (HACS). Update it there, then restart Home Assistant.
-
Your history, settings, notes and muted checks carry over unchanged. Expected-reporting intervals become Custom profiles.
-
The new checks show on Health but don't notify until you turn them on under Settings → Checks.
-
New app options, all optional, documented in the app's Documentation tab:
community_ratings_fetch,ha_repairs,networkmap_timeout_minutes,escalate_enabled,escalate_hours,escalate_service,escalate_critical_only,battery_shop_url,retained_autoclear,broker_stats,impossible_temp_min,impossible_temp_maxandhumidity_stuck_hours. -
Then rate a device or two. See Rate your devices above, or use the wiki.
Full changelog: v1.5.2...v2.0.0