|
新人一个,刚刚开始折腾。
已完成:1群晖HASS Docker;2装完自动找到Yeelight的吸顶灯;3根据配置可以使用米家空调伴侣控制空调;
但是尝试使用米家空调伴侣作为网关,怎么都加不到HASS,各种报错(见最下),configuration.yaml的配置如下,网关配置的同时已经注释了空调控制。有没有能给点建议的?
xiaomi_aqara:
interface: '192.168.50.1' #安装ha设备的ip地址
gateways:
- mac: 88XXXXXXXXA0
key: 71XX25XX8DC0XXD0 #小米网关的局域网传输协议密钥
错误信息:
2018-09-14 04:17:08 ERROR (MainThread) [homeassistant.setup] Error during setup of component xiaomi_aqara
Traceback (most recent call last):
File "/usr/src/app/homeassistant/setup.py", line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/xiaomi_aqara.py", line 127, in setup
hass.add_job, gateways, interface)
File "/usr/local/lib/python3.6/site-packages/xiaomi_gateway/__init__.py", line 35, in __init__
self._socket.bind((interface, 0))
OSError: [Errno 99] Cannot assign requested address
|
|