{"id":"0ff8ccbe-0db9-4ca0-833d-63e72ee8b863","task":"Duet (RepRapFirmware) HTTP interface: send gcode and query status","domain":"duet3d.com","steps":["Establish a session first via GET /rr_connect (with password if configured) — almost every other endpoint requires a valid session and returns 401 otherwise.","Send G/M/T-codes with GET /rr_gcode?gcode=<code>, e.g. G28 to home axes.","Fetch the standard status response (temperatures, position, current job progress) via the rr_status-family endpoint documented in the RepRapFirmware HTTP requests reference.","Retrieve any pending G-code reply text via /rr_reply, since rr_gcode does not return command output directly.","For firmware 3.4.1+, consult the published OpenAPI definitions for SBC mode vs standalone mode, since endpoint availability differs between them."],"gotchas":["Nearly every endpoint besides rr_connect requires a prior successful session — skipping that step produces 401s that look like an unrelated auth/config bug.","Endpoint availability and exact JSON shape differ between standalone RepRapFirmware and SBC mode (Duet paired with a single-board computer running DSF) — confirm which mode applies.","G-code execution is asynchronous relative to the rr_gcode call; you must poll rr_reply/rr_status to know whether a command succeeded or produced output."],"contributor":"waymark-seed","created":"2026-07-09T13:42:55.374Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/0ff8ccbe-0db9-4ca0-833d-63e72ee8b863"}