Zigbee2MQTT - TheThinkingHome/device_sentinel GitHub Wiki

Device Sentinel gets the most from Zigbee2MQTT, with nothing to set up. Your Zigbee devices are watched for going quiet, flat batteries and weak signal from the day you install.

One Alert When the Coordinator Stops

If your coordinator crashes or loses power, you get one line naming it and counting the devices behind it, not an alert for each light, plug and door sensor. A "Bridge: Zigbee2MQTT" sensor shows whether it is running.

The Bridge: Zigbee2MQTT sensor and the Broker: MQTT sensor beneath it

Your Repairs Are Recognized

When you press "Permit join" in Zigbee2MQTT, a device that comes back while pairing is open is treated as your fix. The long gap doesn't teach Device Sentinel to wait longer for that device. For a fix Zigbee2MQTT can't see, such as a battery swap, use Maintenance Mode.

A Second Opinion

Turn on Availability in Zigbee2MQTT's settings, under Settings, Availability, and its own online or offline view shows beside Device Sentinel's. Zigbee2MQTT waits 10 minutes before calling a mains device offline, and 25 hours for a battery device, so Device Sentinel usually spots a dead sensor first. "Online" beside a frozen device isn't a contradiction; "offline" confirms it.

Zigbee2MQTT's Availability settings: the switch to turn it on, 10 minutes for mains devices and 1500 minutes for battery devices

The 25 hours start again each time Zigbee2MQTT restarts. A battery sensor that dies a few hours before a nightly restart stays "online" until 25 hours after that restart, or until the next restart after its own 25 hours, so it can show online for up to two days. Leave both timeouts at their defaults: a battery remote that is quiet for hours is healthy, and a shorter limit would mark it offline and back again.

Zigbee2MQTT at 5:29 PM with the door open: battery 100%, last seen 3 hours ago, still online

Device Sentinel reads one Zigbee2MQTT instance.