fuatakgun / eufy_security

Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.
938 stars 79 forks source link

Battery drain by using Eufy integration in HA? #1125

Closed maglerod closed 6 months ago

maglerod commented 7 months ago

Using latest version of HA and Eufy integration.

Finally i were able to use my S340 Cameras and they works very good in HA. However, when the integration is active it will drain the battery of each camera and needs to be recharged after 5-6 days. So i had to inactivate the integration since the solar panel will not be able to charge it so quickly. Without the integration active i do not need to charge other then solar panel.

I'm not streaming or looking at the videos. Only using the integration to be able to set the guard mode together with the alarm system.

fuatakgun commented 6 months ago

Please reach out to bropat over add-on, integration is not doing anything out of user's request

pulquero commented 1 month ago

You can work-around this by disabling "polling for updates" in the system options for the integration. HA polls the sensors quite regularly and I believe this is the cause of the battery drain. You can write an automation to manually update the sensors using the "update_entity" service. Another option is to write an automation that starts/stops the add-on when you want to set the guard mode.

I think the integration could probably do with caching the sensor values and have an independent refresh interval.

fuatakgun commented 1 month ago

Please disable the integration and let the add-on run alone to confirm the root cause.

Integration does not poll the device but only cloud, so disabling the poll should not effect.

If battery drain happens while only add-on is running, please reach out to @bropat on the matter, there are some other issues on that end.

pulquero commented 1 month ago

Recently release of the add-on seems to have fixed it.