MCPcopy Create free account
hub / github.com/evcc-io/evcc / chargerUpdateCompleted

Method chargerUpdateCompleted

core/loadpoint.go:1979–1981  ·  view source on GitHub ↗

chargerUpdateCompleted returns true if enable command should be already processed by the charger (so we can try to sync charger and loadpoint)

()

Source from the content-addressed store, hash-verified

1977
1978// chargerUpdateCompleted returns true if enable command should be already processed by the charger (so we can try to sync charger and loadpoint)
1979func (lp *Loadpoint) chargerUpdateCompleted() bool {
1980 return time.Since(lp.chargerSwitched) > chargerSwitchDuration
1981}
1982
1983// phaseSwitchCompleted returns true if phase switch command should be already processed by the charger (so we can try to sync charger and loadpoint and are able to measure currents)
1984func (lp *Loadpoint) phaseSwitchCompleted() bool {

Callers 2

pvScalePhasesMethod · 0.95
shouldBeConsistentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected