dalathegreat / Battery-Emulator

This software enables EV battery packs to be used for stationary storage in combination with solar inverters.
GNU General Public License v3.0
1.09k stars 150 forks source link

Not all battery signals update when battery connected to add-on CAN channel #543

Open bubble07 opened 1 month ago

bubble07 commented 1 month ago

Expected Behavior

Battery cell voltages update as battery is discharged/charged.

Actual Behavior

As part of my system debugging I've reversed the roles of Liligo and MCP2515 (Liligo connected to FoxESS inverter, MCP2515 connected to Kia battery) and it has stayed up for 12h so far.

However I notice that some of the battery values have not changed when draining from (scaled) 90% to 30%. SoC, current, power, max/min cell temp and voltage all update as expected. However cell voltages and max/min cell voltage are static .

Steps to Reproduce the Problem

Issue did not exist when using 7.5-dev and Liligo -Battery, MCP2515-Inverter. All battery parameters moved as expected. Screenshots shows extract from MQTT in home assistant, however web server also shows the same frozen values. Screenshot_2024-10-15-22-57-42-04_c3a231c25ed346e59462e84656a70e50

Settings

USER_SETTINGS.txt

dalathegreat commented 4 weeks ago

Issue found by @wjcloudy on the Discord, "looks like the min max are filtered out if the number of cells isn't populated"

So the Kia 64 code needs invistigation, why the amount of cells is not set. This is causing those values not to update.