Skip to content

Commit

Permalink
chore: more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Oct 20, 2024
1 parent 27e45a2 commit 1bd521f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/loadpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -1341,6 +1341,8 @@ func (lp *Loadpoint) pvMaxCurrent(mode api.ChargeMode, sitePower, batteryBoostPo
var scaledTo int
if lp.hasPhaseSwitching() && lp.phaseSwitchCompleted() {
scaledTo = lp.pvScalePhases(sitePower, minCurrent, maxCurrent)
} else if lp.getBatteryBoost() != boostDisabled {
lp.log.DEBUG.Printf("!! pvScalePhases phasesSwitched: %v, %v", lp.phasesSwitched, time.Since(lp.phasesSwitched))
}

// calculate target charge current from delta power and actual current
Expand Down

0 comments on commit 1bd521f

Please sign in to comment.