Skip to content

v2.2.6

Choose a tag to compare

@hoizi89 hoizi89 released this 08 Jun 13:45

🐛 Bug Fixes

Self-consumption not counted during export

With a net PV sensor (e.g. "inverter into house minus AC charging"), the formula self-consumption = PV − grid export subtracts the export twice, so during full-battery export periods no self-consumption was recorded — even though PV was still covering the house load. (Same origin as hoizi89/pv_management#14.)

Fix: when both a house-consumption and a grid-import sensor are configured, self-consumption is now derived as house consumption − grid import — independent of battery, state-of-charge, export direction and PV-sensor type. Falls back to the previous PV−export formula when those sensors are not configured. Adds two persisted baselines with lazy-init migration.


Full Changelog: v2.2.5...v2.2.6