fl4p / batmon-ha

Add-on for Home Assistant to connect JK, JBD, Daly, ANT, SOK and Supervolt BMS via Bluetooth
MIT License
246 stars 53 forks source link

DALY BMS out of range values #158

Closed danbi closed 7 months ago

danbi commented 8 months ago

Since October 20 2023 I notice that the recording of my DALY BMS shows extreme values. Like SOC -2330%. Sometimes it is +3200%.. maybe some calculation goes wrong?

Unfortunately, I cannot catch this in the logs.

fl4p commented 8 months ago

thats odd can you take screenshot of the soc history graph with the outliers and post it here?

danbi commented 8 months ago

Here is a snapshot I took when submitting the issue

Screenshot 2023-11-04 at 12 22 36

Here is another snapshot I took today, for one of the other packs. It apparently had communication issues during the "no data" period.

Screenshot 2023-11-07 at 15 08 56

Here is the data for all three batteries, from the beginning of the month, together.

Screenshot 2023-11-07 at 15 11 38

For some reason I do not see these out of range values anymore, but they are recorded..

fl4p commented 8 months ago

Thanks, just noticed that the code for daly bms doesnt verify a checksum. If it did, it would drop these invalid packets. I'll see what I can do

danbi commented 8 months ago

This might be the issue. I have generally poor bluetooth connectivity at times to the BMSes, and this might be the cause. The bluetooth proxy did not work for me, so am waiting for RS485 options eventually.

fl4p commented 8 months ago

v1.73 asserts soc range