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;