Make your analog meter snitch on itself for under €10
It turns a cheap ESP32-CAM into an AI meter reader for water, gas, and electricity.

What it does
AI-on-the-edge-device is firmware for an ESP32-CAM that periodically photographs analog utility meters—water, gas, or electricity—and extracts the current reading using on-device TensorFlow Lite inference. It handles the full computer-vision pipeline internally, from image alignment and ROI extraction to digit recognition, then pushes the result to an MQTT broker, InfluxDB, or a REST endpoint.
The interesting bit
Instead of uploading photos to the cloud for processing, all inference happens on the microcontroller itself. The project squeezes an entire CV pipeline—feature detection, alignment, illumination, and TFLite digit recognition—onto hardware that costs less than €10 and fits in a 3 cm × 4.5 cm × 2 cm case.
Key highlights
- Runs entirely on the ESP32; no cloud dependency for image recognition
- Ships with a web interface for administration and over-the-air firmware updates
- Integrates with Home Assistant, InfluxDB v1/v2, MQTT, and a REST API
- Includes 3D-printable housings tailored for water, power, and gas meters
- Requires only an ESP32 board with a compatible camera and an SD card
Caveats
- Developer capacity is limited, so several feature requests in the backlog are not currently being pursued
- Initial firmware installation requires a USB connection, and the docs note you’ll need “some practical skills”
Verdict
Home-automation enthusiasts stuck with analog meters should take a look; anyone expecting a polished consumer gadget or cloud-native SaaS will be disappointed.
Frequently asked
- What is jomjol/AI-on-the-edge-device?
- It turns a cheap ESP32-CAM into an AI meter reader for water, gas, and electricity.
- Is AI-on-the-edge-device open source?
- Yes — jomjol/AI-on-the-edge-device is an open-source project tracked on heatdrop.
- What language is AI-on-the-edge-device written in?
- jomjol/AI-on-the-edge-device is primarily written in C++.
- How popular is AI-on-the-edge-device?
- jomjol/AI-on-the-edge-device has 8.5k stars on GitHub.
- Where can I find AI-on-the-edge-device?
- jomjol/AI-on-the-edge-device is on GitHub at https://github.com/jomjol/AI-on-the-edge-device.