mqtt log clean
This commit is contained in:
parent
05d2b22c9f
commit
564c1da443
@ -52,7 +52,7 @@ void mqttLoop() {
|
||||
|
||||
if (isWiFiConnected() && isTimeSet() && !connected && (mqttLastConnectTry == 0 || millis() - mqttLastConnectTry > CONNECT_TIMEOUT_MILLISECONDS)) {
|
||||
String host = configGetString("MQTT_HOST", MQTT_HOST, false);
|
||||
error("MQTT connecting MQTT host: %s", host.c_str());
|
||||
error("Connecting MQTT host: %s", host.c_str());
|
||||
mqttLastConnectTry = millis();
|
||||
mqtt.setServer(host.c_str(), 1883);
|
||||
if (!mqtt.connect(HOSTNAME, logTopic, 0, false, "MQTT disconnected")) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user