michaelarnauts / home-assistant-comfoconnect

Home Assistant integration for Zehnder ComfoAir trough a Zehnder ComfoConnect LAN C.
Other
31 stars 13 forks source link

Energy consumption is not displayed correctly #88

Open DrZoidberg89 opened 1 day ago

DrZoidberg89 commented 1 day ago

Hello,

I have the problem that the energy consumption is not displayed correctly in the energy dashboard.

It was always wrong before the update. It always added the consumption in 1kWh steps and then reduced it to show the correct consumption: Bildschirmfoto 2024-10-04 um 10 44 23 The only problem is that the tot al usage of the appliances shows the consumption but not the deduction. In other words, the value is incorrect.

Now, after the new update, the whole thing is even worse because it shows me 169kWh but deducts 169.41kWh, which is actually a negative consumption. Which can't be right.

Bildschirmfoto 2024-10-04 um 10 45 14

Does anyone know the problem and how to fix it?

michaelarnauts commented 1 day ago

The problem is that the sensor is only showing increments of 1kWh, and your ventilation unit isn't using a kWh per day, so it only gets updated every few days.

A fix could be to use the integral integration and use the real-time sensor.ventilation_power_usage to create a better total with increments every few seconds. This can then be added to the energy dashboard.

This is how I did this.

Screenshot_20241004-164145