diff --git a/MqttClient.cpp b/MqttClient.cpp index 650deb5..9a0e6dc 100644 --- a/MqttClient.cpp +++ b/MqttClient.cpp @@ -37,8 +37,9 @@ String MqttConfig::exec(String params) { if (params.equalsIgnoreCase("help")) { *out << "help ..... this help page" << endl; *out << "show ..... shows the whole configuration" << endl; - *out << "broker ... set the broker's address" << endl; - *out << " followed by a restart, you need to" << endl; + *out << "broker ... set the broker's address (this needs to be an IP address," << endl; + *out << " a hostname won't work!! DNS seems to be broken" << endl; + *out << " followed by a restart, you need to wait" << endl; *out << " about a minute" << endl; *out << "add ...... add an mbus client, params: token name address period" << endl; *out << "del ...... delete an mbus client, params: index" << endl; @@ -293,7 +294,7 @@ void MqttClient::exec() { } break; case 3: - Serial << "Trying to re-connect" << endl; + Serial << "Trying to re-connect: <" << m_mqttBroker << ">" << endl; if (m_mqttClient.connect("MeterbusHub")) { Serial << "MQTT connected" << endl; m_mqttClient.subscribe(WATCHDOG_TOPIC); diff --git a/reset.cpp b/reset.cpp index 6632fdb..db7d973 100644 --- a/reset.cpp +++ b/reset.cpp @@ -50,7 +50,7 @@ extern "C" { WDOG_UNLOCK = WDOG_UNLOCK_SEQ2; // one minute - WDOG_TOVALL = 20000; + WDOG_TOVALL = 60000; WDOG_TOVALH = 0; WDOG_PRESC = 0;