diff --git a/examples/SmartSwitch/AWIFIMAN.JPG b/examples/SmartSwitch/AWIFIMAN.JPG new file mode 100644 index 0000000..46f38f4 Binary files /dev/null and b/examples/SmartSwitch/AWIFIMAN.JPG differ diff --git a/examples/SmartSwitch/README.md b/examples/SmartSwitch/README.md index 371de48..fc0bdfa 100644 --- a/examples/SmartSwitch/README.md +++ b/examples/SmartSwitch/README.md @@ -1,12 +1,12 @@ -![](SCREENSHOT.PNG) +![](SCREENSHOT.PNG) ![](AWIFIMAN.JPG) -* SmartSwitch application +## SmartSwitch * Based on ESP_AsyncFSBrowser * Temperature Control for heater with schedule for car block heater or battery charger * Wide browser compatibility, no extra server-side needed. * HTTP server and WebSocket, single port * Standalone, no JS dependencies for the browser from Internet (I hope) -* Based on ESP_AsyncFSBrowser +* Added ESPAsyncWiFiManager * Real Time (NTP) w/ Time Zones * Memorized settings to EEPROM * Multiple clients can be connected at same time, they see each other requests diff --git a/examples/SmartSwitch/SCREENSHOT.PNG b/examples/SmartSwitch/SCREENSHOT.PNG index 9f18ba0..001cc56 100644 Binary files a/examples/SmartSwitch/SCREENSHOT.PNG and b/examples/SmartSwitch/SCREENSHOT.PNG differ diff --git a/examples/SmartSwitch/SmartSwitch.ino b/examples/SmartSwitch/SmartSwitch.ino index 22d9998..e7927a1 100644 --- a/examples/SmartSwitch/SmartSwitch.ino +++ b/examples/SmartSwitch/SmartSwitch.ino @@ -60,7 +60,11 @@ AsyncWebServer server(80); //single port - easy for forwarding AsyncWebSocket ws("/ws"); #ifdef USE_WFM - DNSServer dns; + #ifdef USE_EADNS + AsyncDNSServer dns; + #else + DNSServer dns; + #endif #else const char* ssid = "MYSSD"; const char* password = "MYPASSWD";