Browse Source

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

fix negative number in yield total correction
pull/698/head
lumapu 2 years ago
parent
commit
15bc5f2b50
  1. 1
      src/CHANGES.md
  2. 6
      src/app.cpp
  3. 2
      src/web/html/setup.html

1
src/CHANGES.md

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

6
src/app.cpp

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

2
src/web/html/setup.html

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

Loading…
Cancel
Save