dashboard: use status field filtering
This commit is contained in:
@@ -65,3 +65,13 @@ Current dashboard firmware files:
|
||||
- `esp_panel_board_custom_conf.h` - Waveshare board/display configuration
|
||||
|
||||
This refactor keeps behavior unchanged while preparing for later `api` and `ui` file splits.
|
||||
|
||||
|
||||
## Status Field Filtering
|
||||
|
||||
The dashboard uses field-filtered `/api/v1/status` calls:
|
||||
|
||||
- Fast poll: `/api/v1/status?fields=battery,temps,relays`
|
||||
- Slow poll: `/api/v1/status?fields=network,system,config`
|
||||
|
||||
This keeps the endpoint model simple while reducing payload size, JSON parsing, and UI churn.
|
||||
|
||||
Reference in New Issue
Block a user