I read my electricity counter through modbus every five minutes and show consumption in kWh and power in W. Works perfectly. One niggle is, power is an instantaneous value. At five minutes interval it can miss the microwave, toaster or water cooker completely. On the other hand it may just catch the fridge’s startup surge and display that for the full five minutes. I therefore created a delta helper of the consumption readings with time as hours and prefix milli to divide by 1000. Works as intended and correctly displays the average power over the last five minutes in W.
But: The unit is shown as kWh/h. This is a) ridiculous (h/h) and b) wrong, it’s W not kW. I could find no way to fix that, neither in the helper setup nor in the frontend.
What’s the unit of the source sensor?
It seems to be kWh, which is definitely wrong for a Power sensor
It is and of course it’s not a power sensor but an energy counter. It’s the delta function, i.e. the derivative by time, that makes a power from it. So far the unit given, kWh/h is correct if redundant. It’s the division by 1000 through choosing the “milli” prefix (in this case suppressed for some reason or other, in others not), that makes it wrong.