Custom Snapmaker U1 Firmware

Camera Support

Available in: Extended firmware only

The extended firmware includes hardware-accelerated camera support with WebRTC streaming.

Features

Accessing Cameras

Internal Camera

Access at: http://<printer-ip>/webcam/

The internal camera is automatically configured and enabled.

USB Camera

Access at: http://<printer-ip>/webcam2/

USB cameras must be enabled first. See USB Camera Configuration below for setup instructions.

Camera Controls

Note: Camera controls and RTSP streaming are only available with the paxx12 camera service.

The paxx12 camera service includes a web-based interface for adjusting camera settings in real-time. Available controls depend on your camera hardware capabilities.

Accessing Camera Controls

Camera controls are accessible at:

Settings Persistence

Camera settings are automatically saved across reboots:

To reset camera settings to defaults, delete the corresponding JSON file and reboot the printer.

Configuration

Internal Camera Selection

By default, the extended firmware uses a custom hardware-accelerated camera service (paxx12).

Using firmware-config Web UI (preferred)

Navigate to the firmware-config web interface, go to the Camera section, and select your preferred internal camera service or disable it.

Manual Setup (advanced)

Step 1: Edit /home/lava/printer_data/config/extended/extended2.cfg.

To switch to Snapmaker’s original camera service:

[camera]
internal: snapmaker

To disable the internal camera entirely (also disables timelapses):

[camera]
internal: none

Step 2: (Optional) Customize streaming mode by editing /home/lava/printer_data/config/extended/moonraker/02_internal_camera.cfg:

[webcam case]
service: webrtc-camerastreamer
stream_url: /webcam/webrtc
snapshot_url: /webcam/snapshot.jpg
aspect_ratio: 16:9

Available streaming modes:

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

Note: Only one camera service and one streaming mode can be operational at a time for the internal camera.

USB Camera Configuration

USB camera support is disabled by default (paxx12 service only).

Using firmware-config Web UI (preferred)

Navigate to the firmware-config web interface, go to the Camera section, and enable USB camera support. This will automatically configure both the camera service and Moonraker streaming settings.

Manual Setup (advanced)

Step 1: Edit /home/lava/printer_data/config/extended/extended2.cfg to enable USB camera:

[camera]
usb: paxx12

Step 2: Edit /home/lava/printer_data/config/extended/moonraker/03_usb_camera.cfg to configure USB camera streaming:

[webcam usb]
service: webrtc-camerastreamer
stream_url: /webcam2/webrtc
snapshot_url: /webcam2/snapshot.jpg
aspect_ratio: 16:9

Available streaming modes:

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

To disable USB camera, set usb: none in extended2.cfg.

When enabled, USB cameras are accessible at http://<printer-ip>/webcam2/.

Note: Only one streaming mode can be active per camera.

RTSP Streaming

RTSP streaming is disabled by default (paxx12 service only).

Using firmware-config Web UI (preferred)

Navigate to the firmware-config web interface, go to the Camera section, and enable RTSP streaming.

Manual Setup (advanced)

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

[camera]
rtsp: true

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

RTSP streams will be available at:

Camera Logging

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

[camera]
logs: syslog

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

Logs are available in /var/log/messages.

Timelapse Support

Fluidd timelapse plugin is included (no settings support).