|
@ -99,6 +99,8 @@ void settingsSetup() { |
|
|
e->response(s); |
|
|
e->response(s); |
|
|
}, 0); |
|
|
}, 0); |
|
|
|
|
|
|
|
|
|
|
|
// -------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
Embedis::command( F("RESET.WIFI"), [](Embedis* e) { |
|
|
Embedis::command( F("RESET.WIFI"), [](Embedis* e) { |
|
|
wifiConfigure(); |
|
|
wifiConfigure(); |
|
|
wifiDisconnect(); |
|
|
wifiDisconnect(); |
|
@ -117,10 +119,12 @@ void settingsSetup() { |
|
|
ESP.restart(); |
|
|
ESP.restart(); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
Embedis::command( F("NOFUSS"), [](Embedis* e) { |
|
|
|
|
|
e->response(Embedis::OK); |
|
|
|
|
|
nofussRun(); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
#if NOFUSS_SUPPORT
|
|
|
|
|
|
Embedis::command( F("NOFUSS"), [](Embedis* e) { |
|
|
|
|
|
e->response(Embedis::OK); |
|
|
|
|
|
nofussRun(); |
|
|
|
|
|
}); |
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
Embedis::command( F("FACTORY.RESET"), [](Embedis* e) { |
|
|
Embedis::command( F("FACTORY.RESET"), [](Embedis* e) { |
|
|
settingsFactoryReset(); |
|
|
settingsFactoryReset(); |
|
|