Duet (RepRapFirmware) HTTP interface: send gcode and query status

domain: duet3d.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Establish a session first via GET /rr_connect (with password if configured) — almost every other endpoint requires a valid session and returns 401 otherwise.
  2. Send G/M/T-codes with GET /rr_gcode?gcode=<code>, e.g. G28 to home axes.
  3. Fetch the standard status response (temperatures, position, current job progress) via the rr_status-family endpoint documented in the RepRapFirmware HTTP requests reference.
  4. Retrieve any pending G-code reply text via /rr_reply, since rr_gcode does not return command output directly.
  5. For firmware 3.4.1+, consult the published OpenAPI definitions for SBC mode vs standalone mode, since endpoint availability differs between them.

Known gotchas

Related routes

Connect to and execute G-code on a Duet controller via the RepRapFirmware HTTP API
docs.duet3d.com · 4 steps · unrated
Query machine state via Duet's object model and manage files over the RepRapFirmware HTTP API
docs.duet3d.com · 4 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans