mirror of
https://github.com/hanzoskill/bambu-local.git
synced 2026-10-30 21:05:52 +00:00
1.5 KiB
1.5 KiB
name, description, homepage, metadata
| name | description | homepage | metadata | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bambu-local | Control Bambu Lab 3D printers locally via MQTT (no cloud). Supports A1, A1 Mini, P1P, P1S, X1C. | https://github.com/Doridian/OpenBambuAPI |
|
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 ~/bot/skills/bambu-local/bambu status
Light
run ~/bot/skills/bambu-local/bambu light on
run ~/bot/skills/bambu-local/bambu light off
Print Control
run ~/bot/skills/bambu-local/bambu print pause
run ~/bot/skills/bambu-local/bambu print resume
run ~/bot/skills/bambu-local/bambu print stop
Speed (1=Silent, 2=Standard, 3=Sport, 4=Ludicrous)
run ~/bot/skills/bambu-local/bambu speed 2
Temperature
run ~/bot/skills/bambu-local/bambu temp --bed 60
run ~/bot/skills/bambu-local/bambu temp --nozzle 200
G-code
run ~/bot/skills/bambu-local/bambu gcode "G28"
Supported Printers
- Bambu Lab A1 / A1 Mini
- Bambu Lab P1P / P1S
- Bambu Lab X1 / X1C