This commit is contained in:
David Twigger 2023-01-05 11:42:19 +01:00
parent c196c34840
commit fc1914bccd
2 changed files with 3 additions and 3 deletions

View file

@ -145,8 +145,8 @@ exports.mqttAsync = function (hostname, topic, okMessage, options = {}) {
reject(new Error("Timeout"));
}, interval * 1000 * 0.8);
const mqttUrl = `${hostname}:${port}`
const mqttUrl = `${hostname}:${port}`;
log.debug("mqtt", `MQTT connecting to ${mqttUrl}`);
let client = mqtt.connect(mqttUrl, {