Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.82 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.82 KB

Mara X Monitoring

Granfana Preview

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!

How to run

1. Start everything running

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)

2. View Graphs

  • 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
  • Navigate to Dashboards -> Manage (http://localhost:3000/dashboards)
  • Open Mara X folder and choose dashboard

3. Setup external access (Optional)

  • Determine IP address of raspberry pi on your local network

Alternatively, setup tailscale for access from outside your local network.

What do I need?

  • Lelit Mara X PL62 espresso machine (link)
  • Serial to USB cable (link)
  • Computer capable of running linux / docker, like a raspberry pi (link)

Other

  • Mara X logs cleared daily
  • Influx DB retention policy set to 2 weeks, see here