mutmut
1. Dezember 2026 um 13:32
1
Hallo,
die Version 5.3.6 bringt wieder einige Neuerungen für Zigbee2MQTT, seit die
Ich finde dieses Redesign auf dem Mobilgerät atemberaubend, ein großes Kompliment
In der Zigbee2MQTT-Integration ist die neue Geräteliste auf dem Mobilgerät wirklich toll. Es fehlt nur noch eine Möglichkeit, auf einen Blick die Geräte zu erkennen, die Probleme bereiten:
Geräte, die nicht mehr in Zigbee2MQTT sind , aber noch in Gladys. Bei mir zum Beispiel „Waschmaschine old“: Es gibt nichts, was es von den anderen unterscheidet.
Geräte, die seit längerer Zeit als der „Zeitraum bis zum Ablauf eines Status“ (Einstellungen > System, 48 h bei mir) nichts mehr senden : leere Batterie, Gerät außer Reichweite…
Mein Vorschlag:
ein rotes Symbol und ein Hinweis, warum: „Nicht mehr in Zigbee2MQTT“ oder „Letzte Nachricht vor 3 Tagen“;
für eine Fernbedienung oder einen Knopf, die nichts senden, solange man sie nicht benutzt, das Gleiche in Orange statt in Rot: dieses Schweigen kann normal sein;
in der Gerätekarte eine Nachricht, die sagt, was zu tun ist: das Gerät löschen, die Batterie überprüfen oder einen Knopf drücken, um zu sehen, ob es antwortet;
am Computer das Gleiche in der Kopfzeile der Gerätekarte.
Ich habe einen Pull-Request erstellt, der all das umsetzt:
master ← smuteau:feat/z2m-device-health
ouvert 01:17PM - 01 Dec 26 UTC
### Description
On the "Devices" tab of Zigbee2MQTT, nothing told a device that… is no longer in Zigbee2MQTT (removed from the Zigbee network, still listed in Gladys) from a working one, nor a device that stopped reporting. Such a device now says so. On a phone: on its row (the tile of its icon and a pill before the battery) and, in its sheet, a notice of the same tone saying what to do. On a wider screen: a tag of the same tone in the header of its card, before the battery, and the same notice as an alert at the top of the card.
| Case | How it is known | Row / card header | Sheet / card alert |
|---|---|---|---|
| **No longer in Zigbee2MQTT** | its `external_id` is not in `GET /discovered` (the list the page already reads for the IEEE addresses) | red, "No longer in Zigbee2MQTT" | delete it if unused, otherwise pair it again |
| **Silent** | every feature that ever received a value has `last_value_is_too_old` (the device list already computes it from the "Time to expiry of a state" system setting, 48 h by default) | red, "Last heard 3 days ago" | check its power and the Zigbee range |
| **Silent remote** | the same, on a device with a `button` / `click` feature (the Zigbee2MQTT `action`): it sends nothing until it is used | warning tone (orange on a phone, yellow tag on a wider screen), "Last heard 3 days ago" | this silence may be normal, press one of its buttons |
- **No server change.** Everything comes from the two requests the page already makes. `last_value_changed` is written on every state received, even an unchanged one, so a stable sensor that keeps reporting is not taken for a silent one.
- **No false "gone" while Zigbee2MQTT has not answered.** Gladys fills the discovered list from the retained `bridge/devices` message: an empty list (not received yet, or a failed request) tells nothing, so no device is flagged as gone then.
- **A device that never received anything stays neutral**, and being gone wins over being silent.
- **Kept beside the devices** (`zigbee2mqttDeviceHealth`, by `external_id`), not in them: a save replaces a device with what the server answers, and the state must not be posted with it.
- **Same state on every screen size**: the desktop card reuses the label and the notice of the phone; nothing else of the card moves.
New helper `front/src/routes/integration/all/zigbee2mqtt/utils/deviceHealth.js`; texts in en / fr / de / es.
Spec updated: `docs/specs/mobile-pages/integration-devices.md`, section E (Zigbee2MQTT, new bullet "Gone or silent devices").
### Tests
- Front: Prettier, ESLint (no new warning), `compare-translations` and `npm run build` pass.
- Cypress, run locally: `Zigbee2MqttTabsMobile.cy.js`, 23 passing, of which 5 new (the three cases on the rows with their tones, the notices in the sheets, the state kept after a save, the tags and alerts of the desktop cards, nothing told gone when the discovered list is empty). The existing Devices stub now lists the sensor among the discovered devices, so that it is not taken for a gone one.
- Rendering checked in French on an iPhone X viewport (the list and the three sheets) and on a 1280 px wide screen (the cards).
### Related request
Forum: https://community.gladysassistant.com/t/zigbee2mqtt-amelioration-pour-les-modules-non-joignables/11707
### Checklist
- [x] If a forum topic or GitHub issue exists, the description links it (`Forum: https://community.gladysassistant.com/t/...` or `Closes #...`)
- [x] Tests pass: `cd server && npm run coverage` (Codecov requires 100% coverage on changed lines) and Cypress (`npm run cypress:run`) if the UI changed (no server change; the Zigbee2MQTT phone spec runs locally)
- [x] Linter and prettier pass on both front and server (`npm run eslint`, `npm run prettier`)
- [x] No undocumented breaking change
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by CodeRabbit
* **New Features**
* Zigbee2MQTT device rows, details, and desktop cards now show health indicators for devices no longer found in Zigbee2MQTT or silent beyond the configured state-expiry period.
* Silent button and remote devices have a separate notice explaining that they may be quiet until used.
* Devices with no reported values remain neutral. An empty discovered-device list does not mark devices as missing, and missing status takes precedence over silence.
* Health notices are available in English, German, Spanish, and French.
Was haltet ihr davon?