feature/InfluxDB-Connection-Update #1
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
||||||
#include <ESP8266HTTPUpdateServer.h>
|
#include <ESP8266HTTPUpdateServer.h>
|
||||||
|
|
||||||
#include <WiFiClient.h>
|
#include <WiFiClient.h>
|
||||||
|
#include <WiFiManager.h> // WiFiManager from bib manager
|
||||||
|
|
||||||
ESP8266WebServer httpServer(8080);
|
ESP8266WebServer httpServer(8080);
|
||||||
ESP8266HTTPUpdateServer httpUpdater;
|
ESP8266HTTPUpdateServer httpUpdater;
|
||||||
|
@ -81,6 +82,6 @@ void resetWifiManager()
|
||||||
WiFiManager.resetSettings();
|
WiFiManager.resetSettings();
|
||||||
|
|
||||||
delay(5000);
|
delay(5000);
|
||||||
|
|
||||||
ESP.restart();
|
ESP.restart();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue