Browse Source

insert clearlog()

needed insert again, because mqtt and other stuff
pull/1652/head
DanielR92 8 months ago
committed by GitHub
parent
commit
7c7f5b507c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 12
      src/plugins/zeroExport/zeroExport.h

12
src/plugins/zeroExport/zeroExport.h

@ -101,6 +101,7 @@ class ZeroExport {
_log.addProperty("nA", "!isAvailable");
sendLog();
}
clearLog();
return;
}
@ -110,6 +111,7 @@ class ZeroExport {
_log.addProperty("wA", CfgGroupInv->waitAck);
sendLog();
}
clearLog();
return;
}
@ -188,6 +190,7 @@ class ZeroExport {
e = 0;
_log.addProperty("eK", e);
sendLog();
clearLog();
return;
}
@ -203,6 +206,7 @@ class ZeroExport {
if (Ta == 0) {
_log.addProperty("Error", "Ta = 0");
sendLog();
clearLog();
return;
}
int16_t yD = Kd * (e - CfgGroup->eOld) / Ta;
@ -360,6 +364,9 @@ class ZeroExport {
// mqttPublish(String("zero/state/groups/" + String(group) + "/inverter/" + String(inv)).c_str(), mDocLog.as<std::string>().c_str());
// }
/// BUG: 003 Ende
clearLog();
return;
}
@ -445,6 +452,7 @@ class ZeroExport {
_log.addProperty("lF", mCfg->groups[group].inverters[inv].limit);
}
sendLog();
clearLog();
}
}
}
@ -472,6 +480,7 @@ class ZeroExport {
_log.addProperty("wA", mCfg->groups[group].inverters[inv].waitAck);
sendLog();
clearLog();
}
}
}
@ -510,6 +519,7 @@ class ZeroExport {
mCfg->groups[group].inverters[inv].actionTimestamp = millis();
}
sendLog();
clearLog();
}
}
}
@ -599,6 +609,7 @@ class ZeroExport {
putQueue(Entry);
sendLog();
clearLog();
return;
}
}
@ -783,6 +794,7 @@ class ZeroExport {
}
sendLog();
clearLog();
return;
}

Loading…
Cancel
Save