добавил возможность работы многофакторных условий меж esp

This commit is contained in:
Dmitry Borisenko
2022-01-25 17:18:51 +01:00
parent c7b649db07
commit adbe794edd

View File

@@ -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;
}
}