HV2600 V2 BMS/Batteries - kWh Remaining

Post Reply
saleemkhalil
Posts: 3
Joined: Sat Oct 05, 2024 5:46 pm

Hi

We recently upgraded our battery stack from 5 batteries to 7 and HomeAssistant was showing the correct kWh remaining value. However, after upgrading the firmware (carried out by Fox) it seems that the kWh remaining sensor is now tied to the battery overall capacity.

I've ran the battery.ipynb script from Tony's GitHub and can see that I need to set the residual_handling to 2 to get the residual to show kWh remaining.

Is there a change I need to make in HA to get the kWh remaining instead of battery capacity?

Currently running Modbus over TCP, H1 5KW inverter
Screenshot 2024-10-05 at 17.51.57.png
Thanks!
Dave Foster
Posts: 1240
Joined: Thu Oct 13, 2022 7:21 pm

In home assistant the sensor is reporting what it receives from the BMS, you'll need to add a 'new' sensor to your configuration.yaml file which calculates the value based on residual and battery soc - if you follow this link there is a code solution there https://github.com/nathanmarlor/foxess_ ... 2388489149
saleemkhalil
Posts: 3
Joined: Sat Oct 05, 2024 5:46 pm

Is this something new with the latest firmware? It was working fine before.

I'll go ahead and take a look at adding a new sensor.

Thanks,
Dave Foster
Posts: 1240
Joined: Thu Oct 13, 2022 7:21 pm

saleemkhalil wrote: Sun Oct 06, 2024 12:15 pm Is this something new with the latest firmware? It was working fine before.

I'll go ahead and take a look at adding a new sensor.

Thanks,
Yes it's the latest firmware for all 'V2' battery packs - the new BMS sensor reports the maximum available energy taking into account SoH so this multiplied by your battery SoC is the expected available energy.
saleemkhalil
Posts: 3
Joined: Sat Oct 05, 2024 5:46 pm

Thanks Dave - I've updated the card on HA!
Post Reply