Release: Battery Monitor 2.0 v2.7.3
Info logging can now be turned off.
Problem:
Every scan logged a “scan started” and “scan complete” line at info level, with no way to turn them off. On busy hubs that adds to the noise when you’re hunting for real issues.The Fix:
- There’s a new Info logging toggle at the bottom of the main page, next to Debug logging.
- It’s on by default, so nothing changes unless you turn it off.
- Turning it off quiets the scan lines.
- Warnings and errors always log, so real problems still show up.
Action needed: Update in HPM.
Release: Battery Monitor 2.0 v2.7.4
Tidier main page banner.Problem:
The status banner at the top of the main page had an empty gap above it, a heavier border and a larger icon than Hubitat's built-in apps, and it got cramped on a phone.The Fix:
The gap is gone, spacing and size now match the built-in apps, and the banner stacks cleanly on narrow screens. Cosmetic only.Action needed:
Update through HPM. No Done needed.
I'm reporting a sequence of events/observations but not sure if it's a bug.
I realized today that I had installed this app by GitHub and not HPM, so I matched the app and updated. Afterwards, one of my monitored devices was wrongly showing that the battery was replaced (I don't remember it having gone stale, but for some reason it thought the increase threshold had been reached after I forced a scan). I manually deleted the auto replaced history entry. The status still says "pending". It seemed to lose track of the prior device history. I inquired about this with an AI tool and it said to share this back here:
Deleting a replacement history entry only removes it from state.replacements; it does not reverse the corresponding state.history changes (justReplaced, replacedTime, firstSeenDate, samples reset, etc.). A false auto-detected replacement therefore cannot be fully undone from the UI.
I don't know if it's even feasible to retain the information from the history. Maybe something that is stored separately for a couple days, or until the next scan, if auto or manual replacement is done for a specific device, so it can be reverted during the grace period?
Release: Battery Monitor 2.0 v2.7.5
A replaced battery no longer wipes the device's history, and a false detection can now be undone.Problem:
When a replacement was logged, Battery Monitor threw away everything it had learned about that device. Health went back to Pending for 5 days, and the device's earlier history entry was removed. Deleting a wrong entry only removed the line, so a false detection couldn't be undone. A forced scan could also confirm a jump using the same reading that started it, instead of waiting for a new report from the device.The Fix:
- A new battery starts from the last battery's drain, so health shows right away (marked "From last battery") and then updates from its own readings. This applies when the old battery was tracked for at least a week.
- History keeps every replacement and shows how long each battery lasted.
- Deleting a device's newest history entry restores its previous battery data. This works for replacements logged from this version on.
- A replacement is only confirmed by a newer battery report, or after the new level holds for 12 hours.
Action needed:
Update through HPM. No Done needed.Devices already showing Pending from a wrong detection before this update will clear on their own once they have 5 days of samples.
Thanks to @es_ferret for the detailed report that led to this.
First of all I must say thankyou for a great app. It makes battery monitoring so easy.
I know, there's always a but, but would it be possible to have a dropdown to select the users preferred date/time display.
As you are probably aware, in the UK we tend to go for dd/mm/yyyy not mm/dd/yyyy.
If it's possible, great, if not, no big deal.
Thanks again for a great app.
I will look into this. ![]()
Release: Battery Monitor 2.0 v2.7.6
Choose your date format and clock.
Problem:
- Dates were always shown as MM/DD/YYYY, which reads backwards in the UK and much of the world, and times mixed 12 and 24-hour formats.
The Fix:
- New Dates and times section on the Scan interval & dates page:
- Date format: MM/DD/YYYY (US), DD/MM/YYYY (UK, EU) or YYYY-MM-DD.
- Clock: 12-hour or 24-hour.
- Applies to the replacement history, notifications, the snooze time and the web portal.
- Display only: your existing history is kept as is and shows in the new format right away.
- Nothing changes until you pick a format. The Battery Summary notification now follows the clock setting too (12-hour unless you choose 24-hour).
Action needed: Update through HPM. To change the format, open Scan interval & dates.
Wow. That was quick. Thank you!!
I now know it's the 8th Of November, not the 11th of August......... ![]()