bambu-printerlisted
Install: claude install-skill tyty-the-eyety/bambu-printer-skill
# Bambu printer (local LAN)
All commands use `scripts/bambu.py` in this skill's folder (usually `~/.claude/skills/bambu-printer/scripts/bambu.py`;
written as `bambu.py` below). It runs via `uv`, which installs paho-mqtt automatically.
Setup (once): `bambu.py setup <printer-ip>` saves the IP and serial to `~/.config/bambu-printer/config.json`.
If any command says the printer IP is unknown, ask the user for the IP (printer screen: Settings -> WLAN/Network)
and run setup. If the printer's IP changes, run setup again.
The LAN access code is NOT stored by this skill. The script reads it at runtime from, in order: the `BAMBU_CODE`
env var; a file named by `BAMBU_CODE_FILE` or by `"code_file"` in config.json (just the code, or KEY=VALUE lines with
`accesscode`/`access_code`/`code`); OrcaSlicer's config (key `user_access_code.<serial>`). Never print or echo the code.
If the printer is bound to a Bambu cloud account, Orca can't add it ("already bound") and loses the code, but local
MQTT and the camera still work: get the code from the printer screen (Settings -> WLAN), have the user save it in a
file themselves (not in chat), and set `code_file` to that path.
- Status: `bambu.py status`
-> JSON with gcode_state (IDLE/PREPARE/RUNNING/PAUSE/FINISH/FAILED), subtask_name, mc_percent,
mc_remaining_time (minutes), layer_num/total_layer_num, nozzle/bed temps + targets, print_error (0 = ok).
- Camera: `bambu.py camera <scratchpad>/cam.jpg`, then Read the image
to judge the print