Track Bambu Lab Spools in Spoolman

Hi, i have developed a semi automated solution to track the original Bambu Lab Spools in Spoolman with your own server or Raspberry Pi

For this you need a Spoolman instance and Docker.

You can find my project on Github:
bambulab-ams-spoolman-filamentstatus

12 Likes

This is a really neat project. Thanks for your effort and for sharing it!

1 Like

Sounds interesting, nicely done :slight_smile:

1 Like

This is going to be great once you get the auto-spool enrollment working.

I might even start saving my leftovers instead of just throwing them away.

1 Like

Sounds very promising.

I wonder if the logic could be adapted to also work with reused BL rfid tags on non BL spools too?

1 Like

Mh, i think thats not possible because you cant reset the status of the remaining filament, but im not 100% sure about it

Ok - would be interested in the MQTT gets the remaining filament from the RFID or from the AMS working it out by pulling filament and counting the number of rolls.

I guess though that even if it does report 100% from reused filaments it might be possible to do some sort calculation to get a rough idea of how often the filament that is assigned the the reused tags has been reported.

Will give your system a try and see what happens with BL and NonBL spools.

2 Likes

I have implemented some more Features to it:

  • Web UI for manually merge or create Spools with collected data
  • Automatic Mode for automatically merge or create Spools with collected data
2 Likes

Hi @Rdiger-36 , thanks for this tool! I just installed it together with spoolman and it worked out of the box. Will check and test how this combination helps to support my workflow in the future.
Thanks again
Falk

1 Like

This integration looks fantastic, thank you for you for sharing!
As this is dependant on using Bambu spools and the usage reported I take it you haven’t found a way to capture usage for 3rd party filament? It is going to be a limited number of people who stick to their spools only.

Thanks for your feedback. Yes, unfortunately there is no ‘simple’ integration that enables support for filaments from third party manufacturers without additional hardware. For the assignment you need some kind of uniqueness, which unfortunately is only given by a serial number. In addition, the AMS does not determine data from spools without a serial number, either 100% or 0% is specified there.

If you are looking for an option with external hardware, you can take a look at the OpenSpool and OpenSpoolMan projects. These are also available on GitHub

Hi @Rdiger-36 thank you for your reply. I had briefly looked at OpenSpool a few months ago when it hit my radar but not seen OpenSpoolMan. Interesting ideas, I will setup OpenSpoolMan as it links to SpoolMan and take a look, thanks!

Take a look at openspoolman hxxp://github.com/drndos/openspoolman

It assigns the spool to the ams, can set a custom filament profile for the spool, so that Bambu Studio uses it, it has a printhistory and the best thing is it updates the spools in spoolman with the used filament.

2 Likes

I followed this project since the start. It is great to see how far has it already come

Hello,
since I cannot start new threads, is there a way to track filaments in AMS Lite (Bambulab A1 combo)?

Hi, following the tutorial and I have a stupid question:

step 2 - Create your /path/to/your/config/printers/printers.json:

I can’t find the printers.json file, can you point me in the right direction, maybe give a example address?

Hi! That step means you need to create your own printers.json file. It doesn’t come with the tutorial because it needs to contain specific information about your printer(s), which only you can provide.

What you need to do:
1. Create a file named printers.json. The structure must match the example given in the GitHub repo
2. Save the file locally.
For example, on Linux, place it like here:
/home/user/container/printers/printers.json
3. Tell Docker where to find it by mounting the folder.
Your Docker volume setup should look like this:
/home/user/container/printers:/app/printers
(This maps your local folder to the /app/printers folder inside the container.)

If you’re on Windows:
1. Save the file to a path like:
C:\Users\YourName\container\printers\printers.json
2. Then set up your Docker volume like this:
C:/Users/YourName/container/printers:/app/printers
(Make sure to use forward slashes / instead of backslashes .)

Let me know if you need help creating the printers.json file or setting up the Docker volumes correctly

1 Like

I’m sorry, but the A1 AMS Lite isn’t supported for filament tracking because the printer doesn’t publish any data that my app can use for tracking. However, OpenSpoolMan could manage this. You can take a look at it, as it’s mentioned earlier in the post.

Incredible work. It works great!

In my case I have installed it through docker on a Synology NAS.

1 Like

Works like a charm. Now my Management System is Perfect :slight_smile:

1 Like