Invalid config
The following components and platforms could not be set up:
xiaomi-aqara
Please check your config.
日志:
(不使用interface指定网关IP)
Sat Nov 02 2019 20:43:49 GMT+0800 (CST)
No gateway discovered
(使用interface指定网关IP)
Sat Nov 02 2019 21:07:42 GMT+0800 (CST)
Error during setup of component xiaomi_aqara
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 171, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/xiaomi_aqara/__init__.py", line 147, in setup
xiaomi.discover_gateways()
File "/srv/homeassistant/lib/python3.7/site-packages/xiaomi_gateway/__init__.py", line 47, in discover_gateways
_socket.bind((self._interface, 0))
OSError: [Errno 99] Cannot assign requested address