Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery Percentage not accurate #40

Open
MaxWinterstein opened this issue Feb 3, 2021 · 7 comments
Open

Battery Percentage not accurate #40

MaxWinterstein opened this issue Feb 3, 2021 · 7 comments

Comments

@MaxWinterstein
Copy link
Contributor

The battery percentage (see #22) seems to be a little off.

12 days ago it said:
image

today it says:
image

even ioBroker and the bropat thing stays at the same level:
image

Eufy App itself thinks the value should be a little lower:
image

So in conclusion i guess the current power level is not shared towards the eufy server permanently. Maybe just on notification?

Even this seems not to be easily fixed on this code side, we might wan't to drop some note about that.

@matijse
Copy link
Owner

matijse commented Feb 3, 2021

Hmm weird... It should retrieve an updated value every hour. Can you check your log file, to see if the following messages are repeated every hour:

Refreshing devices...
Publishing battery percentage ${percentage}% for ${deviceSN}    (1 line for every device)

If that is the case, the API is reporting the wrong value. This might be due to the Eufy app getting the value directly from the Camera/HomeBase, while it is sent to the cloud API less often.

If you only see the Publishing battery percentage messages, and not "Refreshing devices...", or no message at all, there may be a bug that information isn't refreshed

@MaxWinterstein
Copy link
Contributor Author

Logs are fine and messages appear every hour:

debug: Publishing battery percentage 41% for T8113NXXXXXXXXX {"timestamp":"2021-02-03T21:21:28.966Z"}
debug: Publishing battery percentage 96% for T8113NYYYYYYYYY {"timestamp":"2021-02-03T21:21:28.967Z"}

But, as stated here: https://community.home-assistant.io/t/eufy-camera-integration/121758/780 it seems to be updated too rarely.

@GentleGiantSoftware
Copy link

GentleGiantSoftware commented Mar 25, 2021

Noticed that battery values were not updated for the last 9 days at least, although i see the publishing message every hour, battery values have not changed. Did a restart, same old and incorrect values are reported, not the current values shown in the app. Even cleared the docker and updated to the latest version (was one behind), after startup still the same old and incorrect battery values are reported.

UPDATE: I see updates coming in again with some delay, looks like this is working again...

@matijse
Copy link
Owner

matijse commented Mar 29, 2021

Some others have seen that Eufy doesn't update the battery status to the cloud that often, so the values are delayed. In the current version those values are retrieved from the cloud API.

With the switch to the new library I think these values can be retrieved directly from the HomeBase / cameras, which makes them update more frequently probably... We'll see...

@pascalkrielen
Copy link

Any update ?

@RandomUser99
Copy link

RandomUser99 commented Sep 23, 2021

I am also having this issue. The battery charge % is showing 86% in HA but on the Eufy app it is at 70%.

@Stuke00
Copy link

Stuke00 commented Oct 11, 2021

Same for me. Latest version of the add-on, HA shows battery 32%, app shows 5%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants