* alarms were not read after the first day
This commit is contained in:
lumapu 2023-08-26 02:20:18 +02:00
parent f6a01c53c3
commit 2c6094358f
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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;