mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-22 12:11:31 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user