Thanks, Ray and Samer (and whoever else may have contributed). This is an impressive bit of engineering 🙂
Is the flow rate available through a API? This would be great to have.
What happens to the flow sensor when a valve is not active? Since I want to see other activities (e.g. a pool autofill valve, leak detection, etc.) I would like the information to be constantly available. Perhaps you could accumulate any flows that happen when no known zone is active to a zone named “Unknown”, that would also be logged.
By the way, I highly recommend going with a gauge with a .1 gal resolution. Even at 30 GPM, that is only 5 ticks per second for the controller to handle, so it’s not overloading the controller, but gives much better real time flow information.