This commit is contained in:
Wolfgang Hottgenroth 2018-05-16 10:46:27 +02:00
parent c7eb46b346
commit d94b9519c4
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4

View File

@ -22,7 +22,7 @@ let heartbeatTimer = setInterval(() => {
let mqttClient = Mqtt.connect(this.options.broker)
let mqttClient = Mqtt.connect(config.dict.brokerUrl)
mqttClient.on('offline', () => { log.warn("MQTT client is offline") })
mqttClient.on('reconnect', () => { log.warn("MQTT client is reconnecting") })
mqttClient.on('close', () => { log.warn("MQTT connection closed") })