Printer uses wrong filament on latest nightly #78

Closed
opened 2026-06-30 15:23:50 +00:00 by BasK · 12 comments

Description

I have 4 filaments loaded, they are shown correctly on the printer, in orcaslicer and in the kx-bridge. When printing a multicolor print the first color that was printed (which should have been from slot 3) was actually from slot 4.

Steps to Reproduce

  1. I created a layered stl and painted each of the 3 layers in a different color in orcaslicer
  2. I sliced it and all colors looked correct and mapped to the right slot
  3. When printing it should start with slot 3, but instead it uses slot 4

Expected Behavior

Printing with the right colors

Actual Behavior

Wrong color.

I tried resyncing orcaslicer, stopping and starting the print, restarting orcaslicer.

Environment

  • KX-Bridge Version: latest nightly (docker build from the most recent nightly branch)
  • OrcaSlicer Version: 2.4.1-kx1
  • Moonraker/Klipper Version: unknown
  • Operating System: debian 13 lxc
  • Installation: Docker Compose

Logs

[15:22:18] INFO bridge: Spoolman: 60.8 mm → spool 10
[15:22:19] INFO bridge: Spoolman: 60.8 mm → spool 9
[15:22:19] INFO bridge: Spoolman: 60.8 mm → spool 7
[15:22:20] INFO kobrax.mqtt: RX print/report state=printing progress=0% layer=1/98
[15:22:20] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 0, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "printing", "supplies_usage": 249, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 89, "curr_nozzle_temp": 220, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"}
[15:22:21] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3
[15:22:21] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:21 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:21] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:21 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:21] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:21 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:21] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:21 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:21] INFO kobrax.mqtt: RX tempature/report nozzle=219°C/220°C bed=89°C/55°C
[15:22:21] INFO kobrax.mqtt: RX fan/report state=done data={"fan_speed_pct": 0, "taskid": "-1"}
[15:22:21] INFO bridge: Spoolman: 182.2 mm → spool 10
[15:22:22] INFO kobrax.mqtt: RX print/report state=updated progress=0% layer=1/98
[15:22:23] INFO kobrax.mqtt: RX tempature/report nozzle=222°C/220°C bed=89°C/55°C
[15:22:24] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 0, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "printing", "supplies_usage": 249, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 88, "curr_nozzle_temp": 223, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"}
[15:22:24] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3
[15:22:24] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:24 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:24] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:24 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:24] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:24 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:24] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:24 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:27] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 0, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "printing", "supplies_usage": 249, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 88, "curr_nozzle_temp": 220, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"}
[15:22:27] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3
[15:22:27] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:27 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:27] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:27 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:27] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:27 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:27] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:27 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:28] INFO kobrax.mqtt: RX print/report state=stopping progress=0% layer=1/98
[15:22:30] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 4, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "stopping", "supplies_usage": 258, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 88, "curr_nozzle_temp": 220, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"}
[15:22:30] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3
[15:22:30] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:30 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:30] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:30 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:30] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:30 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:30] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:30 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:31] INFO kobrax.mqtt: RX tempature/report nozzle=219°C/220°C bed=87°C/55°C
[15:22:33] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 4, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "stopping", "supplies_usage": 258, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 87, "curr_nozzle_temp": 222, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"}
[15:22:33] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:33 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:33] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:33 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:33] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:33 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:33] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:33 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:33] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3
[15:22:33] INFO kobrax.mqtt: RX tempature/report nozzle=222°C/220°C bed=87°C/55°C
[15:22:33] INFO bridge: Spoolman: 15.0 mm → spool 10
[15:22:35] INFO kobrax.mqtt: RX tempature/report nozzle=219°C/220°C bed=87°C/55°C
[15:22:36] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:36 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:36] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:36 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:36] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:36 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:36] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:36 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14"
[15:22:36] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 4, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "stopping", "supplies_usage": 258, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 87, "curr_nozzle_temp": 219, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"}
[15:22:36] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3

## Description I have 4 filaments loaded, they are shown correctly on the printer, in orcaslicer and in the kx-bridge. When printing a multicolor print the first color that was printed (which should have been from slot 3) was actually from slot 4. ## Steps to Reproduce 1. I created a layered stl and painted each of the 3 layers in a different color in orcaslicer 2. I sliced it and all colors looked correct and mapped to the right slot 3. When printing it should start with slot 3, but instead it uses slot 4 ## Expected Behavior Printing with the right colors ## Actual Behavior Wrong color. I tried resyncing orcaslicer, stopping and starting the print, restarting orcaslicer. ## Environment - KX-Bridge Version: latest nightly (docker build from the most recent nightly branch) - OrcaSlicer Version: 2.4.1-kx1 - Moonraker/Klipper Version: unknown - Operating System: debian 13 lxc - Installation: Docker Compose ## Logs [15:22:18] INFO bridge: Spoolman: 60.8 mm → spool 10 [15:22:19] INFO bridge: Spoolman: 60.8 mm → spool 9 [15:22:19] INFO bridge: Spoolman: 60.8 mm → spool 7 [15:22:20] INFO kobrax.mqtt: RX print/report state=printing progress=0% layer=1/98 [15:22:20] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 0, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "printing", "supplies_usage": 249, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 89, "curr_nozzle_temp": 220, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"} [15:22:21] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3 [15:22:21] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:21 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:21] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:21 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:21] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:21 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:21] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:21 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:21] INFO kobrax.mqtt: RX tempature/report nozzle=219°C/220°C bed=89°C/55°C [15:22:21] INFO kobrax.mqtt: RX fan/report state=done data={"fan_speed_pct": 0, "taskid": "-1"} [15:22:21] INFO bridge: Spoolman: 182.2 mm → spool 10 [15:22:22] INFO kobrax.mqtt: RX print/report state=updated progress=0% layer=1/98 [15:22:23] INFO kobrax.mqtt: RX tempature/report nozzle=222°C/220°C bed=89°C/55°C [15:22:24] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 0, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "printing", "supplies_usage": 249, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 88, "curr_nozzle_temp": 223, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"} [15:22:24] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3 [15:22:24] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:24 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:24] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:24 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:24] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:24 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:24] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:24 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:27] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 0, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "printing", "supplies_usage": 249, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 88, "curr_nozzle_temp": 220, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"} [15:22:27] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3 [15:22:27] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:27 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:27] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:27 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:27] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:27 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:27] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:27 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:28] INFO kobrax.mqtt: RX print/report state=stopping progress=0% layer=1/98 [15:22:30] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 4, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "stopping", "supplies_usage": 258, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 88, "curr_nozzle_temp": 220, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"} [15:22:30] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3 [15:22:30] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:30 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:30] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:30 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:30] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:30 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:30] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:30 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:31] INFO kobrax.mqtt: RX tempature/report nozzle=219°C/220°C bed=87°C/55°C [15:22:33] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 4, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "stopping", "supplies_usage": 258, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 87, "curr_nozzle_temp": 222, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"} [15:22:33] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:33 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:33] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:33 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:33] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:33 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:33] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:33 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:33] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3 [15:22:33] INFO kobrax.mqtt: RX tempature/report nozzle=222°C/220°C bed=87°C/55°C [15:22:33] INFO bridge: Spoolman: 15.0 mm → spool 10 [15:22:35] INFO kobrax.mqtt: RX tempature/report nozzle=219°C/220°C bed=87°C/55°C [15:22:36] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:36 +0000] "GET /api/state HTTP/1.1" 200 8059 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:36] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:36 +0000] "GET /api/settings HTTP/1.1" 200 1366 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:36] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:36 +0000] "GET /kx/skip/state HTTP/1.1" 200 12504 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:36] INFO aiohttp.access: 192.168.2.122 [30/Jun/2026:15:22:36 +0000] "GET /kx/filament/slots HTTP/1.1" 200 1033 "-" "HomeAssistant/2026.6.4 aiohttp/3.13.5 Python/3.14" [15:22:36] INFO kobrax.mqtt: RX info/report state=done data={"aux_fan_speed_pct": 100, "fan_speed_pct": 0, "features": {"auto_leveling_support": true, "camera_timelapse_support": true, "delete_batch_support": true, "drying_first_support": false, "flow_calibration_support": true, "fod_support": true, "gcode_3mf_support": true, "keep_print_head_temp_support": true, "pre_cancel_support": true, "preheating_support": true, "shengwang_rdt_support": true, "shengwang_rtc_support": true, "vibration_compensation_support": true}, "ip": "192.168.2.68", "last_project": null, "model": "Anycubic Kobra X", "print_speed_mode": 2, "printerName": "Anycubic Kobra X", "project": {"curr_layer": 1, "filename": "words_key_rens_plate(01)_PLA_0.08_44m58s.gcode", "pause": 4, "print_speed_mode": 2, "print_status": 1, "print_time": 1, "progress": 0, "project_type": 1, "remain_time": 44, "state": "stopping", "supplies_usage": 258, "task_id": "-1", "task_settings": ["camera_timelapse", 0], "total_layers": 98}, "state": "busy", "temp": {"curr_hotbed_temp": 87, "curr_nozzle_temp": 219, "target_hotbed_temp": 55, "target_nozzle_temp": 220}, "urls": {"fileUploadurl": "http://192.168.2.68:18910/gcode_upload?s=OUfovNehi6", "rtspUrl": "http://192.168.2.68:18088/live/hfque5at"}, "version": "1.2.0.2"} [15:22:36] INFO bridge: AMS-Slots empfangen: 4, loaded_slot=3
BasK added the
bug
label 2026-06-30 15:23:50 +00:00
Owner

