Patrick762 / hassio-bluetti-bt

Bluetti Integration for Home Assistant
MIT License
30 stars 9 forks source link

[Bug]: AC500 + 2XB300S: Battery1+2 0% and 0V with Version 0.1.0 #106

Closed ItsMe00007 closed 1 month ago

ItsMe00007 commented 1 month ago

What happened?

With Version 0.0.16 Battery1+2 showed correct % and Voltage values.

With Version 0.0.17 up to 0.0.24 it showed "unavailable"

With Version 0.1.0 "unavailable" is gone, but the % and Voltage values are 0

What version of our software are you running?

0.1.0

What device are you seeing the problem on?

AC500 + 2XB300S

What bluetooth connection are you using?

ESPHome bluetooth proxy

Have you changed the integration settings?

false

Integration settings (if you changed them)

No response

Relevant log output

There are no error logs in the core log regarding this problem.
Bildschirmfoto 2024-05-31 um 23 12 17

Regarding "Battery Pack BMS Version": these are also not available with the Bluetti_MQTT Implementation.

UPDATE: It seems to be a timing problem, every few minutes there are percent and voltage values shown, but for about a second, Then it changes back to 0 percent and voltage.

sibelle-labs commented 1 month ago

On ac300 is similar. Showing all values correct but every few time its changes to unavailable and back. No error on file logs. @Patrick762 wow !!! :-) Screenshot_20240601_091417_Home Assistant Screenshot_20240601_091235_Home Assistant

Patrick762 commented 1 month ago

@ItsMe00007 I'll try to ignore up to 5 invalid replies now before setting it to unavailable. This should help preventing this behavior. I'm also ignoring "0" values on pack values, those will simply be unavailable (since they might not exist anyway)

Patrick762 commented 1 month ago

Screenshot 2024-06-02 at 13-50-59 Entwicklerwerkzeuge – Home Assistant

Patrick762 commented 1 month ago

Release 0.1.1 is now available with those modifications