Streamlined MQTT interlock when not activated & interlock MQTT when WIFI is not connected (#1556)

* streamlined mqtt interlock when disabled

* Disconnect mqtt client before reboot

* Interlock MQTT with WIFI

* Update

* loglevel to DEBUG

* Update

* mqtt msg id incremental

* new ENABLE_MQTT includes

* Loglevel to DEBUG

* Loglevel

* Update interface_mqtt.cpp
This commit is contained in:
Slider0007
2022-12-12 08:09:04 +01:00
committed by GitHub
parent 93f0f6b07d
commit b85e3b11a9
12 changed files with 188 additions and 131 deletions

View File

@@ -298,7 +298,7 @@ void ClassLogFile::RemoveOldLogFile()
return;
}
ESP_LOGI(TAG, "Remove old log files");
ESP_LOGD(TAG, "Remove old log files");
time_t rawtime;
struct tm* timeinfo;
@@ -350,7 +350,7 @@ void ClassLogFile::RemoveOldDataLog()
return;
}
ESP_LOGI(TAG, "Remove old data files");
ESP_LOGD(TAG, "Remove old data files");
time_t rawtime;
struct tm* timeinfo;