Files
bambuddy/backend
maziggy 4f8cad0cf7 fix(mqtt): correct AMS-HT snow slot computation for H2D disambiguation
AMS-HT trays (IDs 128-135) are single-slot units, but the snow_slot
computation used `snow_tray % 4 if snow_tray < 128 else -1`, yielding
-1 for AMS HT. This caused a misleading "slot mismatch" debug log on
every MQTT update despite producing the correct tray_now value. Now
returns slot 0 for AMS-HT IDs (128-135), matching the firmware's
tray_now=0 for these single-slot units.
2026-02-18 10:22:02 +01:00
..
2026-02-18 09:17:50 +01:00