Show ethernet indicator instead of WiFi signal for wired printers (#585)

Parse home_flag bit 18 (0x00040000) from MQTT to detect ethernet
  connections. When set, the printer card shows a green "Ethernet"
  badge with a cable icon instead of WiFi signal strength in dBm.
  The printer info modal also displays "Ethernet" instead of WiFi
  signal details.
This commit is contained in:
maziggy
2026-03-04 09:44:08 +01:00
parent 76fd8c5c48
commit 6388b0df9b
10 changed files with 132 additions and 103 deletions
+1
View File
@@ -210,6 +210,7 @@ export interface PrinterStatus {
timelapse: boolean; // Timelapse recording active
ipcam: boolean; // Live view enabled
wifi_signal: number | null; // WiFi signal strength in dBm
wired_network: boolean; // Ethernet connection detected
nozzles: NozzleInfo[]; // Nozzle hardware info (index 0=left/primary, 1=right)
nozzle_rack: NozzleRackSlot[]; // H2C 6-nozzle tool-changer rack
print_options: PrintOptions | null; // AI detection and print options