Water sensor with node RED

Hello I have a wemos D1 mini to count the pulses of the water sensor
the wemos resets the value of the pulses at every power off.

Is it possible with node red to create a sensor that can keep the total count of liters even after the reset of the tasmota?

thanks

Hello and welcome to the forum.

Short answer... Yes :wink:

Long answer may depend on how you want to store and/or display the data and what have you tried so far.

I have senor on tasmota with the pulse

image

I have a sensor on HA with 3 metere (daily , montly and yearly) but I want a totalizer of all consume but with th reset of tasmota I can view total liter of house of all year

image

thanks

If you want to store data over a period of months or years then I recommend using Influxdb to store the data. You can extract it to display simple stats in node red or you can use Grafana to give you more sophisticated views.

How often does the water meter send a pulse?

I want not ad all history but only total counter.

I use this schema with 94 pulse every liter

In that case you can keep the total in persistent context. Check the node red docs for using context.