Increase accumulated values to 3 decimals

This commit is contained in:
Gunnar Skjold
2022-01-03 08:41:58 +01:00
parent c1d4ba772e
commit 6d12d7120c
4 changed files with 13 additions and 13 deletions

View File

@@ -747,7 +747,7 @@ void AmsWebServer::dataJson() {
if(eapi != NULL && strlen(eapi->getToken()) > 0)
price = eapi->getValueForHour(0);
char json[340];
char json[384];
snprintf_P(json, sizeof(json), DATA_JSON,
maxPwr == 0 ? meterState->isThreePhase() ? 20000 : 10000 : maxPwr,
meterConfig->productionCapacity,