From d0b92e44cbed0b63cfd33228ad0308513eae7c3c Mon Sep 17 00:00:00 2001 From: Patrick Amrhein Date: Sun, 2 Jun 2024 19:37:03 +0200 Subject: [PATCH] 0.8.1230002 --- src/plugins/zeroExport/zeroExport.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/plugins/zeroExport/zeroExport.h b/src/plugins/zeroExport/zeroExport.h index 160da4a2..28d792db 100644 --- a/src/plugins/zeroExport/zeroExport.h +++ b/src/plugins/zeroExport/zeroExport.h @@ -383,15 +383,12 @@ class ZeroExport { break; } - sendLog(); - - // MQTT - Powermeter -/// BUG: 003 Anfang -// if (mMqtt->isConnected()) { -// mqttPublish(String("zero/state/groups/" + String(group) + "/inverter/" + String(inv)).c_str(), mDocLog.as().c_str()); -// } -/// BUG: 003 Ende + // MQTT - Inverter + if (mMqtt->isConnected()) { + mqttPublish(String("zero/state/groups/" + String(group) + "/inverter/" + String(inv)).c_str(), mDocLog.as().c_str()); + } + sendLog(); clearLog(); return;