Battery boost is using power from grid
Description
When activating Battery boost I always see a lot of grid power usage, even though the battery is capable of providing more energy
Steps to Reproduce
- Charge in PV mode using PV power
- Activate Battery boost
Configuration (UI)
{
"site": {
"title": "Zuhause",
"grid": "db:5",
"pv": ["db:3"],
"battery": ["db:4"],
"aux": null,
"ext": null
},
"loadpoints": [
{"id":2,"name":"db:2","charger":"db:1","vehicle":"db:12","title":"Carport","defaultMode":"","priority":0,"phasesConfigured":0,"minCurrent":6,"maxCurrent":16,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"batteryBoostLimit":35,"limitEnergy":0,"limitSoc":80,"planStrategy":{"continuous":false,"precondition":0},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":300000000000},"estimate":true}}
],
"charger": [
{"config":{"host":"192.168.178.13","template":"go-e-v3"},"deviceProduct":"go-e Charger Gemini","id":1,"name":"db:1","type":"template"}
],
"meter": [
{"config":{"battery":"1","baudrate":9600,"host":"192.168.178.8","id":247,"maxacpower":10000,"maxchargepower":"10000","maxdischargepower":"10000","maxsoc":"100","minsoc":"10","modbus":"tcpip","template":"goodwe-hybrid","usage":"pv"},"deviceProduct":"GoodWe ET/EH/BH/BT Hybrid Inverter","deviceTitle":"GW_Inverter","id":3,"name":"db:3","type":"template"},
{"config":{"battery":"1","baudrate":9600,"capacity":10.6,"host":"192.168.178.8","id":247,"maxacpower":"0","maxchargepower":5000,"maxdischargepower":5000,"maxsoc":"100","minsoc":"10","modbus":"tcpip","template":"goodwe-hybrid","usage":"battery"},"deviceProduct":"GoodWe ET/EH/BH/BT Hybrid Inverter","deviceTitle":"PylonH2_Battery","id":4,"name":"db:4","type":"template"},
{"config":{"battery":"1","baudrate":9600,"host":"192.168.178.8","id":247,"maxacpower":"0","maxchargepower":"10000","maxdischargepower":"10000","maxsoc":"100","minsoc":"10","modbus":"tcpip","template":"goodwe-hybrid","usage":"grid"},"deviceProduct":"GoodWe ET/EH/BH/BT Hybrid Inverter","id":5,"name":"db:5","type":"template"}
],
"vehicle": [
{"config":{"capacity":"","icon":"generic","identifiers":["Gast (grau)"],"maxCurrent":16,"minCurrent":6,"phases":"","template":"offline","title":"Gast"},"deviceProduct":"Generisches Fahrzeug (ohne API)","id":8,"name":"db:8","type":"template"},
{"config":{"capacity":58,"climater":"climate.vw_id_3_electric_climatisation","icon":"car","identifiers":["Manuel (schwarz)","Jutta (orange)"],"limitSoc":"sensor.id_3_battery_target_charge_level","maxCurrent":16,"maxPower":10500,"minCurrent":6,"odometer":"sensor.id_3_odometer","phases":"","range":"sensor.id_3_battery_cruising_range","soc":"sensor.id_3_battery_level","status":"sensor.id3_evccstate","streaming":"true","template":"homeassistant","title":"ID.3","uri":"***","wakeup":""},"deviceProduct":"Home Assistant","id":12,"name":"db:12","type":"template"}
],
"tariffs": "currency: EUR
grid: # price using energy from the grid
type: fixed
price: ***** # EUR/kWh
zones: #Workaround to simulate dynamic price feautures
- days: Mo-Fr
hours: 2-5
price: ******
feedin: # price for feeding solar energy to the grid
type: fixed
price: ***** # EUR/kWh
co2: # carbon intensity forecast
type: template
template: green-grid-compass
clientid: *****
clientsecret: *****
zone: DE_LU # Zone code, [BE, DE_LU]
solar: # list of pv generation forecast (additive)
type: custom
interval: 5m
forecast:
source: mqtt
topic: ha2evcc/solcast
timeout: 1h
"mqtt": {"broker":"core-mosquitto:1883","user":"MQTT","password":"***","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
"influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
"shm": {"vendorId":"","deviceId":""},
"interval": 30,
"experimental": true
}
Logs
[site ] DEBUG 2026/02/27 12:17:37 ----
[lp-1 ] DEBUG 2026/02/27 12:17:37 charge power: 8550W
[lp-1 ] DEBUG 2026/02/27 12:17:37 charge currents: [12.5 12.7 12.6]A
[site ] DEBUG 2026/02/27 12:17:38 grid power: 122W
[site ] DEBUG 2026/02/27 12:17:38 battery 1 power: 3062W
[site ] DEBUG 2026/02/27 12:17:38 pv 1 power: 5787W
[site ] DEBUG 2026/02/27 12:17:38 battery 1 soc: 42%
[site ] DEBUG 2026/02/27 12:17:38 grid powers: [6 21 36]W
[site ] DEBUG 2026/02/27 12:17:38 !! solar production: accumulate set db:3 22263.400kWh meter total (was: Accumulated: 934.819kWh updated: 2026-02-27 12:17:08 +0100 CET meter: 22263.300kWh)
[site ] DEBUG 2026/02/27 12:17:38 !! solar production: accumulate moved db:3 from 934.819 to 934.919
[site ] DEBUG 2026/02/27 12:17:38 grid currents: [4.6 4.6 4.2]A
[site ] DEBUG 2026/02/27 12:17:38 site power: 3284W
[site ] DEBUG 2026/02/27 12:17:38 optimizer: optimizing 239 slots until 2026-03-02 00:00:00 +0100 CET: grid=623, feedIn=623, solar=239, first slot: 12m21s
[lp-1 ] DEBUG 2026/02/27 12:17:38 charge voltages: [228 227 230]V
[lp-1 ] DEBUG 2026/02/27 12:17:38 detected active phases: 3p
[lp-1 ] DEBUG 2026/02/27 12:17:38 session energy: 12.411kWh
[lp-1 ] DEBUG 2026/02/27 12:17:38 charge total import: 1328.372kWh
[lp-1 ] DEBUG 2026/02/27 12:17:38 charger status: C
[lp-1 ] DEBUG 2026/02/27 12:17:38 vehicle soc: 53%
[lp-1 ] DEBUG 2026/02/27 12:17:38 vehicle soc limit: 100%
[lp-1 ] DEBUG 2026/02/27 12:17:38 vehicle range: 158km
[lp-1 ] DEBUG 2026/02/27 12:17:38 soc estimated: 56.43% (vehicle: 53.00%)
[lp-1 ] DEBUG 2026/02/27 12:17:38 vehicle soc (estimator): 56%
[lp-1 ] DEBUG 2026/02/27 12:17:38 !! plan: plan time zero
[lp-1 ] DEBUG 2026/02/27 12:17:38 pv charge battery boost: -3952W = -3062W battery - 790W boost
[lp-1 ] DEBUG 2026/02/27 12:17:38 pv charge current: 14A = 13A + 0.968A (-668W @ 3p)
[site ] DEBUG 2026/02/27 12:17:38 solar forecast: accumulated 0.047Wh from 2026-02-27 12:17:08 +0100 CET to 2026-02-27 12:17:38 +0100 CET
[site ] DEBUG 2026/02/27 12:17:38 solar forecast: produced 934.919
[site ] DEBUG 2026/02/27 12:17:38 solar forecast: accumulated 1206.812kWh, produced 934.919kWh, scale 0.775
[site ] DEBUG 2026/02/27 12:18:07 ----
[lp-1 ] DEBUG 2026/02/27 12:18:07 charge power: 8555W
[lp-1 ] DEBUG 2026/02/27 12:18:07 charge currents: [12.5 12.7 12.6]A
[site ] DEBUG 2026/02/27 12:18:07 grid power: 62W
[site ] DEBUG 2026/02/27 12:18:08 battery 1 power: 3094W
[site ] DEBUG 2026/02/27 12:18:08 pv 1 power: 5825W
[site ] DEBUG 2026/02/27 12:18:08 battery 1 soc: 42%
[site ] DEBUG 2026/02/27 12:18:08 grid powers: [-3 6 27]W
[site ] DEBUG 2026/02/27 12:18:08 !! solar production: accumulate set db:3 22263.400kWh meter total (was: Accumulated: 934.919kWh updated: 2026-02-27 12:17:38 +0100 CET meter: 22263.400kWh)
[site ] DEBUG 2026/02/27 12:18:08 !! solar production: accumulate moved db:3 from 934.919 to 934.919
[site ] DEBUG 2026/02/27 12:18:08 grid currents: [-4.7 4.7 4.2]A
[site ] DEBUG 2026/02/27 12:18:08 site power: 3256W
[lp-1 ] DEBUG 2026/02/27 12:18:08 charge voltages: [228 228 230]V
[lp-1 ] DEBUG 2026/02/27 12:18:08 detected active phases: 3p
[lp-1 ] DEBUG 2026/02/27 12:18:08 session energy: 12.481kWh
[lp-1 ] DEBUG 2026/02/27 12:18:08 charge total import: 1328.442kWh
[lp-1 ] DEBUG 2026/02/27 12:18:08 charger status: C
[lp-1 ] DEBUG 2026/02/27 12:18:08 vehicle soc: 53%
[lp-1 ] DEBUG 2026/02/27 12:18:08 vehicle soc limit: 100%
[lp-1 ] DEBUG 2026/02/27 12:18:08 vehicle range: 158km
[lp-1 ] DEBUG 2026/02/27 12:18:08 soc estimated: 56.55% (vehicle: 53.00%)
[lp-1 ] DEBUG 2026/02/27 12:18:08 vehicle soc (estimator): 57%
[lp-1 ] DEBUG 2026/02/27 12:18:08 !! plan: plan time zero
[lp-1 ] DEBUG 2026/02/27 12:18:08 pv charge battery boost: -3984W = -3094W battery - 790W boost
[lp-1 ] DEBUG 2026/02/27 12:18:08 pv charge current: 14.1A = 13A + 1.06A (-728W @ 3p)
[lp-1 ] DEBUG 2026/02/27 12:18:08 set charge current limit: 14A
[site ] DEBUG 2026/02/27 12:18:08 solar forecast: accumulated 0.046Wh from 2026-02-27 12:17:38 +0100 CET to 2026-02-27 12:18:08 +0100 CET
[site ] DEBUG 2026/02/27 12:18:08 solar forecast: produced 934.919
[site ] DEBUG 2026/02/27 12:18:08 solar forecast: accumulated 1206.857kWh, produced 934.919kWh, scale 0.775
Version
v0.301.1
System
linux/arm64, CET +01:00
even though the battery is capable of providing more energy
Apparently not. Because- if it did- it would. And: you have limited the discharge power of your battery:
"maxdischargepower":5000
My battery is capable of discharging with up to 7,1 kW (and it does provide 7,1kW when mode Now is active without locking the battery). I only wanted to limit it to 5kW as I don't want the battery to work at it's maximum for a longer time during battery boost. Also, the configured maxdischargecurrent of 5 kW is far away from the 3,1 kW used in the log and screenshot above.
I will test it tomorrow again without setting the maxdischargecurrent. I will provide more logs then, also showing the 7,1 kW in now mode before activating pv mode with battery boost
Here my testresults:
I disabled maxdischargepower from batteryconfiguration. As I didn't have enough pv power I made following setup: 3 phase charging Min+PV (6-16A). After charging started (with ~1kW PV and the rest from my home battery) I increased the minimal current of wallbox configuration to 12 A. Here you can see that my battery can provide up to 7,1kW, rest is coming from grid.
I changed back my minimum current configuration of the wallbox to 6A, and after charging power was back to 4,1kW I enabled battery boost. After two interval cycle the charging was settled again with 0,4 kW grid
I again configured maxdischargepower = 5kW. During battery boost enabled this value is not respected as it looks the same as without configuring maxdischargepower
Has the configuration of maxdischargepower an effect to battery boost, or is it just used for optimizer?
This leads me to my open points (in my opinion bugs/improvements):
- My expectation would be that during battery boost the control loop is reducing the charge power until grid power is 0. Why is charging power not reduced by 1 A more to get rid of grid?
- As you can see in my test today my battery is capable of providing more power as the 3,1KW from yesterday. Even there, there was 0,8kW grid power. Why? Is evcc setting a (wrong?) fixed power to my battery?
My expectation would be that during battery boost the control loop is reducing the charge power until grid power is 0. Why is charging power not reduced by 1 A more to get rid of grid?
Thats not possible. At 0W grid one can‘t know if the battery could do more or not.
My expectation would be that during battery boost the control loop is reducing the charge power until grid power is 0. Why is charging power not reduced by 1 A more to get rid of grid?
Thats not possible. At 0W grid one can‘t know if the battery could do more or not.
Good Point. But considering maxdischargepower would be a way to get around this topic.