I cannot go ahead with my homebridge setup on the Raspberry Pi 3 because of the following problem with MQTT.
Code: Select all
pi@raspberrypi:~ $ homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
[3/26/2017, 5:52:19 PM] Loaded plugin: homebridge-edomoticz
[3/26/2017, 5:52:19 PM] Registering accessory 'homebridge-edomoticz.eDomoticz'
[3/26/2017, 5:52:19 PM] Registering platform 'homebridge-edomoticz.eDomoticz'
[3/26/2017, 5:52:19 PM] ---
[3/26/2017, 5:52:19 PM] Loaded config.json with 0 accessories and 1 platforms.
[3/26/2017, 5:52:19 PM] ---
[3/26/2017, 5:52:19 PM] Loading 1 platforms...
[3/26/2017, 5:52:19 PM] [eDomoticz] Initializing eDomoticz platform...
[3/26/2017, 5:52:19 PM] Loading 0 accessories...
[3/26/2017, 5:52:19 PM] [eDomoticz] Initializing platform accessory 'Yeelight 1'...
[3/26/2017, 5:52:19 PM] [eDomoticz] Initializing platform accessory 'Yeelight 2 (soffitto)'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
[3/26/2017, 5:52:19 PM] Homebridge is running on port 51826.
[3/26/2017, 5:52:19 PM] [eDomoticz] Retrying connection to MQTT broker... (1/5)
[3/26/2017, 5:52:20 PM] [eDomoticz] Retrying connection to MQTT broker... (2/5)
[3/26/2017, 5:52:21 PM] [eDomoticz] Retrying connection to MQTT broker... (3/5)
[3/26/2017, 5:52:22 PM] [eDomoticz] Retrying connection to MQTT broker... (4/5)
[3/26/2017, 5:52:23 PM] [eDomoticz] Retrying connection to MQTT broker... (5/5)
[3/26/2017, 5:52:24 PM] [eDomoticz] Could not connect to MQTT broker! (127.0.0.1:1883)
What's wrong?
Thanks.