From 3de6e9d272197aa5811faa7e095e4c0da9d2e29b Mon Sep 17 00:00:00 2001 From: andig Date: Thu, 23 Jan 2025 12:29:53 +0100 Subject: [PATCH] Loadpoint: log smart cost active --- core/loadpoint.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/loadpoint.go b/core/loadpoint.go index 1e45db4a1..1dc72aec9 100644 --- a/core/loadpoint.go +++ b/core/loadpoint.go @@ -1850,7 +1850,9 @@ func (lp *Loadpoint) Update(sitePower, batteryBoostPower float64, rates api.Rate case mode == api.ModeMinPV || mode == api.ModePV: // cheap tariff + rate, _ := rates.Current(time.Now()) if smartCostActive { + lp.log.DEBUG.Printf("smart cost active: %.2f", rate.Price) err = lp.fastCharging() lp.resetPhaseTimer() lp.elapsePVTimer() // let PV mode disable immediately afterwards