← Back to Skills Marketplace
photonixlaser-ux

Bambu Lab

by photonixlaser-ux · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
1164
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bambu-lab-skill
Description
Steuere Bambu Lab 3D-Drucker (A1, P1P, X1) über MQTT. Nutze diesen Skill für Druck-Überwachung, Status-Abfragen, Steuerung (Pause/Stopp) und Benachrichtigungen bei Druckende oder Fehlern. Erfordert LAN-Mode mit Access Code.
README (SKILL.md)

Bambu Lab 3D-Drucker Skill

Steuerung und Überwachung von Bambu Lab 3D-Druckern über MQTT im lokalen Netzwerk.

Konfiguration

Standard-Konfiguration (anpassbar in scripts/bambu.sh):

  • Host: 192.168.30.103 (A1 Drucker)
  • Port: 8883 (MQTT über TLS)
  • Username: 03919A3A2200009 (Seriennummer)
  • Passwort: 33576961 (Access Code)
  • Model: A1

Verwendung

Nutze das Skript scripts/bambu.sh für alle Operationen:

./skills/bambu-lab/scripts/bambu.sh \x3Cbefehl>

Befehle

Status & Überwachung:

  • status - Aktueller Druckstatus
  • progress - Druckfortschritt in %
  • temps - Temperaturen (Nozzle, Bed, Chamber)
  • watch - Live-Überwachung (läuft dauerhaft)

Steuerung:

  • pause - Druck pausieren
  • resume - Druck fortsetzen
  • stop - Druck abbrechen
  • light on|off - Druckerlicht an/aus
  • fans \x3C0-255> - Lüftergeschwindigkeit

Benachrichtigungen:

  • notify - Starte Überwachung mit Telegram-Benachrichtigung

MQTT Debug:

  • raw - Rohe MQTT-Nachrichten anzeigen

Beispiele

# Status abfragen
./skills/bambu-lab/scripts/bambu.sh status

# Druckfortschritt
./skills/bambu-lab/scripts/bambu.sh progress

# Live-Überwachung
./skills/bambu-lab/scripts/bambu.sh watch

# Druck pausieren
./skills/bambu-lab/scripts/bambu.sh pause

# Mit Benachrichtigung
./skills/bambu-lab/scripts/bambu.sh notify

Automatische Benachrichtigungen

Für automatische Benachrichtigungen bei Druckende:

# Im Hintergrund starten
./skills/bambu-lab/scripts/bambu.sh notify &

Oder per Cron/Heartbeat regelmäßig ausführen.

API Referenz

Siehe references/mqtt.md für vollständige MQTT-Dokumentation.

Unterstützte Modelle

  • ✅ A1 (getestet)
  • ✅ A1 Mini
  • ✅ P1P / P1S
  • ✅ X1 / X1C

Alle Modelle nutzen das gleiche MQTT-Protokoll im LAN-Mode.

