I got a msg.payload that gives me a number for example 62123 and it is still counting liters of water that are flowing in my home. (I receive it from a Mqtt)
Its not possible to reset it in the Mqtt device because I can not access it by software.
Is there a function that sets this number to zero and then starts counting from 1 upwards.
I would like to know my daily water usage and reset the counter every day, week, month, ...