Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery SOH, Today Life Cycles and Total Life Cycles are calculated incorrectly for Deye BOS GM5.1 + BMS HVB750V/100A #350

Closed
iwannatalk opened this issue Dec 29, 2024 · 10 comments

Comments

@iwannatalk
Copy link

Description

Hello,

The following sensor values are incorrectly calculated for Deye BOS GM5.1 + BMS HVB750V/100A:

  • Battery SOH
  • Today Life Cycles
  • Total Life Cycles

Im not sure whether it is a bug or a feature request (cause maybe noone had a chance to test it with Deye hith voltage batteries).

I have BMS HVB750V/100A + 8 instances of Deye BOS GM5.1 and was wondering why my battery when charging from (lets say from todays example) from SOC 12% till 90% takes 3.37 lifecycles :) and totally 58 days of work already used 142 lifecycles but i change only over night and discharge during the day (excepting sunny days but now it is a winter and it is not too mamy sunny days).
Today i have investigated the code and see that those values are calculated but not taken from inverter/bms/battery statistics.
So seems like there is a bug with those calculations.

Reproduction Steps

Any charge shows wrongly calculated sensor data for:

  • Battery SOH
  • Today Life Cycles
  • Total Life Cycles
    For example, charging from 12% to 90% takes 3.37 lifecycles.

Log

Not sure they are needed, if so - i will attach later.

Version

24.12.22

Home Assistant Core Version

2024.12.5

Home Assistant Operating System Version

14.1

@iwannatalk iwannatalk added the bug Something isn't working label Dec 29, 2024
@davidrapan
Copy link
Owner

Did you set the nominal voltage in the configuration?

@iwannatalk
Copy link
Author

Did you set the nominal voltage in the configuration?

No, i thought it is taken from inverter data as this value is shown in stat.
Now i set in configuration 409 v.
Seems like it is more or less correct now. Showing 0.44 instead of 3.37 for today but not sure if it still correct.

@iwannatalk
Copy link
Author

iwannatalk commented Dec 29, 2024

Screenshot_20241229_120415_SOLARMAN Smart

Btw, total battery cycles and soh is available in solarman stat.

@davidrapan
Copy link
Owner

What value you have in Device sensor?

@davidrapan davidrapan removed the bug Something isn't working label Dec 29, 2024
@iwannatalk
Copy link
Author

What value you have in Device sensor?

Screenshot_20241230_071200_Home Assistant

But this value changes depending on the SOC.

@davidrapan
Copy link
Owner

Can you please show me what value you get when you read register number 224 using Developer tools >> ACTIONS >> Solarman: Read Holding Registers (Modbus Function Code 3)?

@iwannatalk
Copy link
Author

Can you please show me what value you get when you read register number 224 using Developer tools >> ACTIONS >> Solarman: Read Holding Registers (Modbus Function Code 3)?

Screenshot_20241230_215924_Home Assistant

@davidrapan
Copy link
Owner

What about 255, 10006 and 10048.

@iwannatalk
Copy link
Author

What about 255, 10006 and 10048.

0
100
30000

@davidrapan
Copy link
Owner

So it's proly at 100% at all times and thus not measured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants