kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.99k stars 499 forks source link

Measuring amount of water and electricity #1158

Closed garudaonekh closed 2 years ago

garudaonekh commented 2 years ago

Hi, I need to measure the amount of water when I turn on a relay(Pump). I have a flow meter(pulse counter) and a pump(output). My question is how to measure the amount of water each time of turn on/off the pump. What complicated the matter is I have 5 pump connected with the same flow meter.

Any suggestion?

kizniche commented 2 years ago

You can use the Generic Pump Output and calibrate them to the flow, then a volume and total volume is stored whenever the output is turned on/off.

garudaonekh commented 2 years ago

But we are using flow sensor, so we need to bind pump and sensor

kizniche commented 2 years ago

You would have to create an output to do that, however you will always run into an issue if you ever have more than one pump on at a time.

garudaonekh commented 2 years ago

multiple pump but they are open sequentially. How about custom function or conditional function? Can we use that instead of writing a new output?

kizniche commented 2 years ago

no, an output is the mot appropriate.

garudaonekh commented 2 years ago

Ok thanks.