This commit is contained in:
Yuri Trikoz
2020-06-24 01:16:00 +03:00
parent b50911ddcf
commit e375cca3dc
16 changed files with 541 additions and 109 deletions

View File

@@ -85,7 +85,8 @@ void loop() {
not_async_actions();
loopMQTT();
MqttClient::loop();
loopCmd();
loopButton();
loopScenario();
@@ -96,7 +97,10 @@ void loop() {
}
void not_async_actions() {
reconnectMQTT();
if (mqttParamsChanged) {
MqttClient::reconnect();
mqttParamsChanged = false;
}
do_upgrade_url();
do_upgrade();