ESPAsyncWebServer/examples/SmartSwitch/README.md

1.5 KiB

SmartSwitch

  • Remote Temperature Control application with schedule (example: car block heater or car battery charger for winter)
  • Based on ESP_AsyncFSBrowser example that uses embedded ACE editor
  • Wide browser compatibility, no extra server-side needed
  • HTTP server and WebSocket on same port
  • Standalone, no JS dependencies for the browser from Internet
  • Ace Editor embedded to source but also - editable, upgradeable see extras folder
  • Added ESPAsyncWiFiManager and fallback AP mode after timeout
  • Real Time (NTP) w/ Time Zones. Sync from browser time if in AP mode
  • Memorized settings to EEPROM
  • Multiple clients can be connected at same time, they see each other' requests
  • Authentication variants including Cookie-based idea
  • Used this Xtea implementation for getting a fancier Cookie token
  • Default credentials smart : switch or only switch as password
  • OTA included
  • Use the latest ESP8266 ESP32 cores from GitHub