diff --git a/src/CHANGES.md b/src/CHANGES.md index 074ca1085..a4a234eee 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -1,7 +1,8 @@ # Development Changes ## 0.7.41 - 2023-08-26 -* merge PR #1117 code spelling +* merge PR #1117 code spelling fixes #1112 +* alarms were not read after the first day ## 0.7.40 - 2023-08-21 * added default pins for opendtu-fusion-v1 board diff --git a/src/hm/hmInverter.h b/src/hm/hmInverter.h index 6223f4a7e..b3c6b942c 100644 --- a/src/hm/hmInverter.h +++ b/src/hm/hmInverter.h @@ -438,6 +438,7 @@ class Inverter { if((*timestamp - recordMeas.ts) > INVERTER_OFF_THRES_SEC) { status = InverterStatus::OFF; actPowerLimit = 0xffff; // power limit will be read once inverter becomes available + alarmMesIndex = 0; } else status = InverterStatus::WAS_ON;