Capture temperature data from a Lelit Mara X espresso machine via a serial connection and persist in a database and expose via grafana.
Docker will persist DB storage using volumes so restarts won't cause data loss.
Tested on a Raspberry Pi (Raspberry Pi OS Stable - Debian 11 Bullseye).
All credit to the author of this post for doing so much of the ground work!
Run grafana / influxDB / ingestion via docker-compose with the following in a terminal
[sudo] docker-compose up --build
This can now be backgrounded (Ctrl-z
)
- Visit http://localhost:3000 in a browser on the same machine to view grafana
- Default username
admin
- Default password
admin
- You'll be prompted to change these
- Default username
- Navigate to Dashboards -> Manage (http://localhost:3000/dashboards)
- Open Mara X folder and choose dashboard
- Determine IP address of raspberry pi on your local network
- Something like
192.168.1.160
- Visit http://192.168.1.160:3000 via a browser
- Something like
Alternatively, setup tailscale for access from outside your local network.
- Lelit Mara X PL62 espresso machine (link)
- Serial to USB cable (link)
- Computer capable of running linux / docker, like a raspberry pi (link)
- Mara X logs cleared daily
- Influx DB retention policy set to 2 weeks, see here