Adaptations for new sensors

This commit is contained in:
Gunnar Skjold
2024-01-06 20:10:33 +01:00
parent 333169ef8f
commit 8a59fcb89a
7 changed files with 52 additions and 22 deletions

View File

@@ -34,6 +34,12 @@
"tPO" : %.3f,
"tQI" : %.3f,
"tQO" : %.3f,
"tPI1" : %.3f,
"tPI2" : %.3f,
"tPI3" : %.3f,
"tPO1" : %.3f,
"tPO2" : %.3f,
"tPO3" : %.3f,
"rtc" : %lu
},
"realtime" : {

View File

@@ -160,6 +160,12 @@ bool JsonMqttHandler::publishList4(AmsData* data, EnergyAccounting* ea) {
data->getActiveExportCounter(),
data->getReactiveImportCounter(),
data->getReactiveExportCounter(),
data->getL1ActiveImportCounter(),
data->getL2ActiveImportCounter(),
data->getL3ActiveImportCounter(),
data->getL1ActiveExportCounter(),
data->getL2ActiveExportCounter(),
data->getL3ActiveExportCounter(),
data->getMeterTimestamp(),
ea->getUseThisHour(),
ea->getUseToday(),