Hi, I recently added some PDUs and power measuring plugs in my homelab and want to track consumption and cost in Home Assistant.
I've created two sensors from templates:
- Total Energy: A sensor with
total_increasingthat sums the consumption of all individual devices. Unit isWhand compared to my devices seems to be correct. - Total Energy kWh: A sensor that takes the
Total Energysensor and multiplies by 1000 to getkWh. I created this sensor becuse I had the same problem when I used theTotal Energysensor directly in the energy panel. I suspected that theWhunit may not be supported but it seems that bothWhandkWhhave the same problem.
My daily consumption is between 2-4 kWh. This equates to 2000-4000Wh. However, the energy panel is showing me between 500kWh to 600kWh consumption per hour. This widely skews the cost calculations and makes the panel useless to me.
The panel uses the Total Energy statistic at the moment (visible in the first screenshot).
Does anyone know what's going on here?