This commit is contained in:
Dmitry Borisenko
2022-02-11 00:22:59 +01:00
parent 02a087ccdd
commit 8d86bb222a
8 changed files with 75 additions and 134 deletions

View File

@@ -106,6 +106,9 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
if (headerStr == "/reboot|") {
ESP.restart();
}
if (headerStr == "/mqtt|") {
mqttReconnect();
}
} break;