reneabled instant start communication (once NTP is synced) #674

fix negative number in yield total correction
This commit is contained in:
lumapu 2023-02-12 12:46:00 +01:00
parent 32daf4f8ea
commit 15bc5f2b50
3 changed files with 5 additions and 4 deletions

View file

@ -4,6 +4,7 @@
## 0.5.87
* fix yield total correction as module (inverter input) value #570
* reneabled instant start communication (once NTP is synced) #674
## 0.5.86
* prevent send devcontrol request during disabled night communication

View file

@ -181,11 +181,11 @@ void app::tickNtpUpdate(void) {
}
// immediately start communicating
// @TODO: leads to reboot loops, everytime if there is no asynchronous function #674
/*if(isOK && mSendFirst) {
// @TODO: leads to reboot loops? not sure #674
if(isOK && mSendFirst) {
mSendFirst = false;
once(std::bind(&app::tickSend, this), 2, "senOn");
}*/
}
mMqttReconnect = false;
}

View file

@ -432,7 +432,7 @@
for(var j of [
["ModPwr", "ch_max_power", "Max Module Power (Wp)", 4, "[0-9]+"],
["ModName", "ch_name", "Module Name", 16, null],
["YieldCor", "ch_yield_cor", "Yield Total Correction [kWh]", 16, "[0-9]+"]]) {
["YieldCor", "ch_yield_cor", "Yield Total Correction [kWh]", 16, "[0-9-]+"]]) {
var cl = (re.test(obj["serial"])) ? null : ["hide"];
iv.appendChild(lbl(null, j[2], cl, "lbl" + id + j[0]));
d = div([j[0]]);