feat: new cluster protocol, event naming

This commit is contained in:
2025-10-26 12:43:22 +01:00
parent eab10cffa5
commit 0f003335b3
4 changed files with 31 additions and 19 deletions

View File

@@ -195,13 +195,13 @@ void NeoPatternService::registerEventHandlers() {
JsonDocument doc;
DeserializationError err = deserializeJson(doc, *jsonStr);
if (err) {
LOG_WARN("NeoPattern", String("Failed to parse CLUSTER_EVENT data: ") + err.c_str());
LOG_WARN("NeoPattern", String("Failed to parse cluster/event data: ") + err.c_str());
return;
}
JsonObject obj = doc.as<JsonObject>();
bool applied = applyControlParams(obj);
if (applied) {
LOG_INFO("NeoPattern", "Applied control from CLUSTER_EVENT");
LOG_INFO("NeoPattern", "Applied control from cluster/event");
}
});