this post was submitted on 16 Jul 2026
24 points (100.0% liked)

homeassistant

20028 readers
47 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 3 years ago
MODERATORS
 

I bought 2 MYGGSPRAY. I’ve been using them for about 3 months now. They show up as 100% on Home Assistant but is it showing the wrong numbers or is it just sipping the battery? How about your experience?

you are viewing a single comment's thread
view the rest of the comments
[–] ylph@lemmy.world 5 points 1 day ago (1 children)

What kind of battery did you put in ? A standard alkaline battery has different voltage discharge curve compared to the recommended rechargeable NiMH batteries (example)

You can't really measure the capacity of a battery directly, all you can measure externally is the voltage, so the logic has to make some assumptions about the type of battery being used when calculating percentage. Since they recommend the LADDA rechargeable batteries, which are NiMH, they probably set the 100% threshold lower - perhaps as low as 1.2V, so as long as whatever battery you are using is above this voltage, it will show up as 100% - it might take longer for an Alkaline battery compared to NiMH rechargeable, but later you might have the opposite problem, when the reported percentage will start dropping faster for Alkaline vs NiMH, due to the different discharge curve characteristics.

More sophisticated devices can sometimes have a learning function, where they observe the voltage curve over a full discharge cycle of a battery, and then adjust the % reporting to more closely match, but since every battery can be different, this is still not always accurate. The discharge curve can be affected by temperature as well, further complicating the issue.

Since these sensors are supposed to last up to 15 months on single charge, and it actually wouldn't be too unusual for a device like this to report 100% battery for up to the first 1/3 of its battery usable life (especially if using Alkaline batteries), 3 months is probably still within reason. There is often some intentional padding as well by manufacturers, as they don't want customers to see big drop in battery percentage early on, as this might cause people to make ultimately incorrect predictions about total battery life, and complain or return the product.

[–] tiz@lemmy.ml 2 points 19 hours ago

Thanks for the in depth explanation. That makes sense. I do use alkaline batteries. And yeah. Battery voltage shows about 3 V.