『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 4270|回复: 1

[求助] 请教大神,通过树莓派安装hb接入hk

[复制链接]

1

主题

33

帖子

163

积分

注册会员

Rank: 2

积分
163
金钱
130
HASS币
0
发表于 2017-8-5 21:08:24 | 显示全部楼层 |阅读模式
请教大神,通过树莓派安装hb成功,安装小米插件,小米网关以及设备可以接入hk,想同时接入yeelight灯泡,根据网上教程,安装好之后,无法接入设备,求解
pi@raspberrypi:~ $ 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=libdns_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=libdns_sd&e=nodejs&f=DNSServiceRegister>
[8/5/2017, 1:02:44 PM] Loaded plugin: homebridge-mi-aqara
[8/5/2017, 1:02:44 PM] Registering platform 'homebridge-mi-aqara.MiAqaraPlatform'
[8/5/2017, 1:02:44 PM] ---
failed to load BLE module!
[8/5/2017, 1:02:44 PM] Loaded plugin: homebridge-yeelight
[8/5/2017, 1:02:44 PM] Registering platform 'homebridge-yeelight.yeelight'
[8/5/2017, 1:02:44 PM] ---
[8/5/2017, 1:02:44 PM] Loaded config.json with 0 accessories and 1 platforms.
[8/5/2017, 1:02:44 PM] ---
[8/5/2017, 1:02:44 PM] Loading 1 platforms...
[8/5/2017, 1:02:44 PM] Initializing MiAqaraPlatform platform...
[8/5/2017, 1:02:44 PM] [MiAqaraPlatform][INFO]**************************************************************
[8/5/2017, 1:02:44 PM] [MiAqaraPlatform][INFO]*                 MiAqaraPlatform By YinHang                 *
[8/5/2017, 1:02:44 PM] [MiAqaraPlatform][INFO]* GitHub: https://github.com/YinHangCode/homebridge-mi-aqara *
[8/5/2017, 1:02:44 PM] [MiAqaraPlatform][INFO]*                                        QQ Group: 107927710 *
[8/5/2017, 1:02:44 PM] [MiAqaraPlatform][INFO]**************************************************************
[8/5/2017, 1:02:44 PM] [MiAqaraPlatform][INFO]start success...
Load homebridge-yeelight.yeelight
[8/5/2017, 1:02:44 PM] [homebridge-yeelight.yeelight] YeePlatform Init
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ 233-78-123 │
    └────────────┘

[8/5/2017, 1:02:45 PM] [homebridge-yeelight.yeelight] DidFinishLaunching
no ble cap, skip ble device discovery
/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:56
  dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
         ^

Error: dns service error: name conflict
    at new Advertisement (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:56:10)
    at Object.create [as createAdvertisement] (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:64:10)
    at Advertiser.startAdvertising (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Advertiser.js:43:30)
    at Bridge.Accessory._onListening (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:532:20)
    at emitOne (events.js:96:13)
    at HAPServer.emit (events.js:191:7)
    at HAPServer._onListening (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:190:8)
    at emitOne (events.js:96:13)
    at EventedHTTPServer.emit (events.js:191:7)
    at EventedHTTPServer.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:65:10)
回复

使用道具 举报

27

主题

1307

帖子

5947

积分

元老级技术达人

积分
5947
金钱
4615
HASS币
100
发表于 2017-8-7 15:27:03 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-23 07:07 , Processed in 0.067715 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表