From 089d01ab30bd1f988fa238829bb08d0b0d369585 Mon Sep 17 00:00:00 2001 From: andig Date: Thu, 11 May 2023 08:45:03 +0200 Subject: [PATCH] Fix starting when buffer above buferStartSoc --- core/loadpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/loadpoint.go b/core/loadpoint.go index 4629a0963..d9f859d3b 100644 --- a/core/loadpoint.go +++ b/core/loadpoint.go @@ -1094,7 +1094,7 @@ func (lp *Loadpoint) pvMaxCurrent(mode api.ChargeMode, sitePower float64, batter lp.log.DEBUG.Printf("pv charge current: %.3gA = %.3gA + %.3gA (%.0fW @ %dp)", targetCurrent, effectiveCurrent, deltaCurrent, sitePower, activePhases) // in MinPV mode or under special conditions return at least minCurrent - if (mode == api.ModeMinPV || batteryBuffered && lp.charging()) && targetCurrent < minCurrent { + if (mode == api.ModeMinPV || batteryStart || batteryBuffered && lp.charging()) && targetCurrent < minCurrent { return minCurrent }