mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-18 11:56:01 +02:00
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:
@@ -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 [])
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user