Skip to content

Commit

Permalink
Huge update with all new configuration web portal that is accessed af…
Browse files Browse the repository at this point in the history
…ter initial wifi configuration. This makes it easier for initial configuration and allow much higher customisation afterwards, MQTT isn't mandatory now and can be disabled, physical switch, faxmo can be enabled and setup withing this configuration portal too. HTTP API is now always on, as it is using same webserver as config portal. I may add some settings for HTTP API later on with possibility to disable it, except for configuration portal. Notable change is that now you can reset your device to factory settings from this configuration portal. Detection/relay test feature was added to the initial wifi config portal, so you can detect by turning relay ON/OFF what module are you connected to. Alexa implementation is still in beta and may not work on Gen2 devices.
  • Loading branch information
ArnieX committed Feb 20, 2018
1 parent ec627dd commit 3ebc280
Show file tree
Hide file tree
Showing 2 changed files with 421 additions and 60 deletions.
2 changes: 2 additions & 0 deletions lib/WiFiManager/WiFiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ void WiFiManager::handleRoot() {
page += FPSTR(HTTP_PORTAL_OPTIONS);
page += FPSTR(HTTP_END);

delay(500);
server->send(200, "text/html", page);

}
Expand Down Expand Up @@ -551,6 +552,7 @@ void WiFiManager::handleWifi(boolean scan) {

page += FPSTR(HTTP_END);

delay(500);
server->send(200, "text/html", page);


Expand Down
Loading

0 comments on commit 3ebc280

Please sign in to comment.