can you share gcode file please ?

can you share gcode file please ?
viewit added the
question
label 2026-06-30 19:03:45 +00:00
Owner

and the bug is only with latest nighty ? stabel is ok ?

and the bug is only with latest nighty ? stabel is ok ?
Author

2 good questions, I've added the gcode, I'll try with the stable version now and let you know the results.

2 good questions, I've added the gcode, I'll try with the stable version now and let you know the results.
Author

Stable has the same issue, I'll switch to the previous version of Orcaslicer-KX to see if that changes anything

Stable has the same issue, I'll switch to the previous version of Orcaslicer-KX to see if that changes anything
Author

previous version of orcaslicer-kx also produces the same result. It's getting too late for me to print today, so hopefully the gcode helps and otherwise I'll see if I can do more tests for you tomorrow. I have a very busy day tomorrow and Thursday however, so my next reply might take a bit longer

previous version of orcaslicer-kx also produces the same result. It's getting too late for me to print today, so hopefully the gcode helps and otherwise I'll see if I can do more tests for you tomorrow. I have a very busy day tomorrow and Thursday however, so my next reply might take a bit longer
Author

I added the 3mf file as well, maybe it sheds some more light

I added the 3mf file as well, maybe it sheds some more light
Author

Amazing, thank you.

Amazing, thank you.
viewit reopened this issue 2026-06-30 21:01:32 +00:00
Owner

please wait .. i will test first .

please wait .. i will test first .
Author

No rush, I won't be able to print until tomorrow morning at the soonest

No rush, I won't be able to print until tomorrow morning at the soonest
Owner

I've now been able to reproduce the error. The first layer should be red, but it's printing white. The slot selection jumps by +1. I'm working on a fix. Thank you for this detailed feedback and your cooperation. There have been reports of this kind of error before, but I couldn't really figure out what was causing it. I now need to check in OrcaSlicer and in Bridge to see what's actually causing this error.

I've now been able to reproduce the error. The first layer should be red, but it's printing white. The slot selection jumps by +1. I'm working on a fix. Thank you for this detailed feedback and your cooperation. There have been reports of this kind of error before, but I couldn't really figure out what was causing it. I now need to check in OrcaSlicer and in Bridge to see what's actually causing this error.
Owner

Root cause identified and fixed.

The printer interprets ams_box_mapping as an ordered list where entry N corresponds to tool change TN in the GCode. When T0 is unused (e.g. only T1/T2/T3 are used), the bridge was sending a compressed list starting at index 0 — so T2 (red, slot 3) mapped to entry 2 which the printer read as slot 4 (white).

Fix: the mapping now always includes placeholder entries for skipped paint indices so the list positions match the GCode tool numbers exactly.

Fix is live on nightly:

docker compose pull && docker compose up -d
Root cause identified and fixed. The printer interprets `ams_box_mapping` as an ordered list where entry N corresponds to tool change TN in the GCode. When T0 is unused (e.g. only T1/T2/T3 are used), the bridge was sending a compressed list starting at index 0 — so T2 (red, slot 3) mapped to entry 2 which the printer read as slot 4 (white). Fix: the mapping now always includes placeholder entries for skipped paint indices so the list positions match the GCode tool numbers exactly. Fix is live on nightly: ```bash docker compose pull && docker compose up -d ```
viewit reopened this issue 2026-07-01 19:12:33 +00:00
Author

I finally had a chance to test the nightly this morning and the print worked perfectly!

I finally had a chance to test the nightly this morning and the print worked perfectly!
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: viewit/KX-Bridge-Release#78
No description provided.