mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 19:12:10 +01:00
Release cleanup
This commit is contained in:
parent
9181fd924a
commit
2b81cd877c
5 changed files with 5 additions and 5 deletions
2
Web.cpp
2
Web.cpp
|
|
@ -346,7 +346,7 @@ void Web::begin() {
|
|||
int shadeId = atoi(server.arg("shadeId").c_str());
|
||||
SomfyShade* shade = somfy.getShadeById(shadeId);
|
||||
if (shade) {
|
||||
DynamicJsonDocument doc(256);
|
||||
DynamicJsonDocument doc(512);
|
||||
JsonObject obj = doc.to<JsonObject>();
|
||||
shade->toJSON(obj);
|
||||
serializeJson(doc, g_content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue