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
799 stars 107 forks source link

Solax Surplus Energy kWh correction #295

Closed josiahhiggs closed 4 days ago

josiahhiggs commented 1 month ago

Using dual Lillygo on 5.9 with TM3 LFP and Solax X1 Hybrid G4. Solax App reporting on 'battery card' surplus energy is off by one decimal. TM3 LFP Lillygo reporting 59 kWh and SOLAX_CAN lilygo reporting 59 kWh but inverter app reading 5.9 kWh,. After discharging 10 kWh from battery, both Lilygo reporting 49 kWh and inverter reading 4.9 kWh of surplus energy. Battery SOC% is correct when #define BATTERY_USE_SCALED_SOC false

dalathegreat commented 1 month ago

Thanks for the bug report! I have a pull request open for this issue, feel free to test! https://github.com/dalathegreat/Battery-Emulator/pull/297

amarofarinha commented 4 days ago

Resolved as commented in #297