bosch-thermostat / home-assistant-bosch-custom-component

HA custom component for Bosch thermostats
Apache License 2.0
216 stars 45 forks source link

energy consumption adds some (huge) amount every hour #346

Closed CanisLupus-42 closed 8 months ago

CanisLupus-42 commented 10 months ago

Describe the bug The 'energy consumption' sensor steadily increases, when the the burner is active (as expected) . But every hour it jumps up by a huge amount, even if the burner is not in use. This amount added hourly seems to be increasing over time, but I can't figure out by how much or on which basis. The problem seems to have been around since I integrated the heating in HA 6 weeks ago. I just started looking at the energy values a few days ago and therefore noticed it.

Expected behavior I cleaned up the data and eliminated all the hourly additions. The resulting values seem valid and roughly match the gas meter. In conclusion: The expected behavior would be a realistic counter, without the unexplicable hourly additions.

Screenshots

sensor.energy_consumption over the last 24 hours, the hourly jumps are clearly visible: grafik

sensor.energy_consumption in the long run. As the hourly steps are increasing, there is an exponential growth over time: grafik

Corrected graph, by deleting the hourly increases: grafik

Version

Additional context I integrated the heating system based on a 'GB212-15 H IP' and a 'RC-310' localy via HTTP.

honikos commented 10 months ago

This is a known issue. My is about, if not exactly, 10 times to high (Bosch/Buderus heat pump). A template sensor should fix it (divided by 10). energy 2023-12-05 08-56-01

mknausde commented 9 months ago

Actually it seems to be both issues mentioned. For me, with a Buderus heat pump it is also too high by a factor of 10 and it adds roughly every hour a value with 19xx kWh to the data. Sometimes this gets neutralized by a corresponding -19xx kWh value. After deleting all those +/-19xx values and dividing the remaining by 10 it seems pretty close to where it should be, compared to the Buderus App statistics.

pszafer commented 8 months ago

You can use new statistic API where data are more accurate. Follow wiki for configuration info https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/wiki/New-API-support