home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.84k stars 29.54k forks source link

MotionBlinds integration (3 day blinds) reports improper battery % when the battery is extremely low. #116546

Open GingerSnap-xx opened 3 months ago

GingerSnap-xx commented 3 months ago

The problem

When viewing the battery level of 3 of my covers in the native 3 day blinds app, they were showing 1-2%, but then updated to around 27 or 37%. When viewing the battery level in the integration, it is showing the battery as being over 100%.

What version of Home Assistant Core has the issue?

core-2024.4.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

motionblinds

Link to integration documentation on our website

https://www.home-assistant.io/integrations/motion_blinds

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 months ago

Hey there @starkillerog, mind taking a look at this issue as it has been labeled with an integration (motion_blinds) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `motion_blinds` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign motion_blinds` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


motion_blinds documentation motion_blinds source (message by IssueLinks)

GingerSnap-xx commented 3 months ago

I think I see the issue in the upstream repo. The docs from Motion Blinds lay out how the battery level is presented, but there's no way to know what type of battery is in use from the responses from the items. We'd need some way for the user to provide information as to which size battery they have to be able to calculate a percentage in any meaningful way.

somansch commented 1 month ago

I have a similar issue with blinds from "Siro". Battery is calculated down till around 30%, but battery is going empty at this stage.