evcc
evcc copied to clipboard
Refactor: split charger into current- and power controllers
This PR is an investigation into splitting chargers into:
-
CurrentController: typically wall boxes -
PowerController: typically heating devices, some chargers (ChargeX) - no controller ability beyond on/off: switch sockets
TODO
- [ ] move all current control and phase switching logic from
Loadpointtocore.currentController - [ ] refactor
switchSocketto declare required power and removeControllerinterfaces - [ ] think about refactoring
ChargeStateas part ofCharger, potentially separate PR
Refs https://github.com/evcc-io/evcc/pull/6301, https://github.com/evcc-io/evcc/pull/7207
Amperfied solar.connect kann auch mit Leistung statt Strom gesteuert werden und schaltet darüber auch selbstständig zwischen 1P/3P.
Just a note: with EEBUS both variants should be possible in the same charger implementation as it depends on the chargers EEBUS version and implementation which is being supported. And it can also make sense to use currents e.g. for ISO connected cars and power for PWM.