I've been trying to get homebridge working for months now, but it just does not work. Hope someone comes with the golden tip .....
pi@raspberrypi:/usr/lib/node_modules $ 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=libdn ... ceRegister>
[2/18/2018, 9:46:38 AM] Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-edomoticz' since we already loaded the same plugin from '/usr/lib/node_modules/homebridge-edomoticz'.
[2/18/2018, 9:46:39 AM] Loaded plugin: homebridge-edomoticz
[2/18/2018, 9:46:39 AM] Registering platform 'homebridge-edomoticz.eDomoticz'
[2/18/2018, 9:46:39 AM] ---
[2/18/2018, 9:46:39 AM] Loaded config.json with 0 accessories and 1 platforms.
[2/18/2018, 9:46:39 AM] ---
[2/18/2018, 9:46:39 AM] Loading 1 platforms...
[2/18/2018, 9:46:39 AM] [eDomoticz] Initializing eDomoticz platform...
[2/18/2018, 9:46:39 AM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
events.js:141
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::51826
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at Server._listen2 (net.js:1250:14)
at listen (net.js:1286:10)
at Server.listen (net.js:1382:5)
at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:59:19)
at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:157:20)
at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:496:16)
at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:111:16)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:88:10)