From adbe794edd7bf6d2f7267d85d96bfcd433c89cb0 Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <67171972+IoTManagerProject@users.noreply.github.com> Date: Tue, 25 Jan 2022 17:18:51 +0100 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D1=8C=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20=D0=BC=D0=BD?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE=D1=84=D0=B0=D0=BA=D1=82=D0=BE=D1=80=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D1=83=D1=81=D0=BB=D0=BE=D0=B2=D0=B8=D0=B9=20?= =?UTF-8?q?=D0=BC=D0=B5=D0=B6=20esp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MqttClient.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MqttClient.cpp b/src/MqttClient.cpp index 5c393aac..c122f19b 100644 --- a/src/MqttClient.cpp +++ b/src/MqttClient.cpp @@ -224,6 +224,7 @@ void mqttCallback(char* topic, uint8_t* payload, size_t length) { String key = selectFromMarkerToMarker(topicStr, "/", 3); SerialPrint("I", F("=>MQTT"), "Received event from other device: '" + devId + "' " + key + " " + payloadStr); String event = key + " " + payloadStr + ","; + jsonWriteStr(configLiveJson, key, payloadStr); eventBuf += event; } }