Improved MQTT stability and changed some defaults

This commit is contained in:
Gunnar Skjold
2024-04-09 17:16:12 +02:00
parent a7d3382947
commit 89015191de
8 changed files with 75 additions and 9 deletions

View File

@@ -123,6 +123,7 @@ bool AmsMqttHandler::connect() {
}
}
mqtt.publish(statusTopic, "online", true, 0);
mqtt.loop();
return true;
} else {
if (debugger->isActive(RemoteDebug::ERROR)) {