-
Notifications
You must be signed in to change notification settings - Fork 114
feat: add COP, compressor power, refrigerant sensors and cooling circuits for Vitocal 300-G #688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…uits for Vitocal 300-G Add comprehensive support for heat pump features found on Vitocal 300-G (CU401B): HeatPump class: - COP methods: getCoefficientOfPerformanceHeating/DHW/Total/Cooling/Green - Compressor: getPower, getPowerUnit, getModulation, getModulationUnit - Pressure sensors: getHotGasPressure, getSuctionGasPressure (with units) - Temperature sensors: getHotGasTemperature, getLiquidGasTemperature, getSuctionGasTemperature - Runtime: getMainECURuntime, getHeatingRodRuntimeLevelOne/Two - Configuration: buffer temp max, damping factor, heater approvals - New CoolingCircuit class with getType, getReverseActive HeatingDevice class: - Primary circuit pump: getPrimaryCircuitPumpRotation (with unit) - Circuit temperature: getTemperature - Fallback paths for hotWaterStorage vs dhwCylinder naming variants Compressor class: - Load class methods now support fallback to statistics.load path Includes test file and response data for Vitocal300G_CU401B device.
|
Related PRs for coordinated review:
cc @CFenner |
|
Thanks for the heads up! My device (Vitocal 300-G / CU401B) exposes both naming conventions in the API response with the same values: I added the fallback to handle both paths, but didn't notice the Removed the fallback and reverted to using only |
Revert DHW temperature methods to use only the current dhwCylinder API paths. The hotWaterStorage paths were deprecated in 2024 and should not be reintroduced.
|
@lackas : will this work for Viessmann 200-G heatpump as well? |
|
@dagobert00 There's no Vitocal 200-G test data in the repo yet, so we can't say for certain. The closest comparison is the Vitocal 300-G — also a ground-source heat pump — and its older dump from 2021 didn't expose any of these features either. Viessmann has significantly expanded their API data since the EU Data Act (Verordnung (EU) 2023/2854) came into effect, which is why the fresh 300-G dump now has COP, refrigerant sensors, cooling circuits, compressor power, etc. Since both the 200-G and 300-G are ground-source heat pumps, there's a good chance your device now exposes some or all of these features too. Could you grab a fresh API dump and share it? That way we can verify what your 200-G supports and add test coverage for it. See the wiki for instructions. |
|
Closing as superseded by #689, which includes all features from this PR plus additional heating rod power consumption methods. The getTemperature method was renamed to getTargetTemperature per review feedback. |
Summary
Add comprehensive support for heat pump features found on Vitocal 300-G (CU401B):
HeatPump class:
getCoefficientOfPerformanceHeating/DHW/Total/Cooling/GreengetPower,getPowerUnit,getModulation,getModulationUnitgetHotGasPressure,getSuctionGasPressure(with units)getHotGasTemperature,getLiquidGasTemperature,getSuctionGasTemperaturegetMainECURuntime,getHeatingRodRuntimeLevelOne/TwoCoolingCircuitclass withgetType,getReverseActiveHeatingDevice class:
getPrimaryCircuitPumpRotation(with unit)getTemperaturehotWaterStoragevsdhwCylindernaming variantsCompressor class:
statistics.loadpathCloses #690
Test plan
tests/test_Vitocal300G_CU401B.pytests/response/Vitocal300G_CU401B.json