-
-
Notifications
You must be signed in to change notification settings - Fork 26
Description
First of all, thanks for all the effort you've put into this integration!
I have a Rest+ and just moved my Homebridge to a new Raspberry Pi. It worked for a while, then stopped working. I am pretty sure the issue was that the system clock was too far off and caused the MQTT connection to fail to connect.
To troubleshoot it, enabling debug logging didn't help, so I ended up writing console.log("here")
type of messages in api.js
and iot-device.js
. I finally realized it was the MQTT connection not opening after adding event handlers for all the events that mqttClient
supports.
It would be nice if there was an event handler on at least the 'close'
and 'offline'
events that wrote debug logging, so it would be visible in the Homebridge UI.
Thanks again for this library!