* fix crash if invalid serial number was set -> inverter will be disabled automatically
* improved and fixed factory image generation
This commit is contained in:
lumapu 2024-05-19 00:20:53 +02:00
parent c0713a263d
commit b51ba5639b
3 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,8 @@
# Development Changes
## 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
* fix reset values at midnight if WiFi isn't available #1620

View file

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

View file

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