custom fonts and further UI reworks
This commit is contained in:
@@ -14,10 +14,13 @@ Raspberry Pi system monitor running on a Waveshare ESP32-S3 RLCD 4.2" board. Con
|
||||
Pi (server) ESP32-S3 (client)
|
||||
stats_server.py --WS/JSON--> ws_client --> dashboard_ui (LVGL)
|
||||
+ local sensors (SHTC3)
|
||||
+ RTC clock (PCF85063)
|
||||
```
|
||||
|
||||
The Pi runs a WebSocket server that pushes system stats (CPU, memory, disk, temperature, network, services) as JSON every 2 seconds. The ESP32 parses the JSON and updates LVGL widgets. A data staleness watchdog forces reconnection if the server goes silent.
|
||||
|
||||
The display uses a two-column layout: left half shows Pi stats (CPU/RAM/DISK bars, CPU temp) and a services table; right half shows a large HH:MM:SS clock (montserrat_36), date with day-of-week, and local sensor readings (room temp, humidity). The services table auto-scrolls when more than 4 services are present. The clock updates every second from the on-board RTC, which syncs from the Pi's time when drift exceeds 60 seconds.
|
||||
|
||||
## Configuration
|
||||
|
||||
Edit `components/esp_wifi_bsp/wifi_config.h`:
|
||||
|
||||
Reference in New Issue
Block a user