dashboard: add first-boot cargo WiFi setup
This commit is contained in:
@@ -319,3 +319,14 @@ The diagnostics overlay shows dashboard version, uptime, heap, WiFi RSSI/IP, Car
|
||||
- Sends standard 11-bit functional request ID `0x7DF` and accepts ECU responses from `0x7E8` through `0x7EF`.
|
||||
- Diagnostics page shows TWAI state, coolant value, TX/RX counts, and last OBD status.
|
||||
- Overview coolant gauge shows `--°` until a valid OBD response is received.
|
||||
|
||||
|
||||
## Dashboard first-boot WiFi setup
|
||||
|
||||
The ESP32-S3 dashboard no longer hardcodes Cargo ESP WiFi credentials or the Cargo API base URL. On first boot, it shows a touchscreen setup page where the user enters:
|
||||
|
||||
- Cargo ESP WiFi SSID
|
||||
- Cargo ESP WiFi password
|
||||
- Cargo API base URL, for example `http://192.168.4.1`
|
||||
|
||||
The dashboard saves these values in ESP32 Preferences/NVS and builds all `/api/v1` endpoint URLs at runtime. The boot screen also provides a Setup button for changing saved settings later.
|
||||
|
||||
Reference in New Issue
Block a user