Skip to content

FSWebServer 3.2.0

Choose a tag to compare

@cotestatnt cotestatnt released this 12 Feb 12:13
· 27 commits to master since this release

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, and sections

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 /setup and /edit pages 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/ and pio_examples/ directories
  • Supports multiple themes (Aurora, Sunrise, Mono)

Removals

  • highcharts example has been replaced by the new websocketEcharts example