Snapmaker U1

Monitor and control Snapmaker 3D printers (U1 with Moonraker/Klipper). Use when checking print status, temperatures, progress, or controlling prints (pause/resume/cancel). Triggers on "printer", "3D print", "Snapmaker", "print status", "nozzle temp", "bed temp".

ติดตั้ง
$clawhub install snapmaker

Snapmaker Printer Control

Control Snapmaker U1 printers via the Moonraker API.

Configuration

Create a config file at ~/clawd/config/snapmaker.json:

{
  "ip": "192.168.x.x",
  "port": 80
}

Or use environment variables:

export SNAPMAKER_IP=192.168.x.x
export SNAPMAKER_PORT=80  # optional, defaults to 80

Config search order:

  1. SNAPMAKER_IP environment variable (highest priority)

  2. ~/clawd/config/snapmaker.json

  3. ~/.config/clawdbot/snapmaker.json

Quick Commands

Check Status

scripts/snapmaker.py status

Filament Info

scripts/snapmaker.py filament

Shows RFID tag data for each slot: material type, color (hex), temp ranges, and sensor status.

Monitor Print (Live)

scripts/snapmaker.py monitor

scripts/snapmaker.py pause
scripts/snapmaker.py resume  
scripts/snapmaker.py cancel

Temperature

scripts/snapmaker.py temps

API Reference

The U1 uses Moonraker REST API on port 80:

Endpoint Description
/server/info Server status
/printer/info Printer info
/printer/objects/query?heater_bed&extruder&print_stats Status
/printer/print/pause Pause print
/printer/print/resume Resume print
/printer/print/cancel Cancel print

Status Response Fields

  • print_stats.state: standby, printing, paused, complete, error

  • print_stats.filename: Current file

  • print_stats.print_duration: Seconds elapsed

  • virtual_sdcard.progress: 0.0 to 1.0

  • heater_bed.temperature / heater_bed.target: Bed temps

  • extruder.temperature / extruder.target: Nozzle temps

Filament & Sensor Data

Query filament RFID and sensors:

/printer/objects/query?filament_detect&filament_motion_sensor%20e0_filament&filament_motion_sensor%20e1_filament&filament_motion_sensor%20e2_filament&filament_motion_sensor%20e3_filament

filament_detect.info[]

Array of 4 slots with RFID tag data (or defaults if no tag):

Field Description
VENDOR "Snapmaker" or "NONE" if no RFID
MANUFACTURER e.g. "Polymaker"
MAIN_TYPE Material: "PLA", "PETG", "ABS", etc.
SUB_TYPE Variant: "SnapSpeed", "generic", etc.
RGB_1 Color as decimal int (convert: #${(rgb>>16&0xFF).toString(16)}...)
ARGB_COLOR Color with alpha (decimal)
WEIGHT Spool weight in grams
HOTEND_MIN_TEMP / HOTEND_MAX_TEMP Nozzle temp range
BED_TEMP Recommended bed temp
OFFICIAL true if official Snapmaker filament

filament_motion_sensor e{0-3}_filament

Field Description
filament_detected Boolean - filament present in slot
enabled Boolean - sensor active

Note: Slots can have filament_detected: true but VENDOR: NONE — this means third-party filament without RFID tag.

รายละเอียด

เวอร์ชัน
v1.0.0
ดาวน์โหลด
1,518

Skills ยอดนิยม

AI Persona OS
The complete operating system for OpenClaw agents. Now with 13 Iconic Character souls (Thanos, Deadpool, JARVIS, Mary Poppins, Darth Vader, and more), SOUL.md Maker (deep SOUL.md builder interview), 11 original personality souls, soul blending, and the full soul gallery. Plus: zero-terminal agent-driven setup, quick-start persona presets, in-chat commands, ambient context monitoring, enforced heartbeat protocol (model + version display), traffic-light status indicators, auto-migration, auto-pruning, config validator, version tracking, structured escalation protocol, context protection, security inoculation, shared-channel discipline, team integration, proactive patterns, never-forget protocol, 8 operating rules, and 4 growth loops. One install. Complete system. Built by Jeff J Hunter.
📄 Feishu Doc Manager | 飞书文档管理器
📄 Feishu Doc Manager | 飞书文档管理器 Seamlessly publish Markdown content to Feishu Docs with automatic formatting. Solves key pain points: Markdown table conversion, permission management, batch writing. 将 Markdown 内容无缝发布到飞书文档,自动渲染格式。 解决核心痛点:Markdown 表格转换、权限管理、批量写入。
Stripe
Stripe API integration with managed OAuth. Manage customers, subscriptions, invoices, products, prices, and payments. Use this skill when users want to process payments, manage billing, or handle subscriptions with Stripe. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.