bambu-local
by tanguyvans
Smart Home & IoTBrief
Control Bambu Lab 3D printers locally via MQTT.
Description
What This Skill Does
Controls Bambu Lab 3D printers over a local MQTT connection, bypassing the manufacturer's cloud. Supports status checks, print control, temperature adjustments, speed changes, and raw G-code commands. Requires LAN Only Mode enabled on the printer.
Works without Bambu's cloud servers, so printer control stays available during internet outages or when the printer is on an isolated network.
When to Use It
- Check remaining print time without opening Bambu Studio
- Pause a print when you notice a layer adhesion problem
- Lower bed temperature mid-print to reduce warping
- Turn the chamber light off after a print finishes
- Switch print speed to Silent mode during an overnight job
Example Workflow
User asks: what's the current status of my printer?
- 1
Reads printer IP, access code, and serial from config.json
- 2
Connects to the printer via local MQTT
- 3
Subscribes to the printer's status report topic
- 4
Parses the returned payload for print state, temperatures, and progress
- 5
Returns a summary of current printer status
Printer is printing layer 42/120, nozzle at 200°C, bed at 60°C, 35% complete
Requirements
- Printer local IP address
- Access code from printer Settings → LAN Only Mode
- Printer serial number from printer Settings → Device
Installation
clawhub install tanguyvans/bambu-localRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.