Utility Meter that doesn’t reset?

Hey, I have a Nodemcu with espeasy and it reads the pulse counts from a water meter. The Value is transmitted over Mqtt. Because the espeasy deletes the value when it will be restarted I created a utility meter for daily, weekly, monthly and yearly. This works fine. If the esp restarts mid day it will still upcount. But after a year it will be resetted. Basically I want nearly the same value from the physical meter.
Has somebody a idea? Would be nice if you could help me. :slight_smile:

Just omit the cycle