From 2c6094358f71b66e83f199720d4873c437e0a17a Mon Sep 17 00:00:00 2001 From: lumapu Date: Sat, 26 Aug 2023 02:20:18 +0200 Subject: [PATCH] 0.7.41 * alarms were not read after the first day --- src/CHANGES.md | 3 ++- src/hm/hmInverter.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CHANGES.md b/src/CHANGES.md index 074ca108..a4a234ee 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 6223f4a7..b3c6b942 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;