Hey everyone. I’ve been working on a Home Assistant app called Battery Sentinel and wanted to share it here in case it’s useful to others. HA recently rebranded add-ons as apps, but it’s the same thing; requires Supervisor, so Home Assistant OS or Supervised installs only.
The short version: it gives you a dedicated management page in the HA sidebar where you can see all your battery-powered devices in one place, set alert thresholds, tag battery types, and get notified before things go dead.
If you run into bugs or have feature requests, please use the GitHub issues page rather than replying here. It’s much easier to track and I don’t want things getting lost in comments: Issues · smcneece/battery-sentinel · GitHub
@sam65 really like what you’ve done. Are you planning to have it automatically detect (like Battery Notes does) what batteries the device has?
I’ve been using Battery Notes but would like to change to your add-on, I like your single page visual and mgmt, and I’m not a fan of all the entities Battery Notes creates.
The delete button was to remove a battery from the app that is no longer in HA. I’ve updated the app since then to hide a battery just in case you want to track it later it will be at the bottom of the list in a hidden device catagory. If you then delete the device from HA you can delete it from the App.
Okay, I’ve thought about it, that actually sounds like a pretty good idea, I’ll start working on it. A button to look up battery types in the settings page, fill in any empty ones, and for any conflicts with what may be filled out give the choice of updating or not.
Yup, it’s mostly built out and a version is on github. I did find a bug after pushing that, so doing some more testing. Would welcome any testing too!!
The date picker is a system-level popup rendered by Android, not Battery Sentinel - I have no control over its styling. It looks like maybe you have the HA app set to dark theme but your Android system theme is set to light. The OS date picker ignores the app theme and uses the system theme, which causes the conflict. Switching Android to dark mode (Settings > Display > Dark theme) should fix it. On my Android everything looks okay.
Also, for support questions and bug reports please use GitHub Issues rather than this thread so others can find and follow along and this thread doesn’t get filled with support issues. Thank you.
It’s running well, i have installed the latest update but still cannot get the email settings dropdown box to populate. I do have an email service installed and running so no idea why it does not show.
I have posted the issue on GitHub but no response yet.
I built something similar as an automation, but no UI - just let me know immediately if any battery goes below a warning threshold and a critical warning level, and then gives me a weekly summary of how all my batteries are doing. I like the look of yours - I will give it a try.
Side question - how did you build your UI? Did you use a framework like Svelte, hand code it, or something else?