Usage Guidance
This skill appears to do what it says (local MQTT control and monitoring). Before installing or running it: - Replace the hard-coded HOST, SERIAL and ACCESS_CODE values with your own device values or configure BAMBU_HOST/BAMBU_SERIAL/BAMBU_ACCESS_CODE environment variables; treat any credentials as secrets. The repository defaults look like someone else's device and should not be trusted. - Confirm the scripts will run only on your local network (they connect to a LAN IP). Do not run them on public networks where the printer IP might be reachable by others. - The monitor will write persistent state: it uses /home/node/.openclaw/workspace/.bambu_state.json and /tmp/bambu_notification.txt. If you care about privacy, change the state file path to somewhere appropriate and inspect the contents the script writes. - If you want Telegram notifications, review and modify send_telegram() — the current implementation prefers writing a local notification file for OpenClaw integration and does not send messages to Telegram unless you implement that behavior and supply TELEGRAM_BOT_TOKEN. Do not assume TELEGRAM_BOT_TOKEN in the environment will be used as-is without code changes. - Ensure required binaries/libraries (mosquitto-clients or python3 + paho-mqtt) come from trusted sources and run the scripts in a controlled environment first (test with your own device or a VM).
Capability Analysis
Type: OpenClaw Skill Name: bambu-lab-skill Version: 0.1.0 The skill is classified as suspicious primarily due to the use of `ssl.CERT_NONE` and `tls_insecure_set(True)` in `scripts/bambu.py` and `scripts/bambu_monitor.py`. This disables TLS certificate verification for MQTT communication, making it vulnerable to Man-in-the-Middle attacks, even on a local network. Additionally, `scripts/bambu_monitor.py` attempts to read the `TELEGRAM_BOT_TOKEN` environment variable, which is sensitive, although the actual external Telegram API call for exfiltration is not implemented in the provided code (it uses OpenClaw's internal notification mechanism instead). These are risky capabilities without clear malicious intent, aligning with the 'suspicious' classification.
Capability Assessment
Purpose & Capability
The name/description (control + monitoring via MQTT) align with the included files: bash and Python scripts implement MQTT connect/subscribe/publish, status parsing, control commands, and notification logic for supported Bambu models.
Instruction Scope
SKILL.md simply instructs running the included scripts; the scripts stay within scope (connect to printer over MQTT, show status, send commands, optionally notify). The monitor script reads/writes a state file in the agent/workspace and can write a notification file under /tmp to integrate with OpenClaw. No unrelated OS-wide file reads or broad 'gather context' instructions are present.
Install Mechanism
No install spec is present (instruction-only skill). Scripts rely on standard system packages (mosquitto-clients) or Python paho-mqtt; no downloads from arbitrary URLs or archive extraction are used.
Credentials
The code contains hard-coded defaults for HOST, SERIAL and ACCESS_CODE (192.168.30.103 / 03919A3A2200009 / 33576961) and a hard-coded TELEGRAM_CHAT_ID. While these are relevant to the skill's function, embedding what appear to be real device credentials in the repository is risky: they should be treated as secrets and replaced with environment variables or removed. The scripts do accept BAMBU_* env overrides but the repository still exposes defaults.
Persistence & Privilege
The monitor writes persistent state to /home/node/.openclaw/workspace/.bambu_state.json and may write /tmp/bambu_notification.txt for integration; it does not change other skills or set system-wide configuration. 'always' is false and the skill does not demand elevated privileges, but it is designed to be run continuously/periodically (cron) which creates persisted state.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bambu-lab-skill
  3. After installation, invoke the skill by name or use /bambu-lab-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release—steuere und überwache Bambu Lab 3D-Drucker über MQTT im LAN: - Unterstützt Statusabfrage, Steuerung (Pause, Stopp), Temperatur- und Fortschrittsanzeigen. - Live-Überwachung und automatische Benachrichtigungen bei Druckende oder Fehlern. - Einfache Bedienung per Bash-Skript mit anpassbarer Konfiguration. - Kompatibel mit A1, A1 Mini, P1P/P1S, X1/X1C-Modellen im LAN-Mode.
Metadata
Slug bambu-lab-skill
Version 0.1.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Bambu Lab?

Steuere Bambu Lab 3D-Drucker (A1, P1P, X1) über MQTT. Nutze diesen Skill für Druck-Überwachung, Status-Abfragen, Steuerung (Pause/Stopp) und Benachrichtigungen bei Druckende oder Fehlern. Erfordert LAN-Mode mit Access Code. It is an AI Agent Skill for Claude Code / OpenClaw, with 1164 downloads so far.

How do I install Bambu Lab?

Run "/install bambu-lab-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Bambu Lab free?

Yes, Bambu Lab is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Bambu Lab support?

Bambu Lab is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Bambu Lab?

It is built and maintained by photonixlaser-ux (@photonixlaser-ux); the current version is v0.1.0.

💬 Comments