feat: expose power consumption for heating, dhw and total#667
feat: expose power consumption for heating, dhw and total#667CFenner merged 25 commits intoopenviess:masterfrom
Conversation
…mption.heating and heating.power.consumption.total
…ow 2025-11-18. That seems to have fixed some values
def getPowerConsumptionHeatingYear(self):
def getPowerConsumptionHeatingThisYear(self):
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
…wattHour, that can be stored in either properties.day.unit or properties.unit.value
…nDomesticHotWaterThisYear
|
There was one thing I was unsure abouat
Not sure if this could be an issue. |
|
Merge from upstream |
…st_Vitodens200W, test_Vitodens200W_B2HF, test_Vitodens222W, test_Vitodens300W
…itovalorPT2, line 110, column 20
|
Hi @CFenner . |
|
Hi @CFenner I tested the PR, by setting up
|
|
Lets go :) |
|
Anyone here? |
|
Hi @tlinnet, just a heads up that there are related power consumption efforts happening:
All add power consumption and sensor features for heat pumps - complementary work with no conflicts. Mentioning in case you or the maintainers want to coordinate the reviews. |
|
Hi @CFenner |
- Revert HeatingRod component class back to direct methods on HeatPump (preserves existing getHeatingRod* API for backwards compatibility) - Add return type hints to getPrimaryCircuitPumpRotation and getTargetTemperature - Resolve merge conflicts from openviess#667 merge
… heating rod stats (#689) * feat(heat pump): add COP, compressor sensors, refrigerant circuit and heating rod stats Add comprehensive heat pump monitoring for Vitocal 300-G and similar devices: HeatPump class: - COP methods: getCoefficientOfPerformance{Heating,DHW,Total,Cooling,Green} - Compressor: getPower, getModulation (with units) - Refrigerant sensors: getHotGas/SuctionGas pressure and temperature, getLiquidGasTemperature - Runtime: getMainECURuntime, getHeatingRodRuntimeLevel{One,Two} - Configuration: buffer temp max, damping factor, heater approvals - Heating rod power consumption summary (DHW and heating) HeatingDevice class: - Primary circuit pump: getPrimaryCircuitPumpRotation (with unit) Compressor class: - Load class methods now support fallback to statistics.load path - Sensor methods: getInlet/Outlet/Overheat temperature, getInletPressure New CoolingCircuit class: - getType, getReverseActive Closes #677 * Remove deprecated COP green and split out CoolingCircuit - Remove getCoefficientOfPerformanceGreen (heating.cop.green is deprecated, replaced by heating.cop.photovoltaic) - Move heating.cop.green to deprecated properties list - Remove CoolingCircuit class (will be in separate PR) * Refactor heating rod methods into HeatingRod component class Extract all getHeatingRod* methods from HeatPump into a dedicated HeatingRod class, consistent with Compressor/Condensor/Inverter. Access via device.heatingRod.getStarts() etc. * Address review: revert HeatingRod class, add missing types - Revert HeatingRod component class back to direct methods on HeatPump (preserves existing getHeatingRod* API for backwards compatibility) - Add return type hints to getPrimaryCircuitPumpRotation and getTargetTemperature - Resolve merge conflicts from #667 merge * Remove unnecessary blank lines in getTemperature method --------- Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>

#664