Low Battery - TheThinkingHome/device_sentinel GitHub Wiki

A smoke alarm with a flat battery protects nobody, and a door sensor that dies at 2 AM leaves your alarm guessing. Device Sentinel tells you which batteries are low, which are about to be, and which battery to buy, with nothing to register.

Find the settings under Settings, Devices & services, Device Sentinel, Configure, Low Battery.

Choose When a Battery Counts as Low

Each kind of battery has its own threshold. A battery at or below it is reported low:

  • "Alkaline Batteries" (10% by default): AA, AAA and other alkaline cells. An alkaline cell at 10% still has weeks of use.
  • "Lithium and Other Batteries" (20% by default): coin cells, lithium AA and AAA, other batteries, and any battery whose type isn't set. A lithium cell holds near full and then falls fast. A coin cell that reports its voltage is also reported low at about 2.9 V, whatever its percentage says.
  • "Rechargeable Batteries" (20% by default): built-in rechargeable packs and NiMH cells.

The type comes from Battery Notes' library or from what you set on the device's page. Set a battery's type, and it's judged by the right threshold.

Hear Before a Battery Runs Low

Some batteries, such as the CR2032 coin cell, stay near full for most of their life and then fall to nothing in about a week. A threshold alone would miss that.

Many Aqara sensors on Zigbee2MQTT show 100% for the same reason: Zigbee2MQTT reads any voltage above 3.0 V as a full battery.

A door sensor's page: battery 100% on a coin cell at 3.005 V, last report at link quality 168, last seen at 1:30 PM

"Days Till Low Warning" (30 days by default) warns you when a falling battery is expected to reach your threshold within that many days. After four weeks of readings, a battery reads one of two ways:

  • Falling faster each week: it goes on the Problem List and to your phone, like a low battery.
  • Falling steadily: it is listed under Batteries to Watch in the Daily Brief and on Battery Trends, with no alert.

The time left reads as a range, such as "reaches 10% in about 4 to 5 weeks". A battery holding its charge is never warned about.

A door sensor's battery over 132 days: falling about 1.5 points a week, now under its 15% threshold, with about 5 to 7 weeks left

Know Which Battery to Buy

A low battery names the battery, such as "2× CR2032", on the Problem List, on the dashboard and in the Daily Brief. If a device's battery isn't known, or is wrong, set it with the pencil on the device's page. What you set covers all devices of the same model.

Confirm a New Battery

When a battery's level jumps up, Device Sentinel knows you changed it and starts its forecast again. The device's page shows the date under "Battery Last Replaced" and asks you to confirm it, change it or cancel it. The Recommendations tab lists each one waiting.

Where You See It

Low batteries show on the Problem List, on each device's page, in the Daily Brief and on the dashboard's Battery Trends tab. On a new install, Battery Trends says the day forecasts begin: a battery needs four weeks of readings first. A battery already at or under your threshold is reported from day one.

Mute a Battery

The "Battery Muting" lists stop battery reports for a device and nothing else. You can also press "Mute battery" on its page or on the Problem List. Exclusions and Muting explains the lists.