by László Bortel
Version 1 (January 30, 2025)
Download (18 downloads)
An OCR script that periodically logs gas meter counter into a file.
Regexp processing of raw OCR result must be tailored to the given gas meter face plate. Actual example is 5.3 digit counter and 10 digit serial number for a flogiston type purely mechanical gas meter, widely used in Hungary.
Periodic OCR is 1 minute by default, controlled by the wait block at the beginning of the flow. New value is logged only if the counter changed.
It has less than 30 blocks, so it runs in Automate free, but it does not upload the results! It also lacks consistency checks, so it logs formally correct, but wrong counter values. Buy Automate and use full version if you need upload and/or consistency check.
Place the android device in front of the gas meter, well aligned with the faceplate and in focus. Use camera app for proper alignment! Avoid reflections for better results. OCR block uses flashlight, so it can be used in a dark/dim environment as well.