mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Fix group output for discovery #291
This commit is contained in:
parent
2dd40396c2
commit
cb14cd42dc
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
2
Web.cpp
2
Web.cpp
|
|
@ -270,7 +270,7 @@ void Web::chunkGroupsResponse(WebServer &server, const char * elem) {
|
|||
}
|
||||
for(uint8_t i = 0; i < SOMFY_MAX_GROUPS; i++) {
|
||||
if(somfy.groups[i].getGroupId() != 255) {
|
||||
DynamicJsonDocument doc(1024);
|
||||
DynamicJsonDocument doc(8192);
|
||||
JsonObject obj = doc.to<JsonObject>();
|
||||
somfy.groups[i].toJSON(obj);
|
||||
strcpy(g_content, ndx++ != 0 ? "," : "[");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue