← ClaudeAtlas

bambu-printerlisted

Check on and safeguard a Bambu Lab 3D printer (built and tested on the A1; A1 mini and P1 should work but are untested) over the local network - print progress, temperatures, errors, camera snapshots, watching a print to completion, guarding a print (auto-stop on overheating with optional phone alerts and a smart-plug power cut, camera checks for spaghetti with auto-pause), and a heater/bed-sensor stress test. Use when the user asks how a print is going, to monitor/watch/guard the printer, to check the camera, whether a print finished/failed, or to stress-test the heaters.
tyty-the-eyety/bambu-printer-skill · ★ 0 · Testing & QA · score 72
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