Bambu Lab Printer Trigger icon

Bambu Lab Printer Trigger

Polls a Bambu Lab printer via local MQTT and emits an event whenever the printer status changes

Bambu Lab Printer Trigger

AI-generated

Summary

Bambu Lab Printer Trigger (bambuLabTrigger) is a Linux-native trigger node that polls a Bambu Lab printer via MQTT and emits events when status changes are detected. It supports three filter modes (any field change, state change only, or every message) and can output either normalized status fields or the raw printer payload.

Inputs

  • credentials (required) — Bambu Lab LAN API credentials (host, serial, accessCode)
  • pollInterval — Poll interval in seconds (minimum 5 seconds, default 30)
  • responseMode — Output mode: 'summary' for normalized status fields or 'raw' for full printer payload
  • filterMode — When to emit an event: 'anyChange' (any field), 'stateChange' (state only), or 'off' (every message)
  • layerThreshold — Minimum layers between events (default 1, only for anyChange mode)
  • progressThreshold — Minimum percentage change in progress before firing (default 5%, only for anyChange mode)
  • tempThreshold — Minimum °C change in actual temperatures before firing (default 2°C, only for anyChange mode)
  • targetTempThreshold — Minimum °C change in target temperatures before firing (default 1°C, only for anyChange mode)
  • triggerFields — Which fields can trigger an event. All fields remain in output regardless of selection

Output shape

JSON array containing printer status with optional 'triggered_by' object showing which fields changed and their previous/new values

All fields remain in output regardless of triggerFields selection; 'received_at' timestamp always included

Examples

Example 1: Set up to receive events when nozzle temperature or printer state changes

Configure triggerFields to include 'nozzle_temp_c' and 'state', set appropriate thresholds, and the node will emit events when these values change beyond the defined thresholds

Links

Discussion