Hi,
i am using Version 2024.1.5 and since beginning with HA I have issues with the energy dahboard calculating my used energy.
I am collecting my Data from my Kostal Smart Energy meter via Modbus.
As an example the energy I am consuming from net.
This is part of my yaml for the modbus:
- name: netzbezug_energie_ksem
unique_id: netzbezug_pv
slave: 1
scale: 0.0001 # wegen kWh (0.1/1000)
precision: 3
address: 0
scan_interval: 5 # Defines the update interval of the sensor in seconds.
#count: 4 # Anzahl zu lesenden Register
input_type: holding
data_type: uint32
device_class: energy
state_class: total_increasing
unit_of_measurement: kWh
The sensor is collecting the used energy at moment totally fine. I am comparing it with the Energy Meter itself and the values are the same.
Now the problem starts. Looking at the bought energy per day in Home Assistant I a buying round about 300-350 Kwh per day and looking in my Smart Energy Meter and my Energy Counter I am buying round about 15-20 kwh per day.
This is a hughe difference. I think the problem I have the energy dashboard is simply sum up the values which is wrong at the end as the calculation must be something like sum of measures divided by number of datapoints to get the avg energy consumption per hour / day
Any Idea how to get the right values in my energy dashboard?