mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-14 07:49:01 +00:00
Added more decimals in data.json
This commit is contained in:
parent
c670549dea
commit
768645fc0a
@ -695,7 +695,7 @@ void AmsWebServer::dataJson() {
|
||||
mqttStatus = 3;
|
||||
}
|
||||
|
||||
char json[280];
|
||||
char json[284];
|
||||
snprintf_P(json, sizeof(json), DATA_JSON,
|
||||
maxPwr == 0 ? meterState->isThreePhase() ? 20000 : 10000 : maxPwr,
|
||||
meterConfig->productionCapacity,
|
||||
|
||||
@ -10,13 +10,13 @@
|
||||
"ec" : %.1f,
|
||||
"ric" : %.1f,
|
||||
"rec" : %.1f,
|
||||
"u1" : %.1f,
|
||||
"u2" : %.1f,
|
||||
"u3" : %.1f,
|
||||
"u1" : %.2f,
|
||||
"u2" : %.2f,
|
||||
"u3" : %.2f,
|
||||
"i1" : %.2f,
|
||||
"i2" : %.2f,
|
||||
"i3" : %.2f,
|
||||
"v" : %.2f,
|
||||
"v" : %.3f,
|
||||
"r" : %d,
|
||||
"t" : %.1f,
|
||||
"u" : %lu,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user