* fix MqTT generic topic `comm_disabled` #1265 #1286
* potential fix of #1285 (reset yield day)
* fix fraction of yield correction #1280
This commit is contained in:
lumapu 2023-12-23 16:47:07 +01:00
parent 5a52677cbd
commit 8b379f768e
8 changed files with 24 additions and 10 deletions

View file

@ -458,6 +458,11 @@ class Inverter {
return producing;
}
InverterStatus getStatus(){
isProducing(); // recalculate status
return status;
}
uint16_t getFwVersion() {
record_t<> *rec = getRecordStruct(InverterDevInform_All);
return getChannelFieldValue(CH0, FLD_FW_VERSION, rec);