In my house I measure all kind consumables (electricity, heating energy, …). Only the water consumption was missing up to know, due to the analog nature of my water meter / water clock.
UPDATE: a new hardware version for the ESP32-CAM module, including OV2640 is available. This makes the hardware a lot easier and cheaper
I have developed a selfmade solution, that works fine and reliable and I want to share it with the community for house automatiziation and controll, in order to get into discussion and further input for improvements.
The systems relies on a camera with ESP822-controller, which regularly takes an image of the water meter / water clock. This image is going through an automated image processing, which digitalizes the counter value and provides it in a simple http-server, that can than be transfered to any database for further processing:
The compoments for the signal chain shown above are published on Thingiverse (Hardware) or Github (Software, server, …). There you find the software for image processing, 3D-print files and electrical configuration of the camera system including lightning:
- System overview: https://github.com/jomjol/water-meter-measurement-system
- Docker Image for image processing and automated readout: https://hub.docker.com/r/jomjol/wasserzaehler
Looking forward to your feedback and questions.