Bambu Filaments — your Bambu Lab cloud filament library (spools, colors, remaining weight) in HA

Hi everyone! :waving_hand:

Bambu Filaments brings your Bambu Lab cloud filament library (the spool inventory you manage in Bambu Studio / the Bambu app) into Home Assistant — and since v1.1.0 it works in the other direction too: spools you create or edit in HA show up in Bambu Studio, including custom third-party brands with real print settings.

GitHub: GitHub - Timmes123/ha-bambu-filaments: Home Assistant integration for the Bambu Lab cloud filament library (Filament Manager) · GitHub

:star: The killer feature: third-party spools that Bambu Studio actually accepts

Bambu’s own apps only let you register spools from six official vendors. This integration lets you add any brand (Flashforge, Sunlu clones, no-name PLA…) with its real brand name, a custom spool name, your own color — and link it to an official slicer profile (e.g. Generic PLA, or even Bambu PLA Basic if you want those exact settings).

The result in Bambu Studio: your spool appears in the AMS filament picker under its own brand, is assignable like an official spool, and even the spool note shows up as its remark line:

To my knowledge no other tool does this — not even Bambu’s own apps. :grinning_face_with_smiling_eyes:

What it does in Home Assistant

  • One device per spool with remaining-% and remaining-weight sensors, color swatch entity pictures and official Bambu color names (localized).
  • Aggregate sensors: spool count, total remaining weight, per-material breakdown.
  • Two-way sync: changes from Studio, the Bambu app or the AMS (spool usage!) appear in HA; changes from HA appear in Studio and the app.
  • A full dashboard card (ships with the integration, no extra install):
    • grouping, sorting, filters (low stock, material, “loaded in printer”), compact mode
    • combine mode: identical spools stack into one ×n row with summed remaining — click to expand the individual spools
    • add dialog: register new spools right from the dashboard — official catalog or custom brands with slicer-profile linking
    • edit dialog: a cog icon per spool opens everything for editing — name, brand, color, weights, note, slicer profile, delete from cloud
  • Actions for automations: set_remaining, set_note, set_filament_id, update_spool, create_spool, delete_spool, get_catalog, refresh — e.g. notify when a color drops below 200 g.

Screenshots

Library overview with combined spools (one stack expanded):

Low-stock watchlist (only colors with ≤ 500 g left):

Adding a third-party spool with a linked slicer profile / editing an existing spool:

Installation

  1. HACS → three-dot menu → Custom repositories → add https://github.com/Timmes123/ha-bambu-filaments as Integration
  2. Install Bambu Filaments, restart HA
  3. Settings → Devices & Services → Add Integration → Bambu Filaments → sign in with your Bambu account
  4. Add the custom:bambu-filaments-card to a dashboard (it finds your spools automatically)

The fine print

  • Based on Bambu’s unofficial cloud API (the same one Studio uses) — it may break whenever Bambu changes things.
  • Requires a Bambu cloud account (no LAN-only mode).
  • The login token expires roughly every 90 days — HA will prompt you to re-authenticate.

Feedback, ideas and bug reports very welcome — here or on GitHub. :slightly_smiling_face: