Advanced water flow meter: Real-time monitoring and control of water flow