Add full nozzle rack metrics and per-slot hover cards for H2C printers

Capture 4 additional fields from MQTT nozzle data (max_temp, serial_number,
filament_color, filament_id) and surface them through REST/WebSocket APIs.
Add per-slot hover popover to the NozzleRackCard showing all metrics, filament
color backgrounds on slots, and i18n labels in all 4 locales.
This commit is contained in:
maziggy
2026-02-09 15:10:49 +01:00
parent d9895aae5b
commit 6661bbf866
14 changed files with 712 additions and 455 deletions
+4
View File
@@ -369,6 +369,10 @@ async def get_printer_status(
nozzle_diameter=n.get("diameter", ""),
wear=n.get("wear"),
stat=n.get("stat"),
max_temp=n.get("max_temp", 0),
serial_number=n.get("serial_number", ""),
filament_color=n.get("filament_color", ""),
filament_id=n.get("filament_id", ""),
)
for n in (state.nozzle_rack or [])
]