Bambu Lab Local Control
/install bambu-local
Bambu Local - 3D Printer Control
Control Bambu Lab printers locally via MQTT without cloud dependency.
Setup
- Create virtual environment:
python3 -m venv ~/bambu-env
source ~/bambu-env/bin/activate
pip install paho-mqtt
- Create
config.jsonin skill folder:
{
"printer_ip": "192.168.x.x",
"access_code": "xxxxxxxx",
"serial": "xxxxxxxxxxxx",
"printer_name": "MyPrinter"
}
Get these from your printer: Settings → LAN Only Mode (access code) and Settings → Device (serial).
Commands
Status
run ~/clawd/skills/bambu-local/bambu status
Light
run ~/clawd/skills/bambu-local/bambu light on
run ~/clawd/skills/bambu-local/bambu light off
Print Control
run ~/clawd/skills/bambu-local/bambu print pause
run ~/clawd/skills/bambu-local/bambu print resume
run ~/clawd/skills/bambu-local/bambu print stop
Speed (1=Silent, 2=Standard, 3=Sport, 4=Ludicrous)
run ~/clawd/skills/bambu-local/bambu speed 2
Temperature
run ~/clawd/skills/bambu-local/bambu temp --bed 60
run ~/clawd/skills/bambu-local/bambu temp --nozzle 200
G-code
run ~/clawd/skills/bambu-local/bambu gcode "G28"
Supported Printers
- Bambu Lab A1 / A1 Mini
- Bambu Lab P1P / P1S
- Bambu Lab X1 / X1C
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install bambu-local - After installation, invoke the skill by name or use
/bambu-local - Provide required inputs per the skill's parameter spec and get structured output
What is Bambu Lab Local Control?
Control Bambu Lab 3D printers locally via MQTT (no cloud). Supports A1, A1 Mini, P1P, P1S, X1C. It is an AI Agent Skill for Claude Code / OpenClaw, with 2561 downloads so far.
How do I install Bambu Lab Local Control?
Run "/install bambu-local" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Bambu Lab Local Control free?
Yes, Bambu Lab Local Control is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Bambu Lab Local Control support?
Bambu Lab Local Control is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Bambu Lab Local Control?
It is built and maintained by Tanguyvans (@tanguyvans); the current version is v1.0.1.