fix
This commit is contained in:
parent
c7eb46b346
commit
d94b9519c4
@ -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") })
|
||||
|
Loading…
x
Reference in New Issue
Block a user