FSWebServer 3.2.0
v3.2.0
Config Schema v2
The config.json format has been updated to a hierarchical structure:
- Old format (v1): flat keys at root level
- New format (v2): structured with
_version,_meta,_state,_assets, andsections
Existing v1 configurations are automatically migrated at runtime. No manual intervention required.
New structure:
{
"_version": "2.0",
"_meta": {
"app_title": "Your App",
"logo": "/config/logo.svg",
"port": 80,
"host": "myserver"
},
"_state": {},
"_assets": {
"css": [],
"js": [],
"html": []
},
"sections": [ /* application options */ ]
}Improvements
- Setup/UI: Major updates to
/setupand/editpages with refined styling and asset handling - WiFi Service: Enhanced connection diagnostics and STA network configuration logging
- WebSocket: Improved random seeding on ESP32 using
esp_random()for better security - Captive Portal: Optimized flow and better IP configuration handling
WebSocket Telemetry Dashboard example
Added new websocketEcharts example with a live real-time dashboard:
- Displays heap memory, max block size, and WiFi RSSI
- Built with ECharts 5 for smooth animated charts
- Available in both
examples/andpio_examples/directories - Supports multiple themes (Aurora, Sunrise, Mono)
Removals
highchartsexample has been replaced by the newwebsocketEchartsexample