I’m using Graphane for data analysis, where I can group the data in various ways.
It would be nice to be able to use the utility metter with a never cycle option, so I can group this sensor in many ways in grafana.
Today I’m doing this manually, but it would be interesting to be able to use the utility metter resources for this. Something like
cycle: never
tom_l
July 26, 2021, 1:50pm
2
That is just the original sensor you are feeding the utility meter.
No, because if the original sensor reset, or decrease, utility meter can always catch the global sum.
tom_l
July 26, 2021, 2:12pm
4
I’ve never tried feeding a daily energy sensor to the utility meter on a longer cycle. I wasn’t sure how it would deal with the reset. I only use an ever increasing sensor.
But if you say it works then your request has some merit. Don’t forget to vote for your own request.
1 Like
alexdelprete
(Alessandro Del Prete)
September 6, 2021, 6:56am
5
ARafaelSF:
No, because if the original sensor reset, or decrease, utility meter can always catch the global sum.
Exactly. My meter for example, if I reconfigure its networking, it resets, otherwise it is a lifetime sensor meter.
But I’m using utility meter to address this, this is the config:
total_energy_production:
source: sensor.e4u_energy_production
hourly_energy_production:
source: sensor.e4u_energy_production
cycle: hourly
daily_energy_production:
source: sensor.e4u_energy_production
cycle: daily
weekly_energy_production:
source: sensor.e4u_energy_production
cycle: weekly
monthly_energy_production:
source: sensor.e4u_energy_production
cycle: monthly
yearly_energy_production:
source: sensor.e4u_energy_production
cycle: yearly
As you can notice, total_energy_production
has no cycle option, that means “never reset”.
2 Likes
tom_l
September 6, 2021, 7:07am
6
Huh. Well there you go. The cycle does appear to be an optional configuration variable.
Closing this request as the feature is already available.
1 Like