[GH-ISSUE #612] [Bug Report] I added a new filament to slot 4 of the AMS, but it's not showing up in the fila #394

Closed
opened 2026-05-06 12:29:02 +02:00 by BreizhHardware · 15 comments

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

Originally assigned to: @maziggy on GitHub.

I added a new filament to slot 4 of the AMS, but it's not showing up in the filament list.

Screenshot

Bug Report Screenshot

Reporter Contact

Email: adrilop002@hotmail.com

System Information
{
  "generated_at": "2026-03-05T00:16:13.552565",
  "app": {
    "version": "0.2.2b1",
    "debug_mode": false
  },
  "system": {
    "platform": "Linux",
    "platform_release": "6.8.0-101-generic",
    "platform_version": "#101-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb  9 10:15:05 UTC 2026",
    "architecture": "x86_64",
    "python_version": "3.12.3"
  },
  "environment": {
    "docker": false,
    "data_dir": "/opt/[user]/data",
    "log_dir": "/opt/[user]/logs",
    "timezone": "Europe/Madrid"
  },
  "database": {
    "archives_total": 141,
    "archives_completed": 138,
    "printers_total": 1,
    "filaments_total": 0,
    "projects_total": 7,
    "smart_plugs_total": 2
  },
  "printers": [
    {
      "index": 1,
      "model": "A1",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "IDLE",
      "firmware_version": "01.07.02.00",
      "wifi_signal": -45,
      "reachable": true,
      "ams_unit_count": 1,
      "ams_tray_count": 3,
      "has_vt_tray": true,
      "external_camera_configured": true,
      "plate_detection_enabled": false,
      "hms_error_count": 0,
      "developer_mode": null,
      "nozzle_rack_count": 0
    }
  ],
  "settings": {
    "auth_enabled": "false",
    "setup_completed": "true",
    "auto_archive": "true",
    "save_thumbnails": "true",
    "capture_finish_photo": "true",
    "default_filament_cost": "12.98",
    "currency": "EUR",
    "energy_cost_per_kwh": "0.15",
    "energy_tracking_mode": "print",
    "check_updates": "true",
    "check_printer_firmware": "true",
    "notification_language": "en",
    "ams_humidity_good": "40",
    "ams_humidity_fair": "60",
    "ams_temp_good": "28.0",
    "ams_temp_fair": "35.0",
    "ams_history_retention_days": "30",
    "per_printer_mapping_expanded": "false",
    "date_format": "eu",
    "time_format": "24h",
    "default_printer_id": "1",
    "ftp_retry_enabled": "true",
    "ftp_retry_count": "3",
    "ftp_retry_delay": "2",
    "ftp_timeout": "30",
    "mqtt_enabled": "false",
    "mqtt_broker": "",
    "mqtt_port": "1883",
    "mqtt_topic_prefix": "bambuddy",
    "mqtt_use_tls": "false",
    "ha_enabled": "true",
    "library_archive_mode": "always",
    "library_disk_warning_gb": "5.0",
    "camera_view_mode": "window",
    "preferred_slicer": "bambu_studio",
    "prometheus_enabled": "true",
    "virtual_printer_enabled": "true",
    "virtual_printer_mode": "proxy",
    "virtual_printer_model": "N2S",
    "virtual_printer_target_printer_id": "1",
    "virtual_printer_remote_interface_ip": "192.168.100.10",
    "spoolman_enabled": "false",
    "spoolman_sync_mode": "auto",
    "spoolman_disable_weight_sync": "true",
    "spoolman_report_partial_usage": "true",
    "bed_cooled_threshold": "35.0",
    "dark_accent": "teal",
    "dark_style": "classic",
    "debug_logging_enabled": "false",
    "debug_logging_enabled_at": "",
    "include_beta_updates": "true"
  },
  "virtual_printers": [
    {
      "index": 1,
      "enabled": false,
      "mode": "proxy",
      "model": "N2S",
      "model_name": "A1",
      "has_target_printer": true,
      "has_bind_ip": true,
      "running": false,
      "pending_files": 0
    },
    {
      "index": 2,
      "enabled": true,
      "mode": "review",
      "model": "N2S",
      "model_name": "A1",
      "has_target_printer": true,
      "has_bind_ip": true,
      "running": true,
      "pending_files": 0
    }
  ],
  "integrations": {
    "notification_providers": [
      {
        "type": "email",
        "enabled": true,
        "has_last_error": false
      }
    ],
    "spoolman": {
      "enabled": false,
      "reachable": false
    },
    "mqtt_relay": {
      "enabled": false,
      "connected": false,
      "broker": "",
      "port": 0,
      "topic_prefix": "bambuddy"
    },
    "homeassistant": {
      "enabled": true
    }
  },
  "database_health": {
    "journal_mode": "wal",
    "quick_check": "ok",
    "db_size_bytes": 1392640,
    "wal_size_bytes": 206032
  },
  "dependencies": {
    "fastapi": "0.135.1",
    "uvicorn": "0.41.0",
    "pydantic": "2.12.5",
    "sqlalchemy": "2.0.48",
    "paho-mqtt": "2.1.0",
    "psutil": "7.2.2",
    "httpx": "0.28.1",
    "aiofiles": "25.1.0",
    "cryptography": "46.0.5",
    "opencv-python-headless": "4.13.0.92",
    "numpy": "2.4.2"
  },
  "log_file": {
    "size_bytes": 32437,
    "size_formatted": "31.7 KB"
  },
  "network": {
    "interface_count": 2,
    "interfaces": [
      {
        "name": "ens192",
        "subnet": "x.x.100.0/24"
      },
      {
        "name": "ens224",
        "subnet": "x.x.20.0/24"
      }
    ]
  },
  "websockets": {
    "active_connections": 1
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (Mar 4, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/612 Originally assigned to: @maziggy on GitHub. I added a new filament to slot 4 of the AMS, but it's not showing up in the filament list. ### Screenshot ![Bug Report Screenshot](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/screenshots/5af947f16b4045f19c4fbe1953a6b793.png) <details> <summary>Reporter Contact</summary> Email: adrilop002@hotmail.com </details> <details> <summary>System Information</summary> ```json { "generated_at": "2026-03-05T00:16:13.552565", "app": { "version": "0.2.2b1", "debug_mode": false }, "system": { "platform": "Linux", "platform_release": "6.8.0-101-generic", "platform_version": "#101-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 9 10:15:05 UTC 2026", "architecture": "x86_64", "python_version": "3.12.3" }, "environment": { "docker": false, "data_dir": "/opt/[user]/data", "log_dir": "/opt/[user]/logs", "timezone": "Europe/Madrid" }, "database": { "archives_total": 141, "archives_completed": 138, "printers_total": 1, "filaments_total": 0, "projects_total": 7, "smart_plugs_total": 2 }, "printers": [ { "index": 1, "model": "A1", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "IDLE", "firmware_version": "01.07.02.00", "wifi_signal": -45, "reachable": true, "ams_unit_count": 1, "ams_tray_count": 3, "has_vt_tray": true, "external_camera_configured": true, "plate_detection_enabled": false, "hms_error_count": 0, "developer_mode": null, "nozzle_rack_count": 0 } ], "settings": { "auth_enabled": "false", "setup_completed": "true", "auto_archive": "true", "save_thumbnails": "true", "capture_finish_photo": "true", "default_filament_cost": "12.98", "currency": "EUR", "energy_cost_per_kwh": "0.15", "energy_tracking_mode": "print", "check_updates": "true", "check_printer_firmware": "true", "notification_language": "en", "ams_humidity_good": "40", "ams_humidity_fair": "60", "ams_temp_good": "28.0", "ams_temp_fair": "35.0", "ams_history_retention_days": "30", "per_printer_mapping_expanded": "false", "date_format": "eu", "time_format": "24h", "default_printer_id": "1", "ftp_retry_enabled": "true", "ftp_retry_count": "3", "ftp_retry_delay": "2", "ftp_timeout": "30", "mqtt_enabled": "false", "mqtt_broker": "", "mqtt_port": "1883", "mqtt_topic_prefix": "bambuddy", "mqtt_use_tls": "false", "ha_enabled": "true", "library_archive_mode": "always", "library_disk_warning_gb": "5.0", "camera_view_mode": "window", "preferred_slicer": "bambu_studio", "prometheus_enabled": "true", "virtual_printer_enabled": "true", "virtual_printer_mode": "proxy", "virtual_printer_model": "N2S", "virtual_printer_target_printer_id": "1", "virtual_printer_remote_interface_ip": "192.168.100.10", "spoolman_enabled": "false", "spoolman_sync_mode": "auto", "spoolman_disable_weight_sync": "true", "spoolman_report_partial_usage": "true", "bed_cooled_threshold": "35.0", "dark_accent": "teal", "dark_style": "classic", "debug_logging_enabled": "false", "debug_logging_enabled_at": "", "include_beta_updates": "true" }, "virtual_printers": [ { "index": 1, "enabled": false, "mode": "proxy", "model": "N2S", "model_name": "A1", "has_target_printer": true, "has_bind_ip": true, "running": false, "pending_files": 0 }, { "index": 2, "enabled": true, "mode": "review", "model": "N2S", "model_name": "A1", "has_target_printer": true, "has_bind_ip": true, "running": true, "pending_files": 0 } ], "integrations": { "notification_providers": [ { "type": "email", "enabled": true, "has_last_error": false } ], "spoolman": { "enabled": false, "reachable": false }, "mqtt_relay": { "enabled": false, "connected": false, "broker": "", "port": 0, "topic_prefix": "bambuddy" }, "homeassistant": { "enabled": true } }, "database_health": { "journal_mode": "wal", "quick_check": "ok", "db_size_bytes": 1392640, "wal_size_bytes": 206032 }, "dependencies": { "fastapi": "0.135.1", "uvicorn": "0.41.0", "pydantic": "2.12.5", "sqlalchemy": "2.0.48", "paho-mqtt": "2.1.0", "psutil": "7.2.2", "httpx": "0.28.1", "aiofiles": "25.1.0", "cryptography": "46.0.5", "opencv-python-headless": "4.13.0.92", "numpy": "2.4.2" }, "log_file": { "size_bytes": 32437, "size_formatted": "31.7 KB" }, "network": { "interface_count": 2, "interfaces": [ { "name": "ens192", "subnet": "x.x.100.0/24" }, { "name": "ens224", "subnet": "x.x.20.0/24" } ] }, "websockets": { "active_connections": 1 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/113c2945eb5c4bfab37a71eea60eb426.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-06 12:29:02 +02:00
Author
Owner

@adrilop002 commented on GitHub (Mar 5, 2026):

[backend.app.main]
RFID spool auto-assign failed: greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected place? (Background on this error at: https://sqlalche.me/e/20/xd2s)

<!-- gh-comment-id:4002570655 --> @adrilop002 commented on GitHub (Mar 5, 2026): [backend.app.main] RFID spool auto-assign failed: greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected place? (Background on this error at: https://sqlalche.me/e/20/xd2s)
Author
Owner

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

Already fixed. PLease use branch 0.2.2b1 and let me know if it works.

<!-- gh-comment-id:4002796643 --> @maziggy commented on GitHub (Mar 5, 2026): Already fixed. PLease use branch 0.2.2b1 and let me know if it works.
Author
Owner

@adrilop002 commented on GitHub (Mar 5, 2026):

Hello, the branch I was using and where I encountered the error was v0.2.2b.
I performed this update yesterday.
I've run the update again now and the same error persists.
A1 Printer
AMS Lite
Thank you so much!

<!-- gh-comment-id:4002894486 --> @adrilop002 commented on GitHub (Mar 5, 2026): Hello, the branch I was using and where I encountered the error was v0.2.2b. I performed this update yesterday. I've run the update again now and the same error persists. A1 Printer AMS Lite Thank you so much!
Author
Owner

@adrilop002 commented on GitHub (Mar 5, 2026):

I'm including these screenshots in case they help to understand the problem.

Image Image
<!-- gh-comment-id:4002917364 --> @adrilop002 commented on GitHub (Mar 5, 2026): I'm including these screenshots in case they help to understand the problem. <img width="832" height="653" alt="Image" src="https://github.com/user-attachments/assets/6c92f955-ebf3-499f-82e5-167901c87cd0" /> <img width="1129" height="358" alt="Image" src="https://github.com/user-attachments/assets/210dc01b-447d-4d4e-aca7-249b241f444c" />
Author
Owner

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

I'm sure this is already fixed. Please use branch 0.2.2b2 and try again.

<!-- gh-comment-id:4003100831 --> @maziggy commented on GitHub (Mar 5, 2026): I'm sure this is already fixed. Please use branch 0.2.2b2 and try again.
Author
Owner

@adrilop002 commented on GitHub (Mar 5, 2026):

It seems I'm doing something wrong.
I can't update to v0.2.2b2. I've reverted to v0.2.1.1. It works correctly there.

/opt/bambuddy$ sudo -u bambuddy git checkout -f v0.2.2b2
error: pathspec 'v0.2.2b2' did not match any file(s) known to git

Image

Thank you so much

<!-- gh-comment-id:4003178405 --> @adrilop002 commented on GitHub (Mar 5, 2026): It seems I'm doing something wrong. I can't update to v0.2.2b2. I've reverted to v0.2.1.1. It works correctly there. /opt/bambuddy$ sudo -u bambuddy git checkout -f v0.2.2b2 error: pathspec 'v0.2.2b2' did not match any file(s) known to git <img width="1276" height="925" alt="Image" src="https://github.com/user-attachments/assets/8edfcdb4-db20-4e46-9f71-c529d07dc92b" /> Thank you so much
Author
Owner

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

cd to your bambuddy folder and do a

git pull && git checkout 0.2.2b2 && git pull && sudo systemctl restart bambuddy

<!-- gh-comment-id:4003232874 --> @maziggy commented on GitHub (Mar 5, 2026): cd to your bambuddy folder and do a git pull && git checkout 0.2.2b2 && git pull && sudo systemctl restart bambuddy
Author
Owner

@adrilop002 commented on GitHub (Mar 5, 2026):

I have recovered the snapshot (ESXI) so that slot 4 of the ams is disassociated again and left as is.
I have updated to version v0.2.2b2

LOG:
09:53:54,021
[backend.app.services.firmware_check]
Failed to get Bambu Lab page: 403
09:54:18,425
[backend.app.services.bambu_mqtt]
[03900D5B1115331] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False)
09:54:18,425
[backend.app.services.bambu_mqtt]
[03900D5B1115331] Disconnected shortly after request topic subscription. Disabling request topic for this printer.
09:54:21,289
[backend.app.main]
RFID spool auto-assign failed: greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected place? (Background on this error at: https://sqlalche.me/e/20/xd2s)
09:55:41,034
[backend.app.services.firmware_check]
Failed to get Bambu Lab page: 403
09:56:08,339
[backend.app.services.bambu_mqtt]
[03900D5B1115331] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False)
09:56:08,339
[backend.app.services.bambu_mqtt]
[03900D5B1115331] Disconnected shortly after request topic subscription. Disabling request topic for this printer.
09:56:10,256
[backend.app.services.bambu_mqtt]
[03900D5B1115331] AMS unit 0: serial number not available in version info
09:56:10,256
[backend.app.services.bambu_mqtt]
[03900D5B1115331] AMS unit 0: firmware version not available in version info
09:56:10,289
[backend.app.main]
RFID spool auto-assign failed: greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected place? (Background on this error at: https://sqlalche.me/e/20/xd2s)
09:56:18,578
[backend.app.services.firmware_check]
Failed to get Bambu Lab page: 403

Image Image

Thank you so much

<!-- gh-comment-id:4003463911 --> @adrilop002 commented on GitHub (Mar 5, 2026): I have recovered the snapshot (ESXI) so that slot 4 of the ams is disassociated again and left as is. I have updated to version v0.2.2b2 LOG: 09:53:54,021 [backend.app.services.firmware_check] Failed to get Bambu Lab page: 403 09:54:18,425 [backend.app.services.bambu_mqtt] [03900D5B1115331] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False) 09:54:18,425 [backend.app.services.bambu_mqtt] [03900D5B1115331] Disconnected shortly after request topic subscription. Disabling request topic for this printer. 09:54:21,289 [backend.app.main] RFID spool auto-assign failed: greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected place? (Background on this error at: https://sqlalche.me/e/20/xd2s) 09:55:41,034 [backend.app.services.firmware_check] Failed to get Bambu Lab page: 403 09:56:08,339 [backend.app.services.bambu_mqtt] [03900D5B1115331] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False) 09:56:08,339 [backend.app.services.bambu_mqtt] [03900D5B1115331] Disconnected shortly after request topic subscription. Disabling request topic for this printer. 09:56:10,256 [backend.app.services.bambu_mqtt] [03900D5B1115331] AMS unit 0: serial number not available in version info 09:56:10,256 [backend.app.services.bambu_mqtt] [03900D5B1115331] AMS unit 0: firmware version not available in version info 09:56:10,289 [backend.app.main] RFID spool auto-assign failed: greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected place? (Background on this error at: https://sqlalche.me/e/20/xd2s) 09:56:18,578 [backend.app.services.firmware_check] Failed to get Bambu Lab page: 403 <img width="1080" height="844" alt="Image" src="https://github.com/user-attachments/assets/b72faabc-88ed-4f04-8686-2f1b2a129d7b" /> <img width="1512" height="940" alt="Image" src="https://github.com/user-attachments/assets/4fd6e516-68d4-45e6-a442-8b2a4992043f" /> Thank you so much
Author
Owner

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

Need a support package -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging

<!-- gh-comment-id:4003473745 --> @maziggy commented on GitHub (Mar 5, 2026): Need a support package -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging
Author
Owner

@adrilop002 commented on GitHub (Mar 5, 2026):

I hope this helps. Thank you so much!

bambuddy-support-20260305-112649.zip

<!-- gh-comment-id:4004029782 --> @adrilop002 commented on GitHub (Mar 5, 2026): I hope this helps. Thank you so much! [bambuddy-support-20260305-112649.zip](https://github.com/user-attachments/files/25764586/bambuddy-support-20260305-112649.zip)
Author
Owner

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

Can you explain, what

"I added a new filament to slot 4 of the AMS"

exactly means? What di you do exactly?

The A1's AMS Lite doesn't have an RFID reader, so filaments won't auto-detect — you'd need to configure them on the printer screen or in your slicer.

Can you check: does slot 4 show up on the printer's screen with the filament loaded? If the printer itself shows 4 filaments but BamBuddy only shows 3, that's something I can fix on my end. If the printer screen also doesn't show it, the filament may not be fully seated.

<!-- gh-comment-id:4004363613 --> @maziggy commented on GitHub (Mar 5, 2026): Can you explain, what "I added a new filament to slot 4 of the AMS" exactly means? What di you do exactly? The A1's AMS Lite doesn't have an RFID reader, so filaments won't auto-detect — you'd need to configure them on the printer screen or in your slicer. Can you check: does slot 4 show up on the printer's screen with the filament loaded? If the printer itself shows 4 filaments but BamBuddy only shows 3, that's something I can fix on my end. If the printer screen also doesn't show it, the filament may not be fully seated.
Author
Owner

@adrilop002 commented on GitHub (Mar 5, 2026):

Yes, the printer shows the slot as loaded.
AMS Lite has RFID.
I've attached a screenshot of the previous version.

Image Image

Thank you very much and best regards.

<!-- gh-comment-id:4004410367 --> @adrilop002 commented on GitHub (Mar 5, 2026): Yes, the printer shows the slot as loaded. AMS Lite has RFID. I've attached a screenshot of the previous version. <img width="1114" height="935" alt="Image" src="https://github.com/user-attachments/assets/4eb8a2aa-89f3-41a7-af46-0894436e0268" /> <img width="1489" height="936" alt="Image" src="https://github.com/user-attachments/assets/3f6af12f-1d0c-44ac-b04c-206ffe3e2f50" /> Thank you very much and best regards.
Author
Owner

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

Please pull branch 0.2.22b2, restart Bambuddy and try again.

<!-- gh-comment-id:4004462489 --> @maziggy commented on GitHub (Mar 5, 2026): Please pull branch 0.2.22b2, restart Bambuddy and try again.
Author
Owner

@adrilop002 commented on GitHub (Mar 5, 2026):

It worked. Thank you so much!!

<!-- gh-comment-id:4004572302 --> @adrilop002 commented on GitHub (Mar 5, 2026): It worked. Thank you so much!!
Author
Owner

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


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

<!-- gh-comment-id:4004612812 --> @maziggy commented on GitHub (Mar 5, 2026): ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/bambuman/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#394
No description provided.