-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filament Internal Code #42
Comments
You sir are a gentleman and a scholar. How are you dumping the mqtt messages like this btw? His script looked home assistant based. |
To get the mqtt messages use mqttx
The mqtt api is documented here: https://github.com/Doridian/OpenBambuAPI/blob/main/mqtt.md The 2 main endpoints are For example to change the filament color you would do a request with a json payload like this
|
you can query the Bambulab API and you will get a full filament list, also with your custom profiles. |
Sounds amazing. I'll be following this pretty closely. |
That sounds really cool! Is the following valid from your opinion to recognize custom filaments with the AMS? Equipment
Work Flow
Is that right or is something missing? |
No, it's much easier. Work Flow:
print with this filament:
|
This is absolutely amazing, you rock! 🤩 |
Do these match your already known IDs? |
FYI BambuStudio has all the filament data in .json format including the filament_ids, so you don't have to jump through hoops to get the latest list (note, only the *base.json files have the id): https://github.com/bambulab/BambuStudio/tree/master/resources/profiles/BBL/filament |
I'm working on a project that uses a color sensing module to scan in all of my filaments inside of a drawer system I setup, that's categorized by material, everytime I tap a button. An ESP32 will send the colors of each spool to an RFID chip that will program a blank RFID sticker, the type Bambu uses. This was the only missing piece, thank you |
@CodeBradley Will you make this project accessible on Git? Sounds interesting |
Dumping the mqtt messages I've identified an internal code that is used for filaments
WolfWithSword has documented most of these internal filament codes
https://github.com/WolfwithSword/ha-bambulab/blob/78cc6bda14ef0f82e74b59afc745cc5534c01a5e/custom_components/bambu_lab/pybambu/const.py#L40-L62
The text was updated successfully, but these errors were encountered: