DPRINTLN(DBG_INFO,F("Inverter ")+String(iv->id)+F(" has ")+msg+F("accepted power limit set point ")+String(iv->powerLimit[0])+F(" with PowerLimitControl ")+String(iv->powerLimit[1]));
DPRINTLN(DBG_INFO,F("Inverter ")+String(iv->id)+F(" has ")+msg+F("accepted power limit set point ")+String(iv->powerLimit[0])+F(" with PowerLimitControl ")+String(iv->powerLimit[1]));
iv->clearCmdQueue();
iv->clearCmdQueue();
iv->enqueCommand<MiInfoCommand>(SystemConfigPara);// read back power limit
iv->enqueCommand<InfoCommand>(SystemConfigPara);// read back power limit
}
}
iv->devControlCmd=Init;
iv->devControlCmd=Init;
}else{// some other response; copied from hmPayload:process; might not be correct to do that here!!!
}else{// some other response; copied from hmPayload:process; might not be correct to do that here!!!
@ -413,7 +413,7 @@ class MiPayload {
iv->alarmMesIndex=rec->record[iv->getPosByChFld(0,FLD_EVT,rec)];// seems there's no status per channel in 3rd gen. models?!?
iv->alarmMesIndex=rec->record[iv->getPosByChFld(0,FLD_EVT,rec)];// seems there's no status per channel in 3rd gen. models?!?
DPRINTLN(DBG_INFO,"alarm ID incremented to "+String(iv->alarmMesIndex));
DPRINTLN(DBG_INFO,"alarm ID incremented to "+String(iv->alarmMesIndex));