问答社区分类: Home Assistant添加小米网关之后HA里面显示xiaomi配置错误,哪位大神可以帮助解答一下?

添加小米网关之后HA里面显示xiaomi配置错误,哪位大神可以帮助解答一下?

Perkins 提问于 3年 前
    2018年3月30日更新

根据入门篇一步一步设置的homebridge和homeassistant,配置是VMware虚拟的ubuntu,
中间也没啥问题,但是添加小米网关之后homeassistant里面显示xiaomi配置错误,也不太懂啥意思,哪位大神可以帮助解答一下,万分感谢!!

kuair@ubuntu:~$ 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&gt;
*** 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? … ServiceRegister>
[9/15/2017, 6:09:49 PM] Loaded plugin: homebridge-homeassistant
[9/15/2017, 6:09:49 PM] Registering platform ‘homebridge-homeassistant.HomeAssistant’
[9/15/2017, 6:09:49 PM] —
[9/15/2017, 6:09:49 PM] Loaded config.json with 0 accessories and 1 platforms.
[9/15/2017, 6:09:49 PM] —
[9/15/2017, 6:09:49 PM] Loading 1 platforms…
[9/15/2017, 6:09:49 PM] [HomeAssistant] Initializing HomeAssistant platform…
[9/15/2017, 6:09:49 PM] [HomeAssistant] Please set default_visibility in config.json to “hidden” or “visible”.
[9/15/2017, 6:09:49 PM] [HomeAssistant] Fetching HomeAssistant devices.
[9/15/2017, 6:09:49 PM] [HomeAssistant] Received event: ping
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐
│ 123-45-678 │
└────────────┘

[9/15/2017, 6:09:49 PM] Homebridge is running on port 51826.

3个回答


采纳

试试装下homebridge-homeassistant插件
感得青年 回答于 3年 前


采纳

“homeassistant里面显示xiaomi配置错误”——homeassistant里报的具体错误是啥?
Andrew 版主 回答于 3年 前


采纳

这上面贴的是homebridge启动时的输出内容,从这里看不出小米设备在home assistant里存在的问题,需要贴出home assistant的错误日志输出内容才行。
Sam 版主 回答于 3年 前