How to record the readings of a water flow meter?