That manual update went through and updated my inventory
my print that finished three hours later was not updated, but my canceled print this morning was updated.
I was able to solve my own problems myself => which in the end was quite simple…
Docker containers, in their default configuration, do not perform DNS resolution or use their own DNS (if no DNS is provided via the Docker network).
Therefore,
-e APPLICATION__HOMEASSISTANT__URL=http://homeassistant.local:8123
cannot be resolved, no connection to HomeAssistant is established, and the available spools/trays/sensors cannot be retrieved.
After I entered the IP address there and restarted the container, I was able to see the website correctly and am now able to select my spools…
Now I just have to wait for my print to finish
PS:
My P1S from August 2025 doesn’t send a “finished” status via HA (BambuLab integration), but instead switches between “Idle” and “Offline”… in case anyone else is having problems with the trigger
That it doesn’t work automatically is logical, as you have not used the updater (as you don’t see the spools). When you do it manually it works, meaning you have set it all up correctly but made a mistake with the spools not visible.
You need to check the variables in your Spoolman Updater.
Ahh we typed at the same moment, good to see that you solved it yourself.
About the trigger, I wrote the yaml when I had the P1S and I don’t have it anymore, so if anything changes on the P1S side, I need to know
Nevertheless, that is why the trigger is set to finished and idle, so you should not have problems with the trigger.
It seems to work for the AMS trays… but if I am using the external spool => I am selecting the correct spool on the Spool-Updater website, but it won’t save it… after an F5-refresh, the selected spool is gone…
Unfortunately, it is not updating the usage/weight of the external spool. Yesterday I finished three prints from the external spool, but no changes in Spoolman.
That could be correct as the external spool behaves differently. I wrote an automation a while ago for that but not tested as I don’t use the external spool.
Could you do me a favor?
If you set the spool in the updater for the external spool, does it update the spool in Spoolman? Meaning, can you see that the active tray is set for that spool? That was my question above.
Could you test the automation I wrote for the external spool if that updates the usage/weight? If if works, Github can be updated with the code.
Does it update the spool in Spoolman?
You mean after the print is finished? - NO
Could you test the automation I wrote…
Yes, I’ll let you know. I updated my automation in HA, and the actual running print will need another ~5 hours… (of course, using the external spool)
No, I mean if you set the external spool in Spoolman updater, does it update your Spoolman? If you go to Spoolman, select the spool that you set as the external spool in Spoolman updater, is the active tray field filled in?
So this is part of your remark that selecting the external spool in the updater isn’t visible.
Yes, your automation seems to update the Spoolman, BUT without/wrong weight… no wonder (this might be only on my system?) - sensor.p1s_01p09c560600600_print_weight = 915g
In the automation is a system log write action, so you can track it to see what the automation has done. You can do this by going to the automation and then traces.
The trigger works, and the weight redcution seems to be working for external spool, but there seems to be a problem with the tray change/multi color (picking the correct used weight/updating the bambulab_filament_usage_meter
Give yourself some credit
You can find the full traces within the automation itself. If you go to the automation overview on the end of the line of the automation, three dots and select traces. There you will find, visual and textual what the automation has done.
The log you shared is the update of the spool for the external spool, not the color change AMS
From my latest trace:
Tray 3 is correct, ColorCode White is correct, Filament is correct… even if the weight was low (3.9g) for that color-change => it is not zero.
The usage_meter shows the correct amount (with purge?)
Before I start with any troubleshooting, I missed something in your previous posted automation. In the one you posted and might be using, in the actions - variables there is an error.
First, I want to say thank you for the work you put into this.
I’m running into an issue with new spools being created against my wishes
Since I am using filament not supported by BambuLab, the data being shared in HA is “Generic” and a simple color based on what I select on the touchscreen of my A1.
When this information is packaged in the automation from HA to be sent to spoolman-updater, it’s not mapping to the spool I told it that I had loaded in that particular tray.
For example:
I have a brand of Overture PLA filament in color black loaded in Tray 1. This is what I have in Spoolman, and, using the UI of spoolman-updater, I have selected the aforementioned spool for my Tray 1 slot.
However, HA sends over ‘Generic PLA’ and despite being in the same tray, it ends up creating a new spool (with a new filament and manufacturer in Spoolman).
Is this expected behavior? Is there a way for spoolman-updater to only update the spool that is in the tray it’s receiving an API call for, regardless of the color/match? I thought I had read that it’s up to me to manually update spoolman-updater with which spool is in which tray. With that, I accept the risk of updating whatever spool that is.