diff --git a/code/espurna/settings.ino b/code/espurna/settings.ino index 0850a87f..69c148be 100644 --- a/code/espurna/settings.ino +++ b/code/espurna/settings.ino @@ -94,6 +94,12 @@ void settingsSetup() { e->response(Embedis::OK); }); + Embedis::command( F("RESTART"), [](Embedis* e) { + e->response(Embedis::OK); + customReset(CUSTOM_RESET_TERMINAL); + ESP.restart(); + }); + Embedis::command( F("RESET"), [](Embedis* e) { e->response(Embedis::OK); customReset(CUSTOM_RESET_TERMINAL);