Skip to content

Commit

Permalink
fix: Power meter value not displayed #355
Browse files Browse the repository at this point in the history
Enlarge JsonBuffer for webservice response to 2048
  • Loading branch information
helgeerbe committed Aug 8, 2023
1 parent 3db237c commit ec67fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebApi_powermeter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void WebApiPowerMeterClass::loop()

void WebApiPowerMeterClass::onStatus(AsyncWebServerRequest* request)
{
AsyncJsonResponse* response = new AsyncJsonResponse();
AsyncJsonResponse* response = new AsyncJsonResponse(false, 2048);
JsonObject root = response->getRoot();
const CONFIG_T& config = Configuration.get();

Expand Down

0 comments on commit ec67fe1

Please sign in to comment.