mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-07 23:01:06 +02:00
The daemon took tray_uuid from tag blocks 4-5, which hold the filament type, so every spool of one type sent the same value and the kiosk never saved it. Read block 9, which both tags of a spool share and the AMS reports as tray_uuid. Save it on kiosk quick-add and link in local and Spoolman mode, and give spools added before the fix their tray_uuid when their exact tag UID is scanned again. Drop any tray_uuid that is not a v4 UUID, so daemons that are not updated yet keep matching by tag UID. Block 9 read based on #1200 by @Keybored02. Co-Authored-By: Keybored02 <Keybored02@users.noreply.github.com>