Browse Source

0.7.41

* alarms were not read after the first day
pull/1118/head
lumapu 1 year ago
parent
commit
2c6094358f
  1. 3
      src/CHANGES.md
  2. 1
      src/hm/hmInverter.h

3
src/CHANGES.md

@ -1,7 +1,8 @@
# Development Changes # Development Changes
## 0.7.41 - 2023-08-26 ## 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 ## 0.7.40 - 2023-08-21
* added default pins for opendtu-fusion-v1 board * added default pins for opendtu-fusion-v1 board

1
src/hm/hmInverter.h

@ -438,6 +438,7 @@ class Inverter {
if((*timestamp - recordMeas.ts) > INVERTER_OFF_THRES_SEC) { if((*timestamp - recordMeas.ts) > INVERTER_OFF_THRES_SEC) {
status = InverterStatus::OFF; status = InverterStatus::OFF;
actPowerLimit = 0xffff; // power limit will be read once inverter becomes available actPowerLimit = 0xffff; // power limit will be read once inverter becomes available
alarmMesIndex = 0;
} }
else else
status = InverterStatus::WAS_ON; status = InverterStatus::WAS_ON;

Loading…
Cancel
Save