Loadpoint: log smart cost active
This commit is contained in:
parent
e761b3d553
commit
3de6e9d272
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue