Skip to content

Support latest BambuLab P/X/A firmwares & AMS 2/HT #9517

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

Open
wants to merge 137 commits into
base: main
Choose a base branch
from

Conversation

Noisyfox
Copy link
Collaborator

@Noisyfox Noisyfox commented May 1, 2025

How to download this

To download the latest test version of this PR, click the "Checks" tab on top of this page, then click "Build All", then you will find the latest build:
image
image


About this PR

An option has been added in preference to toggle between the new network plugin and the legacy one:
image

By default it uses the legacy network plugin, which does not come with the authentication feature. You can use it if your printer is on an old firmware and do not need to use the new AMS 2 pro/HT etc.

To support the new AMS 2 or if you just decided to update to the latest firmware, uncheck this option and restart Orca, which will tell it to use the latest bambu network plugin. I don't have X1/A1 so I could not test it to see if you could still use the BambuCloud print with the new plugin, or maybe you have to switch to Lan/Dev mode. However cloud print does still work for P1 with firmware 1.8.0.

image
Image
image
image

Other updates:

  • Support print all plates for P1P/P1S
  • Support showing humidity percentage
  • Support showing info of AMS 2 pro
  • Work with AMS HT properly
  • Show AMS temp & drying

Noisyfox and others added 6 commits May 1, 2025 15:53
jira:[for 2 extruder]

Change-Id: Ie03eae17d600bc68451511a0179f20d1919ff6ea
(cherry picked from commit 0848c26da97c7b74e98645b9a0873fe928fdf631)
jira:[support new mapping]

Change-Id: I88e5d3b6966d4ed1e8098d13fe9335fecf6e01c4
(cherry picked from commit c0932e16ff9fcae0e900c6e0cac9a5b496d0cc0e)
@Noisyfox Noisyfox linked an issue May 1, 2025 that may be closed by this pull request
3 tasks
@Noisyfox Noisyfox marked this pull request as draft May 1, 2025 08:34
@Noisyfox Noisyfox added enhancement New feature or request Community testers wanted Looking for community testers and feedback labels May 1, 2025
@Noisyfox Noisyfox changed the title PoC: Support latest BambuLab firmwares PoC: Support latest BambuLab P/X/A firmwares May 1, 2025
@RyanHir
Copy link

RyanHir commented May 2, 2025

Perhaps these are out of scope for this PR, but I think its best to still comment on it.

It does not appear that raw humidity readings is exposed with this PR. In Bambu Studio I am able to get a humidity and temperature reading from my AMS on the P1S, but in Orca it is still the 1-5 number.

Other interesting thing I want to note is that in Bambu Studio the usage of the AMS is inferred from the filament selected. But with this PR you must enable/disable the AMS manually to select either external or AMS filament.

@Disttrack
Copy link

I don't know if it has to do with this PR, but from OrcaSlicer, when the k factor of a filament is set in the AMS, it is deleted after a few seconds. I have to set it from BS so that OrcaSlicer detects it correctly and does not delete it.

@Noisyfox
Copy link
Collaborator Author

Noisyfox commented May 5, 2025

Perhaps these are out of scope for this PR, but I think its best to still comment on it.

It does not appear that raw humidity readings is exposed with this PR. In Bambu Studio I am able to get a humidity and temperature reading from my AMS on the P1S, but in Orca it is still the 1-5 number.

Other interesting thing I want to note is that in Bambu Studio the usage of the AMS is inferred from the filament selected. But with this PR you must enable/disable the AMS manually to select either external or AMS filament.

I'll prioritise things that are essential for using Orca with new fw/printers (such as fixing the ams k factor issue), and not on other improvments, due to the fact that I could not debug the app when using the new network plugin.

Noisyfox and others added 5 commits May 5, 2025 15:21
jira:[none]

Change-Id: I528129705ad2b6e81cb7d0b625d3a9228baf9cf1
(cherry picked from commit 00f4fbb5a6723ba4977cb18802c65bf8dedf6e29)
jira:[for demo]

Change-Id: I4cbfde15ec2b6f7e8aa68e8654ebea0e9cb09b9c
(cherry picked from commit 370be63709f1d8f3bdaa923023b71afed0391edb)
jira:[STUDIO-9373]

Change-Id: I520b2626da8dc3acc066b2ea26a5f8d3c27f64fb
(cherry picked from commit aee0cb382ba40607c278dbd68e5134fa26a2027c)
@Noisyfox
Copy link
Collaborator Author

Noisyfox commented May 5, 2025

I don't know if it has to do with this PR, but from OrcaSlicer, when the k factor of a filament is set in the AMS, it is deleted after a few seconds. I have to set it from BS so that OrcaSlicer detects it correctly and does not delete it.

Which printer do you have? How many ams do you connect? What AMS version do you have?

xianggu0v0 and others added 4 commits May 5, 2025 19:10
jira: STUDIO-7824

Change-Id: I64d9ed41b862ed4e3b8c21218c289132d767105e
(cherry picked from commit 7bb5060b739b3a95fe889ae64e8d7289e2c928d9)
jira: none

Change-Id: Ibac2a7a80d6841ebea639e0a58547413df6f5c74
(cherry picked from commit 2c3fa062c92da50f839432a43356d491c2e5bbba)
jira:[udesk 7578206]

Change-Id: If5e0b2d0969ca70815a5d2c9cca71654c9e1817b
(cherry picked from commit 8dfa6839e5e3a9bebb03616ff6d0c0c1699ad22f)
1.Get bed type from project config

jira:NONE

Signed-off-by: xun.zhang <[email protected]>
Change-Id: I1f1b9185dd4592b5fd3b03f07e8cde7b7d26510e
(cherry picked from commit 1c90355199384903f166730c5bb43c6a6baaa1cf)
@Disttrack
Copy link

Disttrack commented May 5, 2025

I don't know if it has to do with this PR, but from OrcaSlicer, when the k factor of a filament is set in the AMS, it is deleted after a few seconds. I have to set it from BS so that OrcaSlicer detects it correctly and does not delete it.

Which printer do you have? How many ams do you connect? What AMS version do you have?

I have one P1S with one AMS (original) and one AMS2-Pro connected.

I can do some tests if you need.

@Noisyfox
Copy link
Collaborator Author

Noisyfox commented May 5, 2025

I don't know if it has to do with this PR, but from OrcaSlicer, when the k factor of a filament is set in the AMS, it is deleted after a few seconds. I have to set it from BS so that OrcaSlicer detects it correctly and does not delete it.

Which printer do you have? How many ams do you connect? What AMS version do you have?

I have one P1S with one AMS (original) and one AMS2-Pro connected.

I can do some tests if you need.

Which AMS did you set the K factor to that triggers this bug? Or both?

@zpriddy
Copy link

zpriddy commented May 31, 2025

With this PR, and an X1C running firmware 01.09.00.01, I am able to see the device/start the camera, browse files and do more than before, but I am unable to actually control the printer (no way to raise/lower the bed).

Screenshot 2025-05-30 at 7 06 46 PM

Sending a print job using the cloud also does not work:

Screenshot 2025-05-30 at 7 10 10 PM

It is nice though that it isn't throwing MQTT errors though while just viewing the device, and being able to use the camera.

@Noisyfox
Copy link
Collaborator Author

With this PR, and an X1C running firmware 01.09.00.01, I am able to see the device/start the camera, browse files and do more than before, but I am unable to actually control the printer (no way to raise/lower the bed).

Screenshot 2025-05-30 at 7 06 46 PM Sending a print job using the cloud also does not work: Screenshot 2025-05-30 at 7 10 10 PM It is nice though that it isn't throwing MQTT errors though while just viewing the device, and being able to use the camera.

X1 has auth enabled in latest firmwares, so you could not control / start print via cloud unless using bbs.

@reynol3232
Copy link

I've encountered a bug using the new build. Whenever I click on one of the AMS slots in Orca (or edit one of the filaments, which subsequently selects it), the AMS will roll the filament back and forth for a couple of seconds. Happens every time I click on one of the filaments, on both my AMS and AMS 2 Pro.
I've checked this in Bambu and it does nothing when I click on a filament, as I'd expect.
image

This should now been fixed in last commit

Confirmed that this is now fixed.
Equipment: P1S and AMS1, Orca 2.3.0.
I've had this issue for a few years. I've used Orca exclusively since about day2 of owing my P1S so I thought the Filament rollback was normal (although super annoying). I've updated to 2.3.1-dev to see if this corrects the issue.

Right now I can't get Orca to work because I update the Firmware on the P1S to 1.08.01.00 and now I'm getting the "Failed to get AMS mapping table" error.

@saintwolf
Copy link

I've encountered a bug using the new build. Whenever I click on one of the AMS slots in Orca (or edit one of the filaments, which subsequently selects it), the AMS will roll the filament back and forth for a couple of seconds. Happens every time I click on one of the filaments, on both my AMS and AMS 2 Pro.
I've checked this in Bambu and it does nothing when I click on a filament, as I'd expect.
image

This should now been fixed in last commit

Confirmed that this is now fixed.
Equipment: P1S and AMS1, Orca 2.3.0.
I've had this issue for a few years. I've used Orca exclusively since about day2 of owing my P1S so I thought the Filament rollback was normal (although super annoying). I've updated to 2.3.1-dev to see if this corrects the issue.

Right now I can't get Orca to work because I update the Firmware on the P1S to 1.08.01.00 and now I'm getting the "Failed to get AMS mapping table" error.

01.08.01.00 firmware should work, as it's what I use. Have you unchecked the "Use legacy network plugin" option?

