-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Describe the bug
When the field “Battery maximum power” is set to 0, the maximum possible charging power of the PV battery is no longer detected correctly. Instead, the wallbox immediately charges the car with its maximum charging power (e.g. 11 kW), and only the remaining surplus is charged into the PV battery.
If a fixed maximum PV battery charging power is set, the adapter only charges part of the available power into the car, while the rest is unnecessarily fed into the public grid – even though the wallbox would be able to charge the car with more power.
This results in an inefficient use of PV surplus and battery capacity.
To Reproduce
Steps to reproduce the behavior:
Open the adapter configuration and set Battery maximum power to 0.
Enable PV automatic mode with battery support.
Observe charging behavior when both PV surplus and battery capacity are available.
The car starts charging with maximum charging power (e.g. 11 kW), and the PV battery only receives the remaining surplus.
Edge case:
If instead of 0, a fixed value (e.g. 3000 W) is entered for Battery maximum power, the car only charges partially, while the remaining energy is unnecessarily fed into the grid – although the wallbox could provide more charging power to the car.
Expected behavior
With Battery maximum power = 0, the adapter should automatically detect and respect the actual maximum charging power of the PV battery.
The car should charge with the maximum possible charging power, while the PV battery is charged in parallel as much as possible – without feeding unnecessary power into the public grid.
Screenshots & Logfiles
Screenshots of the configuration with Battery maximum power = 0
Debug log output during PV surplus charging with battery support
Versions:
Adapter version: 3.2.0
JS-Controller version: 7.6.17
Node version: <please fill with node -v>
Operating system: Docker
Type of wallbox: X-Series PV Edition
Brand and model of vehicle to be charged:
Used options: PV automatics, battery storage, 1p/3p switch (x2), do not use battery storage (prio on battery)
Additional context
The bug only occurs in connection with PV battery charging limits. It seems that setting the parameter to 0 disables the auto-detection instead of interpreting it as “use the actual maximum PV battery charging power”.