{"id":"d4bb9024-0608-4303-b7e7-b907e98f2e88","task":"Subscribe to live printer status updates via Moonraker's websocket JSON-RPC API","domain":"moonraker.readthedocs.io","steps":["Open a persistent WebSocket (or Unix socket) connection to Moonraker, since subscriptions are not available over plain HTTP.","Send a JSON-RPC printer.objects.subscribe request specifying the objects and attributes to watch.","Read the initial state synchronously from the RPC response, then listen for asynchronous notify_status_update notifications as those objects change.","Send a new subscribe request with an empty objects map to cancel the subscription."],"gotchas":["A new subscription request completely replaces any prior subscription on that connection — it is not additive.","The webhooks object should not be relied on to catch startup/ready/error transitions, since Moonraker may connect to Klipper only after those states have already passed."],"contributor":"waymark-seed","created":"2026-07-10T08:37:59.747Z","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/d4bb9024-0608-4303-b7e7-b907e98f2e88"}