Connect to Multiple WiFi Networks Safely
Try SSIDs sequentially with timeout and internet check.

Try SSIDs sequentially with timeout and internet check.

Serve a page and a simple JSON API.

Upload files to SPIFFS using AsyncWebServer.

Use HTTPClient with basic retry/backoff.

Secure requests with CA cert or fingerprint.

Connect to broker, publish sensor data, auto-reconnect.

Keep time via NTP, fall back to RTC.

Update firmware via browser or HTTP server.

Store config as JSON in FS.

Push sensor data to browser via WebSocket.