eufy-security-ws: Battery sensor shows unexpected behavior
Describe the bug
After updating from 0.3.3 to the latest version the battery sensor has problems showing the correct state.
To Reproduce
Steps to reproduce the behavior:
- Updating to latest addon + integration (by fuatakgun)
Expected behavior
Battery sensor showing the correct percentage.
Screenshots & Logfiles

2021-11-29 20:23:45.609 INFO Eufy Security server listening on port 3000
2021-11-29 20:23:47.173 INFO Connected to station T8010 on host 192.x.x.x and port 11294
2021-11-29 20:23:49.047 INFO Push notification connection successfully established
Versions:
- Client version: 0.6.0 (Eufy Security WS Add-on by fuatakgun)
- Operating system: Home Assistant OS 6.6 & core-2021.11.5
Hardware information about camera
- T8210
Additional context
I already tried a fallback and reinstalled the old addon(s) from a backup (both Eufy security WS addon + integration). After a reboot the battery sensor will immediately show the correct percentage again:

After some usage time it seems like periodically the correct value is shown and after a while drops to 0% again:

About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 39 (17 by maintainers)
Commits related to this issue
- Incremented schema version to 9 Added new commands `setLogLevel`, `getLogLevel`, `startListeningLogs`, `stopListeningLogs` and `isMqttConnected` to Driver Added new Driver events `mqttConnected`, `mqt... — committed to bropat/eufy-security-ws by bropat 2 years ago
- Requires node version >= 14.17 Incremented schema version to 10 Added support for Battery Doorbell Dual (T8213; #95) Added support for Video Doorbell Dual (T8203) Added support for IndoorCam Mini (T84... — committed to bropat/eufy-security-ws by bropat 2 years ago
Issue found will be fixed in next release (https://github.com/bropat/eufy-security-client/issues/109).
Email is sent
Version 0.8.0 released
It is on me to generate debug logs and a bit busy nowadays.
Nope, having same problem with my 2c camera, not recently though. I am following this closely and try to come up with debug logs
I have been waiting this thing to happen for whole day, it did not happen 😃 of course