diff --git a/src/WebThingAdapter.cpp b/src/WebThingAdapter.cpp index 6d72e3c..033cb9e 100644 --- a/src/WebThingAdapter.cpp +++ b/src/WebThingAdapter.cpp @@ -293,7 +293,7 @@ void WebThingAdapter::handleThing(AsyncWebServerRequest *request, AsyncResponseStream *response = request->beginResponseStream("application/json"); - DynamicJsonDocument buf(LARGE_JSON_DOCUMENT_SIZE); + DynamicJsonDocument buf(10 * LARGE_JSON_DOCUMENT_SIZE); JsonObject descr = buf.to(); device->serialize(descr, ip, port);