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 151 forks source link

Bugfix: Add remaining capacity writing for Pylon #594

Closed dalathegreat closed 2 weeks ago

dalathegreat commented 2 weeks ago

What

This PR fixes a bug, when using PYLON_BATTERY the remaining capacity would be 0 all the time

image

Why

Fixing this to correct behaviour

How

We set capacity left according to SOC%, same as other implementations

dalathegreat commented 2 weeks ago

Tested successfully by a user on the Discord, merging this!