Homebridge运行出错
发表于 : 周三 7月 12, 2017 11:39
各位大侠:
我按照wiki里的教程,在domoticz中安装了homebridge-edomoticz的插件,结果到了最后运行的一步,出现了以下的错误,然后homebridge无法生效。
谢谢!
我按照wiki里的教程,在domoticz中安装了homebridge-edomoticz的插件,结果到了最后运行的一步,出现了以下的错误,然后homebridge无法生效。
请教一下大家,改怎么处理呢?*** WARNING *** The program 'nodejs' 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=libd ns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' 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=libd ns_sd&e=nodejs&f=DNSServiceRegister>
[2017-7-12 11:17:14] Loaded plugin: homebridge-edomoticz
[2017-7-12 11:17:14] Registering accessory 'homebridge-edomoticz.eDomoticz'
[2017-7-12 11:17:14] Registering platform 'homebridge-edomoticz.eDomoticz'
[2017-7-12 11:17:14] ---
[2017-7-12 11:17:14] Loaded config.json with 0 accessories and 1 platforms.
[2017-7-12 11:17:14] ---
[2017-7-12 11:17:14] Loading 1 platforms...
[2017-7-12 11:17:14] [eDomoticz] Initializing eDomoticz platform...
[2017-7-12 11:17:14] Loading 0 accessories...
[2017-7-12 11:17:14] [eDomoticz] Initializing platform accessory 'A'...
[2017-7-12 11:17:14] [eDomoticz] Initializing platform accessory 'B'...
[2017-7-12 11:17:14] [eDomoticz] Initializing platform accessory 'C'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 123-45-876 │
└────────────┘
events.js:163
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::51826
at Object.exports._errnoException (util.js11)
at exports._exceptionWithHostPort (util.js20)
at Server.setupListenHandle [as _listen2] (net.js14)
at listenInCluster (net.js12)
at Server.listen (net.js7)
at EventedHTTPServer.listen (/usr/lib/node_modules/homebridge/node_modules/h ap-nodejs/lib/util/eventedhttp.js:60:19)
at HAPServer.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodej s/lib/HAPServer.js:158:20)
at Bridge.Accessory.publish (/usr/lib/node_modules/homebridge/node_modules/h ap-nodejs/lib/Accessory.js:486:16)
at Server._publish (/usr/lib/node_modules/homebridge/lib/server.js:114:16)
at Server.<anonymous> (/usr/lib/node_modules/homebridge/lib/server.js:372:14
谢谢!