hugokernel / esphome-water-meter

Measurement of water consumption directly from your water meter with a TCRT5000 like sensor and ESPHome.
MIT License
64 stars 10 forks source link

Gr8 work #1

Closed ESPmonster closed 2 years ago

ESPmonster commented 2 years ago

Had to just thank you for this great work. The setup is simple of course but they way you implented the software is great! Merci. BTW, for myself I added the new measurement/total_increasing Esphome state classes (preparing for the inclusion of 'water' in the energy dashboard). Also, I used the utility meter functionality to calculate hourly, daily, etc. counts instead.

1 question though: why do you multiply the pulse rate?

` filters:

Divide by 60

  - multiply: 0.0167`
ESPmonster commented 2 years ago

I understand now (the pulse counter puts out a pulse/min rate so you multiply bij 1/60)