diff --git a/src/EspFileSystem.cpp b/src/EspFileSystem.cpp index 7c8777eb..fc4892c5 100644 --- a/src/EspFileSystem.cpp +++ b/src/EspFileSystem.cpp @@ -24,6 +24,8 @@ void globalVarsSync() mqttRootDevice = mqttPrefix + "/" + chipId; + jsonWriteStr_(settingsFlashJson, "ip", WiFi.localIP().toString()); + // это не используется - удалить в последствии jsonWriteStr_(settingsFlashJson, "root", mqttRootDevice); }