Bambu Lab Printer
AI-generatedSummary
query printer status via MQTT
Inputs
- responseMode — Whether to return a normalized printer status summary or the raw MQTT response. Default: summary.
- includeRawPayload — When responseMode is summary, includes the full raw printer payload as
raw_payloadfor debugging. Optional, defaults to false. Only shown when responseMode is summary. - timeoutMs — Maximum wait time in milliseconds for a printer response before timing out. Default: 10000
Output shape
object
Each processed item produces a single output item. When responseMode is 'summary', the output is a normalized status object from summarizeStatus. When 'raw', the output is the exact MQTT response object from the printer. Errors result in an { error: 'message' } object if continueOnFail is enabled, otherwise the error is thrown.
Examples
Example 1: Get a normalized printer status summary
responseMode: summary (default), includeRawPayload: false, timeoutMs: 10000
Example 2: Fetch raw MQTT response for custom parsing
responseMode: raw, includeRawPayload: irrelevant, timeoutMs: 5000