mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-30 01:06:11 +02:00
prevent send devcontrol request during disabled night communication
changed yield total correction as module (inverter input) value #570 MQTT Yield Day zero, next try to fix #671
This commit is contained in:
parent
a843ab6881
commit
ca25f16548
13 changed files with 37 additions and 32 deletions
|
@ -181,10 +181,11 @@ void app::tickNtpUpdate(void) {
|
|||
}
|
||||
|
||||
// immediately start communicating
|
||||
if(isOK && mSendFirst) {
|
||||
// @TODO: leads to reboot loops, everytime if there is no asynchronous function #674
|
||||
/*if(isOK && mSendFirst) {
|
||||
mSendFirst = false;
|
||||
once(std::bind(&app::tickSend, this), 2, "senOn");
|
||||
}
|
||||
}*/
|
||||
|
||||
mMqttReconnect = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue