Show real time production

This commit is contained in:
Gunnar Skjold
2022-08-10 10:53:16 +02:00
parent 5d2e320b07
commit 3a4fc707b0
13 changed files with 137 additions and 33 deletions

View File

@@ -747,10 +747,13 @@ void AmsWebServer::dataJson() {
ea->getCurrentThreshold(),
ea->getUseThisHour(),
ea->getCostThisHour(),
ea->getProducedThisHour(),
ea->getUseToday(),
ea->getCostToday(),
ea->getProducedToday(),
ea->getUseThisMonth(),
ea->getCostThisMonth(),
ea->getProducedThisMonth(),
(uint32_t) time(nullptr)
);