Fix initial charge power estimate zero when only PV meter installed due to current not updated again (follow-up to 3354cd4)
This commit is contained in:
parent
641d7d23d6
commit
b99f15b173
1 changed files with 2 additions and 1 deletions
|
|
@ -435,7 +435,8 @@ func (lp *LoadPoint) update() {
|
|||
lp.updateMeter("pv", lp.PVMeter, &lp.pvPower)
|
||||
lp.updateMeter("charge", lp.ChargeMeter, &lp.chargePower)
|
||||
|
||||
// update ChargeRater
|
||||
// update ChargeRater here to make sure initial meter update is caught
|
||||
lp.bus.Publish(evChargeCurrent, lp.targetCurrent)
|
||||
lp.bus.Publish(evChargePower, lp.chargePower)
|
||||
|
||||
// check if car connected and ready for charging
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue