1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[GH-ISSUE #854] [Bug]: Failed to get AMS mapping table when printing with External Spool (P1S) #580

Closed
opened 2026-05-07 00:11:49 +02:00 by BreizhHardware · 1 comment

Originally created by @UVCXanth on GitHub (Mar 31, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/854

Originally assigned to: @maziggy on GitHub.

Bug Description

When sending a print job to a Bambu Lab P1S using the External Spool (Virtual Tray 254), the printer fails to start and displays an error:

Printer Error: AMS/Filament Error
Failed to get AMS mapping table; please select 'Resume' to retry.

Despite mapping the filament correctly in the app before sending, the printer seems to lose or reject the mapping table for the external spool, requiring a manual "Resume" press on the printer or in Bambu Handy to continue.

Expected Behavior

The print job should initialize and start automatically using the specified mapping for the External Spool (ID 254) without triggering an AMS mapping error.

Steps to Reproduce

Select a model for printing in Bambuddy.

Ensure the printer (P1S) is configured to use the External Spool (no AMS or AMS ignored).

Map the required filament to the External Spool (Virtual Tray ID 254).

Send the print job to the printer.

The printer starts the "cloning/downloading" phase but then stops with the "Failed to get AMS mapping table" error.

Printer Model

P1S

Bambuddy Version

v0.2.3b1

Printer Firmware Version

01.09.00.00

Installation Method

Docker

Operating System

Linux (Ubuntu/Debian)

Relevant Logs / Support Package

bambuddy-support-20260331-071733.zip

Screenshots

No response

Additional Context

MQTT Status during the event:
The printer reports an empty ams array and identifies the external spool as vt_tray with ID 254.
"ams": [],
"vt_tray": [
{
"id": "254",
"tag_uid": "0000000000000000",
"tray_type": "PETG",
"tray_color": "161616FF",
"nozzle_temp_max": "270",
"nozzle_temp_min": "230"
// ... rest of the status
}
]

Extracted model_settings.config from the printer:
The mapping mode is set to Auto For Flush, but it seems the command sent by the app doesn't satisfy the printer's requirement for the mapping table when AMS is absent.

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
  • My printer has Developer Mode enabled
Originally created by @UVCXanth on GitHub (Mar 31, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/854 Originally assigned to: @maziggy on GitHub. ### Bug Description When sending a print job to a Bambu Lab P1S using the External Spool (Virtual Tray 254), the printer fails to start and displays an error: Printer Error: AMS/Filament Error Failed to get AMS mapping table; please select 'Resume' to retry. Despite mapping the filament correctly in the app before sending, the printer seems to lose or reject the mapping table for the external spool, requiring a manual "Resume" press on the printer or in Bambu Handy to continue. ### Expected Behavior The print job should initialize and start automatically using the specified mapping for the External Spool (ID 254) without triggering an AMS mapping error. ### Steps to Reproduce Select a model for printing in Bambuddy. Ensure the printer (P1S) is configured to use the External Spool (no AMS or AMS ignored). Map the required filament to the External Spool (Virtual Tray ID 254). Send the print job to the printer. The printer starts the "cloning/downloading" phase but then stops with the "Failed to get AMS mapping table" error. ### Printer Model P1S ### Bambuddy Version v0.2.3b1 ### Printer Firmware Version 01.09.00.00 ### Installation Method Docker ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs / Support Package [bambuddy-support-20260331-071733.zip](https://github.com/user-attachments/files/26368345/bambuddy-support-20260331-071733.zip) ### Screenshots _No response_ ### Additional Context MQTT Status during the event: The printer reports an empty ams array and identifies the external spool as vt_tray with ID 254. "ams": [], "vt_tray": [ { "id": "254", "tag_uid": "0000000000000000", "tray_type": "PETG", "tray_color": "161616FF", "nozzle_temp_max": "270", "nozzle_temp_min": "230" // ... rest of the status } ] Extracted model_settings.config from the printer: The mapping mode is set to Auto For Flush, but it seems the command sent by the app doesn't satisfy the printer's requirement for the mapping table when AMS is absent. <?xml version="1.0" encoding="UTF-8"?> <config> <plate> <metadata key="filament_map_mode" value="Auto For Flush"/> <metadata key="filament_maps" value="1"/> <metadata key="gcode_file" value="Metadata/plate_1.gcode"/> </plate> </config> ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [x] My printer is set to LAN Only mode - [x] My printer has Developer Mode enabled
BreizhHardware 2026-05-07 00:11:49 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@maziggy commented on GitHub (Mar 31, 2026):

Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you now.


If you find Bambuddy useful, please consider giving it a on GitHub — it helps others discover the project!

<!-- gh-comment-id:4160691512 --> @maziggy commented on GitHub (Mar 31, 2026): Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you now. ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/maziggy/bambuddy) — it helps others discover the project!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy-maziggy-1#580
No description provided.