platform: arduino: mqtt: print where logs get sent to

This commit is contained in:
Torrie Fischer 2023-12-11 07:52:01 +01:00
parent 5a62b30019
commit 50c98bc5b5

View File

@ -118,6 +118,8 @@ MQTTTelemetry::handleEventOnline(const InputEvent& evt)
Log.notice("Connecting to MQTT as %s on %s...", Platform::deviceID(), Device.availabilityTopic.c_str());
if (m_mqtt.connect(Platform::deviceID(), NULL, NULL, Device.availabilityTopic.c_str(), 0, true, "offline")) {
Log.notice("Connected to MQTT");
String logTopic = m_debugTopic + "/log";
Log.info("MQTT logs are available at %s", logTopic.c_str());
m_needHeartbeat = true;
m_json.clear();