Noisyfox and others added 5 commits June 1, 2025 19:25
jira:[none]

Change-Id: I9d60d0b5c2d0e2cf7ac5c5e4b0dbcf2daf6edbb1
(cherry picked from commit 9dce95d401e8333077db63dbad57bda837d0ce19)
jira:[none]

Change-Id: I9533944c343007897d25929739e5eb175bad6689
(cherry picked from commit 533911e2cd46fadc92bd7d908e81ad51ce14944c)
@claym001
Copy link

claym001 commented Jun 1, 2025

I've encountered a bug using the new build. Whenever I click on one of the AMS slots in Orca (or edit one of the filaments, which subsequently selects it), the AMS will roll the filament back and forth for a couple of seconds. Happens every time I click on one of the filaments, on both my AMS and AMS 2 Pro.
I've checked this in Bambu and it does nothing when I click on a filament, as I'd expect.
image

This should now been fixed in last commit

Confirmed that this is now fixed.
Equipment: P1S and AMS1, Orca 2.3.0.
I've had this issue for a few years. I've used Orca exclusively since about day2 of owing my P1S so I thought the Filament rollback was normal (although super annoying). I've updated to 2.3.1-dev to see if this corrects the issue.

Right now I can't get Orca to work because I update the Firmware on the P1S to 1.08.01.00 and now I'm getting the "Failed to get AMS mapping table" error.

01.08.01.00 firmware should work, as it's what I use. Have you unchecked the "Use legacy network plugin" option?

This is what I had to do, and it works fine for me. I also have a P1S running 01.08.01.00. Unchecking the legacy plugin fixes it.

Noisyfox and others added 7 commits June 2, 2025 16:17
JIRA: STUDIO-none

Change-Id: I3bb7b209962c15e94ef24d24f752e8cdafc42975
Signed-off-by: Stone Li <[email protected]>
(cherry picked from commit d5f9b35b911aabc0bf3683744f980838934f5bf7)
(cherry picked from commit 499b0d8e4f2295dd07a5d84e4917e04a404efd53)
jira: [STUDIO-9089]
Change-Id: I7ce5b1069abddd8aaa187ade03d0271b0b16dc9e
(cherry picked from commit 032b34eded21f452535086f672dd408200461d5a)
@ProtoSpyre3D
Copy link

With this PR, and an X1C running firmware 01.09.00.01, I am able to see the device/start the camera, browse files and do more than before, but I am unable to actually control the printer (no way to raise/lower the bed).
Screenshot 2025-05-30 at 7 06 46 PM
Sending a print job using the cloud also does not work:
Screenshot 2025-05-30 at 7 10 10 PM
It is nice though that it isn't throwing MQTT errors though while just viewing the device, and being able to use the camera.

X1 has auth enabled in latest firmwares, so you could not control / start print via cloud unless using bbs.

Is the future aspect of this build release going to enable cloud print/camera/printer controls? I just downloaded this due to frustrating encounters via LAN and DEV MODE on the latest firmware for the X1C. I have all printers using new AMS 2 systems and would love full functionality of drying and use of OS like before.

@Noisyfox
Copy link
Collaborator Author

Noisyfox commented Jun 3, 2025

With this PR, and an X1C running firmware 01.09.00.01, I am able to see the device/start the camera, browse files and do more than before, but I am unable to actually control the printer (no way to raise/lower the bed).
Screenshot 2025-05-30 at 7 06 46 PM
Sending a print job using the cloud also does not work:
Screenshot 2025-05-30 at 7 10 10 PM
It is nice though that it isn't throwing MQTT errors though while just viewing the device, and being able to use the camera.

X1 has auth enabled in latest firmwares, so you could not control / start print via cloud unless using bbs.

Is the future aspect of this build release going to enable cloud print/camera/printer controls? I just downloaded this due to frustrating encounters via LAN and DEV MODE on the latest firmware for the X1C. I have all printers using new AMS 2 systems and would love full functionality of drying and use of OS like before.

Cloud mode won't work for X1 with latest firmware.

@ProtoSpyre3D
Copy link

With this PR, and an X1C running firmware 01.09.00.01, I am able to see the device/start the camera, browse files and do more than before, but I am unable to actually control the printer (no way to raise/lower the bed).
Screenshot 2025-05-30 at 7 06 46 PM
Sending a print job using the cloud also does not work:
Screenshot 2025-05-30 at 7 10 10 PM
It is nice though that it isn't throwing MQTT errors though while just viewing the device, and being able to use the camera.

X1 has auth enabled in latest firmwares, so you could not control / start print via cloud unless using bbs.

Is the future aspect of this build release going to enable cloud print/camera/printer controls? I just downloaded this due to frustrating encounters via LAN and DEV MODE on the latest firmware for the X1C. I have all printers using new AMS 2 systems and would love full functionality of drying and use of OS like before.

