From d01fb7d16ac0f4a971786577983cb1529c961f5a Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Thu, 23 Sep 2021 01:13:03 +0200 Subject: [PATCH] Log producers/consumers totals --- libnymea/interfaces/smartmeterconsumer.json | 3 ++- libnymea/interfaces/smartmeterproducer.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libnymea/interfaces/smartmeterconsumer.json b/libnymea/interfaces/smartmeterconsumer.json index e95289c5..d3316399 100644 --- a/libnymea/interfaces/smartmeterconsumer.json +++ b/libnymea/interfaces/smartmeterconsumer.json @@ -5,7 +5,8 @@ { "name": "totalEnergyConsumed", "type": "double", - "unit": "KiloWattHour" + "unit": "KiloWattHour", + "logged": true }, { "name": "currentPower", diff --git a/libnymea/interfaces/smartmeterproducer.json b/libnymea/interfaces/smartmeterproducer.json index 5d825406..8e374a97 100644 --- a/libnymea/interfaces/smartmeterproducer.json +++ b/libnymea/interfaces/smartmeterproducer.json @@ -5,7 +5,8 @@ { "name": "totalEnergyProduced", "type": "double", - "unit": "KiloWattHour" + "unit": "KiloWattHour", + "logged": true }, { "name": "currentPower",