I build a water meter using for this moment : mysensors ( https://www.mysensors.org/build/pulse_water but now ->
ESPeasy is working fine with the some sensors, but i want to have the same 2 information things : total water usage en water flow .
The input voor de total usage is easy, but how can i setup the water flow ( L/min) :
Can somebody help me with the formula's / options or work around(s)?
Water pulse counter
Moderators: grovkillen, Stuntteam, TD-er
Re: Water pulse counter
Hello,
I can't say much to mySensors on an Arduino, inever used that.
A solution might be to use just the pulse sensor with an ESP and the "Pulse Counter" task.
A formula to adapt pulses from the sensor into flow volume isn't too difficult.
It's just a division, as you get "n" pulses per liter or m³. Look at the water counter, it should be printed
there as "rotations per liter or m³". The little "wheel" for example on the pic has 6 "wings". So if you read
"100 rotations per liter" you will get 600 pulses per liter. Then the formula is "%value% / 600".
The summing up to a total should be done within the home control server, FHEM, domoticz or whatever.
I won't recoomend to use the ESP for a "total" summarizing.
If you cut power or a power outage occurs the data will be lost.
In theory it is possible to store this in the flash ram of the ESP.
ESPEasy does not to that for a reason. The flash chip isn't designed for
permanent writing, it will wear out soon, this breaking the ESP.
Regards
Shardan
I can't say much to mySensors on an Arduino, inever used that.
A solution might be to use just the pulse sensor with an ESP and the "Pulse Counter" task.
A formula to adapt pulses from the sensor into flow volume isn't too difficult.
It's just a division, as you get "n" pulses per liter or m³. Look at the water counter, it should be printed
there as "rotations per liter or m³". The little "wheel" for example on the pic has 6 "wings". So if you read
"100 rotations per liter" you will get 600 pulses per liter. Then the formula is "%value% / 600".
The summing up to a total should be done within the home control server, FHEM, domoticz or whatever.
I won't recoomend to use the ESP for a "total" summarizing.
If you cut power or a power outage occurs the data will be lost.
In theory it is possible to store this in the flash ram of the ESP.
ESPEasy does not to that for a reason. The flash chip isn't designed for
permanent writing, it will wear out soon, this breaking the ESP.
Regards
Shardan
Regards
Shardan
Shardan
Who is online
Users browsing this forum: No registered users and 16 guests