Cloud mode won't work for X1 with latest firmware.

That's what I gathered from the initial statement from Bambu Lab. What I'm trying to figure out is now reading their wiki page on "Bambu Connect" I see different methods of which it seems like users could implement the "Authenticator - Bambu Connect" themselves? In the end I'm looking to use the new AMS 2 but I'm forced to upgrade firmware in order to use it with the new upgrades. I want to continue with OrcaSlicer due to it simply being superior in processing models & feature wise.

I understand SoftFever stated this was not going to be implemented due to the added time and complexity of which isn't and shouldn't be needed in the first place and that's completely understandable. But am I able to add it to my own version? Network? I appreciate what you've done here for P1 users at least.

@Noisyfox
Copy link
Collaborator Author

Noisyfox commented Jun 3, 2025

With this PR, and an X1C running firmware 01.09.00.01, I am able to see the device/start the camera, browse files and do more than before, but I am unable to actually control the printer (no way to raise/lower the bed).
Screenshot 2025-05-30 at 7 06 46 PM
Sending a print job using the cloud also does not work:
Screenshot 2025-05-30 at 7 10 10 PM
It is nice though that it isn't throwing MQTT errors though while just viewing the device, and being able to use the camera.

X1 has auth enabled in latest firmwares, so you could not control / start print via cloud unless using bbs.

Is the future aspect of this build release going to enable cloud print/camera/printer controls? I just downloaded this due to frustrating encounters via LAN and DEV MODE on the latest firmware for the X1C. I have all printers using new AMS 2 systems and would love full functionality of drying and use of OS like before.

Cloud mode won't work for X1 with latest firmware.

That's what I gathered from the initial statement from Bambu Lab. What I'm trying to figure out is now reading their wiki page on "Bambu Connect" I see different methods of which it seems like users could implement the "Authenticator - Bambu Connect" themselves? In the end I'm looking to use the new AMS 2 but I'm forced to upgrade firmware in order to use it with the new upgrades. I want to continue with OrcaSlicer due to it simply being superior in processing models & feature wise.

I understand SoftFever stated this was not going to be implemented due to the added time and complexity of which isn't and shouldn't be needed in the first place and that's completely understandable. But am I able to add it to my own version? Network? I appreciate what you've done here for P1 users at least.

Basically their new workflow will be to slice the project in Orca, then send the result to printer via their new Bambu Connect app.

@ProtoSpyre3D
Copy link

With this PR, and an X1C running firmware 01.09.00.01, I am able to see the device/start the camera, browse files and do more than before, but I am unable to actually control the printer (no way to raise/lower the bed).
Screenshot 2025-05-30 at 7 06 46 PM
Sending a print job using the cloud also does not work:
Screenshot 2025-05-30 at 7 10 10 PM
It is nice though that it isn't throwing MQTT errors though while just viewing the device, and being able to use the camera.

X1 has auth enabled in latest firmwares, so you could not control / start print via cloud unless using bbs.

Is the future aspect of this build release going to enable cloud print/camera/printer controls? I just downloaded this due to frustrating encounters via LAN and DEV MODE on the latest firmware for the X1C. I have all printers using new AMS 2 systems and would love full functionality of drying and use of OS like before.

Cloud mode won't work for X1 with latest firmware.

That's what I gathered from the initial statement from Bambu Lab. What I'm trying to figure out is now reading their wiki page on "Bambu Connect" I see different methods of which it seems like users could implement the "Authenticator - Bambu Connect" themselves? In the end I'm looking to use the new AMS 2 but I'm forced to upgrade firmware in order to use it with the new upgrades. I want to continue with OrcaSlicer due to it simply being superior in processing models & feature wise.
I understand SoftFever stated this was not going to be implemented due to the added time and complexity of which isn't and shouldn't be needed in the first place and that's completely understandable. But am I able to add it to my own version? Network? I appreciate what you've done here for P1 users at least.

Basically their new workflow will be to slice the project in Orca, then send the result to printer via their new Bambu Connect app.

Understandable, I hope for a 1-click resolution in the future. I did find a slight workaround for now that's suitable enough for the meantime. Using [2.3.1 Dev] OrcaSlicer > Load Model > Slice > Send > Start Print via Handy App

What's weird is it states file failed FTP via OS but the file is still transferred onto SD Card @ machine and can be started remotely. Sooo what exactly is the point of this authentication? lol

@Disttrack
Copy link

Will this PR be incorporated into the mainline at some point?

@anonim1133
Copy link

Will this PR be incorporated into the mainline at some point?

I hope it will. As without it, P1S wont start print, it's stuck in heating phase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community testers wanted Looking for community testers and feedback enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

P1S with AMS-Pro and AMS cannot print on FW 01.07.50.16 (Beta version)