From 02d1ddc7b469e3417976c5137ba5e151a0786498 Mon Sep 17 00:00:00 2001 From: Ilya Belyakov Date: Fri, 26 Jan 2024 09:25:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8?= =?UTF-8?q?=20=D1=81=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=D0=BC=20IP=20=D0=B2=20=D1=81=D1=86=D0=B5=D0=BD=D0=B0?= =?UTF-8?q?=D1=80=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/EspFileSystem.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); }