Patch from home...

This commit is contained in:
DanielR92 2022-10-04 18:44:27 +02:00
parent 7a941c8882
commit 868012931f
11 changed files with 212 additions and 225 deletions

View file

@ -396,6 +396,10 @@ void web::showWebApi(AsyncWebServerRequest *request) {
iv->devControlCmd = CleanState_LockAndAlarm;
iv->devControlRequest = true; // queue it in the request loop
}
if (response["cmd"] == (uint8_t)Restart) {
iv->devControlCmd = Restart;
iv->devControlRequest = true; // queue it in the request loop
}
}
}
request->send(200, "text/json", "{success:true}");