JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
1.16k stars 89 forks source link

Battery level won't update (TAPO C420). #594

Closed Pippo1989 closed 4 months ago

Pippo1989 commented 6 months ago

Description

The battery entity of Tapo C420 cameras is stuck at a certain value (always the same) and won't change over time. The update occurs only if the system is restarted.

Reproduction Steps

Just monitor the battery level via the TAPO application and compare it to the value of the battery sensor in Home Assistant.

Expected behavior

"SENSOR.(NAME)_BATTERY" should match and update with the actual battery value, as shown in the app.

If applicable, add error logs.

home-assistant_tapo_control_2024-05-25T23-15-58.645Z.log

Device Firmware

1.2.17 Build 20240305 rel.75572

Integration Version

5.4.18

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Hassio on Raspberry Pi4

Search for similar issues

Yes

Additional information

No response

JurajNyiri commented 4 months ago

I will need access (port forwarded) to battery powered camera in order to debug this as I do not own one.

Pippo1989 commented 4 months ago

I will need access (port forwarded) to battery powered camera in order to debug this as I do not own one.

I will be happy to help you if you could tell me what is the procedure to allow you to do this.

JurajNyiri commented 4 months ago

First you need to be able to port forward a service on your network so that it is available from the internet, I essentially need a way to access your camera directly as if I were in your local network.

Then I will need your account password temporarily (change pwd of course first), so that I can test it and see what is wrong with it.

Feel free to email me juraj.nyiri@gmail.com .

JurajNyiri commented 4 months ago

Closing due to inactivity. Other users confirmed battery updates in https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/457#issuecomment-2238769609