Added last month in realtime data. Also increased precision on realtime data

This commit is contained in:
Gunnar Skjold
2023-05-04 14:33:14 +02:00
parent 7e011a184b
commit 07ff4e2b0c
9 changed files with 130 additions and 57 deletions

View File

@@ -322,7 +322,11 @@ void AmsWebServer::sysinfoJson() {
upinfo.exitCode,
upinfo.errorCode,
upinfo.fromVersion,
upinfo.toVersion
upinfo.toVersion,
ea->getUseLastMonth(),
ea->getCostLastMonth(),
ea->getProducedLastMonth(),
ea->getIncomeLastMonth()
);
stripNonAscii((uint8_t*) buf, size+1);