HOw to detect the flow of water through a pipe