mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 19:21:33 +02:00
Add color-matching fallback for slot-to-tray mapping on printers that don't provide the MQTT mapping field (snow encoding) or reject request topic subscription. Matches 3MF filament slot colors against AMS tray colors to resolve the correct physical tray. Returns no match when colors are ambiguous (duplicate tray colors) to safely fall through to existing fallbacks. Mapping priority chain: print_cmd → MQTT snow → queue → color match → tray_now → slot_id-1.