juliender
(Juliender)
January 21, 2023, 7:19am
1
Hi,
I want to keep the total energy consumed through the Shelly, even after power outage ( just lost the value recently)
Is there a type of HA sensor “overlay” that could avoid the Shelly energy value to be diminished ?
I use it to monitor my desktop room and exclude it from my main home energy measurement.
tom_l
January 21, 2023, 7:26am
2
As long as the Shelly goes to the state “unavailable” when the power to it is off (it does with the core integration) then feeding the state to a Utility Meter helper will remember the value.
juliender
(Juliender)
January 26, 2023, 10:00am
3
That worked, I didn’t loose my utility meter state, during previous reset of shelly energy sensor
1 Like
krkr
July 8, 2023, 8:33pm
4
Should the option “Periodically resetting” be enabled for this solution to work properly?
juliender
(Juliender)
July 19, 2023, 9:50am
5
That’s up to you.
Personnally I dont enable periodical reset, I prefer to calculate last 24h average myself with an influxDB query and template sensor
1 Like