Freeze Detection - TheThinkingHome/device_sentinel GitHub Wiki

A dead sensor doesn't always look dead. When its battery dies, Home Assistant often keeps showing the last thing it said: the back door stays "closed" and the freezer stays at its last temperature. Your alarm, your heating and your automations go on trusting a reading that stopped being true hours ago. Device Sentinel notices the silence and tells you.

What You Need to Do

Nothing, to begin with. Device Sentinel learns how often each device reports over its first week. After that, a device that stays quiet much longer than usual is reported as frozen.

To hear about it on your phone, set up an alert on Notifications and Daily Brief.

What You'll See

A door sensor that usually reports about once an hour, reported frozen after 2.4 hours

The device goes on the Problem List as "stopped reporting", and its page on the dashboard leads with the problem. The bar at the top fills while the device is quiet: green while all is normal, yellow when it is quieter than usual, red when it is frozen. When the device reports again, it leaves the list on its own.

You may also see:

  • Unavailable: Home Assistant itself has lost the device.
  • Never reported: Device Sentinel hasn't heard from it once in the 48 hours since it first saw it. It is often an old entry you can delete.
  • Short drop-outs: it keeps disappearing for a few minutes at a time. Signal Strength explains what to check.

A Real Example

A door sensor in our laundry room checks in about once an hour. Twice in November it went quiet for 1.7 hours and came back on its own, inside its window, so nothing was reported. On 20 November it went quiet at 1:30 PM, and Device Sentinel reported it frozen at 3:54 PM. The door was open. Home Assistant still showed it closed, and Zigbee2MQTT still showed it online.

The sensor's gaps over 14 days: two quiet spells of 1.7 hours that came back inside the window, and the gap that began at 1:30 PM

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

Make It More Accurate

Turn on Last Seen. Many integrations ship a device's Last Seen sensor switched off, and it is the surest sign that a device is alive. The dashboard's Recommendations tab lists these devices, with a button to turn each one on.

Use Maintenance Mode when you work on a device. Before you change a battery or re-pair a device, press "Start Maintenance Mode" on the dashboard. The gap you cause then doesn't teach Device Sentinel to wait longer for that device.

Quiet a Device You Rarely Use

Some devices speak only when someone uses them: a guest-room light, a button, a spare plug. Silence is normal for them, so a freeze report tells you very little. Press "Mute freeze" on the device's page. You still hear about it if Home Assistant loses the device. The Recommendations tab's Slow Reporting Devices card lists the likely ones. Exclusions and Muting explains the other choices.

Change How Long It Waits

Most houses leave this alone. Go to Settings, Devices & services, Device Sentinel, Configure, Freeze and Unavailable Detection. Two sliders add extra waiting time:

  • "Delta Low (Fast-Device Grace, Minutes)" is for devices that report every few minutes. Raise it if a busy device is called frozen too soon.
  • "Delta High (Slow-Device Grace, Hours)" is for devices that report a few times a day. Lower it to hear about them sooner.

Both sliders change the wait for all your devices.

Some devices are judged by their connection instead, such as ESPHome devices and Matter lights. Matter and FAQ and Troubleshooting explain.