Browse Source

0.8.120

* fix crash if invalid serial number was set -> inverter will be disabled automatically
* improved and fixed factory image generation
pull/1541/head
lumapu 8 months ago
parent
commit
b51ba5639b
  1. 3
      src/CHANGES.md
  2. 2
      src/hm/hmSystem.h
  3. 2
      src/platformio.ini

3
src/CHANGES.md

@ -1,7 +1,8 @@
# Development Changes # Development Changes
## 0.8.120 - 2024-05-18 ## 0.8.120 - 2024-05-18
* fix crash if invalid serial number was set * fix crash if invalid serial number was set -> inverter will be disabled automatically
* improved and fixed factory image generation
## 0.8.119 - 2024-05-17 ## 0.8.119 - 2024-05-17
* fix reset values at midnight if WiFi isn't available #1620 * fix reset values at midnight if WiFi isn't available #1620

2
src/hm/hmSystem.h

@ -74,7 +74,7 @@ class HmSystem {
iv->ivRadioType = INV_RADIO_TYPE_CMT; iv->ivRadioType = INV_RADIO_TYPE_CMT;
} else if(iv->config->serial.u64 != 0ULL) { } else if(iv->config->serial.u64 != 0ULL) {
DPRINTLN(DBG_ERROR, F("inverter type can't be detected!")); DPRINTLN(DBG_ERROR, F("inverter type can't be detected!"));
iv->config = nullptr; iv->config->enabled = false;
return; return;
} else } else
iv->ivGen = IV_UNKNOWN; iv->ivGen = IV_UNKNOWN;

2
src/platformio.ini

@ -23,7 +23,7 @@ extra_scripts =
pre:../scripts/convertHtml.py pre:../scripts/convertHtml.py
pre:../scripts/applyPatches.py pre:../scripts/applyPatches.py
pre:../scripts/reduceGxEPD2.py pre:../scripts/reduceGxEPD2.py
#post:../scripts/add_littlefs_binary.py post:../scripts/add_littlefs_binary.py
lib_deps = lib_deps =
https://github.com/esphome/ESPAsyncWebServer @ ^3.2.0 https://github.com/esphome/ESPAsyncWebServer @ ^3.2.0

Loading…
Cancel
Save