Installing a cheap water flow meter with attached Raspberry Pi ZeroW

I installed an $9 water flow meter into the path of my pool fill valve to watch for excessive filling or perhaps leaks (yep, I've had them - I should make a video about fixing that!). The water flow meter is attached to a Raspberry Pi (Rpi) ZeroW which counts the pulses from the meter and if the count goes over the limit, it emails me. I didn't attach the code but if you'd like it just message me and I can send it or put it into the description. The flow meter's data line (yellow wire) is attached to the Rpi GPIO4 connection, power/VCC (red wire) is attached to 3.3V and of course ground (black wire) is attached to ground. Here are some useful links: Water flow meter: https://smile.amazon.com/gp/product/B... Raspberry Pi GPIOs: https://www.raspberrypi.org/documenta... Nice video on the Hall effect:    • What is Hall Effect and How Hall Effect Se...   Code can be found here: https://github.com/ravra/waterFlowMeter