请叫大神homebridge问题
发表于 : 周日 4月 29, 2018 23:07
在群晖里建立了Domoticz和homebridge,目前Domoticz可是正常使用,但是homebridge运行后出现如下问题,并无法加HomeKit。
Reading package lists... Done
Building dependency tree
Reading state information... Done
libavahi-compat-libdnssd-dev is already the newest version (0.6.32-2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
+ homebridge-synology@0.3.0
updated 1 package in 18.294s
+ homebridge-edomoticz@2.1.11
updated 1 package in 24.612s
*** 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=libd
ns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not su
pported (or only supported partially) in the Apple Bonjour compatibility layer o
f 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=node&f=DNSServiceRegister>
[2018-4-29 14:58:46] Loaded plugin: homebridge-edomoticz
[2018-4-29 14:58:46] Registering platform 'homebridge-edomoticz.eDomoticz'
[2018-4-29 14:58:46] ---
[2018-4-29 14:58:49] Loaded plugin: homebridge-synology
[2018-4-29 14:58:49] Registering accessory 'homebridge-synology.Synology'
[2018-4-29 14:58:49] ---
[2018-4-29 14:58:49] Loaded config.json with 0 accessories and 1 platforms.
[2018-4-29 14:58:49] ---
[2018-4-29 14:58:49] Loading 1 platforms...
[2018-4-29 14:58:49] [eDomoticz] Initializing eDomoticz platform...
[2018-4-29 14:58:49] Loading 0 accessories...
Setup Payload:
X-HM://0023ISYXC496E
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Or enter this code with your HomeKit app on your iOS device to pair with Homebri
dge:
┌────────────┐
│ 031-45-168 │
└────────────┘
[2018-4-29 14:58:49] Homebridge is running on port 51829.
[2018-4-29 14:58:49] [eDomoticz] Light
[2018-4-29 14:58:49] [eDomoticz] Could not register platform accessory! (门厅灯)
Error: Cannot add a bridged Accessory with the same UUID as another bridged Acce
ssory: 4e899f4d-0b93-4ed0-b334-e18f38303c2c
上面是终端运行结果。
{
"bridge": {
"name": "Homebridge",
"username": "CC:21:3D:E3:CD:33",
"port": 51829,
"pin": "031-45-168"
},
"description": "Configuration file for (e)xtended Domoticz platform.",
"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "127.0.0.1",
"port": "8084",
"ssl": 0,
"roomid": 2,
"mqtt": 0
}
],
"accessories": []
}
这个是我config.json的代码
#!/bin/bash
apt-get install libavahi-compat-libdnssd-dev
npm install -g --unsafe-perm homebridge-synology
npm install -g --unsafe-perm homebridge-edomoticz
这个是install.sh的代码。
那位大神帮我解决下问题!
Reading package lists... Done
Building dependency tree
Reading state information... Done
libavahi-compat-libdnssd-dev is already the newest version (0.6.32-2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
+ homebridge-synology@0.3.0
updated 1 package in 18.294s
+ homebridge-edomoticz@2.1.11
updated 1 package in 24.612s
*** 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=libd
ns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not su
pported (or only supported partially) in the Apple Bonjour compatibility layer o
f 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=node&f=DNSServiceRegister>
[2018-4-29 14:58:46] Loaded plugin: homebridge-edomoticz
[2018-4-29 14:58:46] Registering platform 'homebridge-edomoticz.eDomoticz'
[2018-4-29 14:58:46] ---
[2018-4-29 14:58:49] Loaded plugin: homebridge-synology
[2018-4-29 14:58:49] Registering accessory 'homebridge-synology.Synology'
[2018-4-29 14:58:49] ---
[2018-4-29 14:58:49] Loaded config.json with 0 accessories and 1 platforms.
[2018-4-29 14:58:49] ---
[2018-4-29 14:58:49] Loading 1 platforms...
[2018-4-29 14:58:49] [eDomoticz] Initializing eDomoticz platform...
[2018-4-29 14:58:49] Loading 0 accessories...
Setup Payload:
X-HM://0023ISYXC496E
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Or enter this code with your HomeKit app on your iOS device to pair with Homebri
dge:
┌────────────┐
│ 031-45-168 │
└────────────┘
[2018-4-29 14:58:49] Homebridge is running on port 51829.
[2018-4-29 14:58:49] [eDomoticz] Light
[2018-4-29 14:58:49] [eDomoticz] Could not register platform accessory! (门厅灯)
Error: Cannot add a bridged Accessory with the same UUID as another bridged Acce
ssory: 4e899f4d-0b93-4ed0-b334-e18f38303c2c
上面是终端运行结果。
{
"bridge": {
"name": "Homebridge",
"username": "CC:21:3D:E3:CD:33",
"port": 51829,
"pin": "031-45-168"
},
"description": "Configuration file for (e)xtended Domoticz platform.",
"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "127.0.0.1",
"port": "8084",
"ssl": 0,
"roomid": 2,
"mqtt": 0
}
],
"accessories": []
}
这个是我config.json的代码
#!/bin/bash
apt-get install libavahi-compat-libdnssd-dev
npm install -g --unsafe-perm homebridge-synology
npm install -g --unsafe-perm homebridge-edomoticz
这个是install.sh的代码。
那位大神帮我解决下问题!