Custom Snapmaker U1 Firmware

Monitoring

Available in: Extended firmware

Expose printer metrics for integration with monitoring systems like Grafana, Home Assistant, or DataDog. Track print progress, temperatures, and operational data.

Available Features

Moonraker API Built-in Metrics

Always enabled on all printers running Moonraker. This is a core feature required by client applications:

You can create custom metrics collection using the Moonraker API.

Klipper Metrics Exporter

Exposes Klipper metrics via HTTP endpoint for OpenMetrics/Prometheus systems.

Disabled by default.

Using firmware-config Web UI (preferred)

Navigate to the firmware-config web interface, go to the Monitoring section, and enable Klipper Metrics Exporter.

Manual Setup (advanced)

Step 1: Edit /home/lava/printer_data/config/extended/extended2.cfg to enable the exporter:

[monitoring]
klipper_exporter: :9101

Step 2: Reboot the printer for changes to take effect.

Collecting Metrics with Home Assistant

Setup:

  1. Install Home Assistant Community Store (HACS)
  2. Install Moonraker Integration via HACS
  3. Add Moonraker integration and connect to your Snapmaker U1

Once configured, you can view metrics in Home Assistant or forward them to other systems like DataDog.

Collecting Metrics with OpenMetrics/Prometheus

Prometheus and Grafana

The prometheus-klipper-exporter is already running on your printer when enabled. Setup instructions: https://github.com/scross01/prometheus-klipper-exporter/tree/main/example

Point Prometheus to your printer’s IP address and port (no Docker setup needed on the printer).

DataDog Agent

Use DataDog’s OpenMetrics integration to collect Prometheus metrics.

Setup:

  1. Create /etc/datadog-agent/conf.d/openmetrics.d/snapmaker_u1.yaml on the computer running DataDog Agent
  2. Edit config to set your printer’s IP address
  3. Restart DataDog Agent

Example Dashboard: https://p.datadoghq.com/sb/750c84c6f-0e38a89ca620e6047171edbfb15b756e