|
@ -1211,10 +1211,13 @@ class ZeroExport { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Reject limit if difference < 5 W
|
|
|
// Reject limit if difference < 5 W
|
|
|
// if ((cfgGroupInv->limitNew > cfgGroupInv->limit + 5) && (cfgGroupInv->limitNew < cfgGroupInv->limit - 5)) {
|
|
|
if ( |
|
|
// objLog["err"] = "Diff < 5W";
|
|
|
(mCfg->groups[group].inverters[inv].limitNew > (mCfg->groups[group].inverters[inv].limit + ZEROEXPORT_GROUP_WR_LIMIT_MIN_DIFF)) && |
|
|
// return false;
|
|
|
(mCfg->groups[group].inverters[inv].limitNew < (mCfg->groups[group].inverters[inv].limit - ZEROEXPORT_GROUP_WR_LIMIT_MIN_DIFF)) |
|
|
// }
|
|
|
) { |
|
|
|
|
|
mLog["err"] = String("Diff < ") + String (ZEROEXPORT_GROUP_WR_LIMIT_MIN_DIFF) + String("W"); |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// Nothing todo
|
|
|
// Nothing todo
|
|
|
if (mCfg->groups[group].inverters[inv].limit == mCfg->groups[group].inverters[inv].limitNew) { |
|
|
if (mCfg->groups[group].inverters[inv].limit == mCfg->groups[group].inverters[inv].limitNew) { |
|
|