🧪 Skills

Bambu Lab Local Control

--- name: bambu-local description: Control Bambu Lab 3D printers locally via MQTT (no cloud). Supports A1, A1 Mini, P1P, P1S, X1C. homepage: https://github.com/Doridian/OpenBambuAPI metadata: {"clawdb

v1.0.1
❤️ 2
⬇️ 2.1k
👁 1
Share

Description


name: bambu-local description: Control Bambu Lab 3D printers locally via MQTT (no cloud). Supports A1, A1 Mini, P1P, P1S, X1C. homepage: https://github.com/Doridian/OpenBambuAPI metadata: {"clawdbot":{"emoji":"🖨️","requires":{"bins":["python3"]}}}

Bambu Local - 3D Printer Control

Control Bambu Lab printers locally via MQTT without cloud dependency.

Setup

  1. Create virtual environment:
python3 -m venv ~/bambu-env
source ~/bambu-env/bin/activate
pip install paho-mqtt
  1. Create config.json in 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

Reviews (0)

Sign in to write a review.

No reviews yet. Be the first to review!

Comments (0)

Sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Compatible Platforms

Pricing

Free

Related Configs