diff --git a/wled00/cfg.cpp b/wled00/cfg.cpp index 2214584c..b345a873 100644 --- a/wled00/cfg.cpp +++ b/wled00/cfg.cpp @@ -240,6 +240,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) { CJSON(receiveNotificationBrightness, if_sync_recv["bri"]); CJSON(receiveNotificationColor, if_sync_recv["col"]); CJSON(receiveNotificationEffects, if_sync_recv["fx"]); + CJSON(receiveGroups, if_sync_recv["grp"]); //! following line might be a problem if called after boot receiveNotifications = (receiveNotificationBrightness || receiveNotificationColor || receiveNotificationEffects); @@ -252,6 +253,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) { CJSON(notifyHue, if_sync_send["hue"]); CJSON(notifyMacro, if_sync_send["macro"]); CJSON(notifyTwice, if_sync_send[F("twice")]); + CJSON(syncGroups, if_sync_send["grp"]); JsonObject if_nodes = interfaces["nodes"]; CJSON(nodeListEnabled, if_nodes[F("list")]); @@ -594,6 +596,7 @@ void serializeConfig() { if_sync_recv["bri"] = receiveNotificationBrightness; if_sync_recv["col"] = receiveNotificationColor; if_sync_recv["fx"] = receiveNotificationEffects; + if_sync_recv["grp"] = receiveGroups; JsonObject if_sync_send = if_sync.createNestedObject("send"); if_sync_send[F("dir")] = notifyDirect; @@ -602,6 +605,7 @@ void serializeConfig() { if_sync_send["hue"] = notifyHue; if_sync_send["macro"] = notifyMacro; if_sync_send[F("twice")] = notifyTwice; + if_sync_send["grp"] = syncGroups; JsonObject if_nodes = interfaces.createNestedObject("nodes"); if_nodes[F("list")] = nodeListEnabled; diff --git a/wled00/data/settings_sync.htm b/wled00/data/settings_sync.htm index 3e42e35f..66e8b433 100644 --- a/wled00/data/settings_sync.htm +++ b/wled00/data/settings_sync.htm @@ -1,23 +1,86 @@