I use the following entities to measure the energy consumption of various appliances:
Power (W) from various Shelly PMs → Riemann Integral Helper for continuous energy (kWh) → Utility Meters for hourly, daily, weekly, monthly and yearly energy consumption (kWh).
If I understand the Utility Meter documentation correctly, then I would need to turn off the “Periodically resetting” option because the source (Riemann Integral Helper) normally never resets.
Is that correct? How did you set this parameter?
I just want to be sure before creating dozens of utility meters and starting the new year with a clean measurement.
Yes that is correct. It only helps if your Riemann Sum sensor is unavailable for any length of time though.
It’s a new(ish) option and I’ve never turned it off (the default is on). Though I probably should. None of my energy sensors reset although my PV array sensor does become unavailable occasionally. The bigger issue is that my PV energy sensor is woefully inaccurate (SMA energy meter) so it’s probably not worth it to me until I install my IoTaWatt.
OK, as I have to create the utility meters from scratch anyway, I will switch off the option.
Then if a Riemann sensor is unavailable, the values between the last available and the first new one would all be added to the current period of the utility meter.
I don’t see why the Riemann sensor should ever be unavailable … Well, unless I change my naming concept for entities again and don’t realize that the utility meters don’t have a valid entity ID for the Riemann sensor .