For those of us, that are not fortunate enough to have a smart meter, or who’s meter is out of wifi range it would be great to be able to manually enter manual meter readings in regular intervalls, to participate in the great new energy features introduced in HA 2021.08.
The difference between two readings could be distributed evenly to the timeslots between the readings.
I know this is not ideal, as it would not show the daily distribution (unless you take hourly readings ) but it would allow us unfortunate to join into the fun.
Use the input number as the input to a utility meter.
Unless the utility meter requires an entity in the sensor domain. In which case, use a template sensor to read your input number and feed the utility meter with the template sensor.
Are you saying your energy meter does not display a running total?
That is exactly what the Utility Meter does.
So if you input your daily reading (running total) into the input_number the Utility Meter integration will determine how much extra energy has been consumed since the last reading.
All you have to do is make sure you enter the new reading within a short time (<60 sec) of taking it so that the time stamps don’t skew the statistics too much.
Ich sorry my last post was worded confusing. I edited it, but you were too fast
I already have a template base sensor for the utility meter. When I set this base sensor to the new value (representing consumed energy since installation of the meter, I guess this is what you call the running total?) the utility meter adds this value to the previous value. I would have expected that the difference to the previous value would be calculated. But maybe this is a misconception.
So, what you are saying is, I can read my meter once a month and would get an energy-dashboard with everage hourly consumption?
The utility meter resets its count at the beginning of each cycle.
So if you were entering information weekly or monthly a daily cycle would be pointless. It would read zero most of the time (except for each day after you entered a reading).