dht fixed, presets support

This commit is contained in:
Dmitry Borisenko
2020-02-19 03:14:21 +03:00
parent a29a8b246c
commit 7bc5be8db5
28 changed files with 243 additions and 729 deletions

View File

@@ -40,9 +40,11 @@ void MQTT_init() {
Serial.println("[V] MQTT-ok");
} else {
MQTT_Connecting(true);
mqtt_lost_error++;
}
} else {
Serial.println("[E] Lost WiFi connection");
wifi_lost_error++;
ts.remove(WIFI_MQTT_CONNECTION_CHECK);
StartAPMode();
}
@@ -68,6 +70,7 @@ void MQTT_Connecting(boolean out_date_send) {
static boolean first = true;
if (!first) Serial.println("[E] Lost MQTT connection, start reconnecting");
first = false;
//ssl//espClient.setCACert(local_root_ca1);