I started having this problem recently, I am not sure if its because of an update or system configuration. I did a fresh install of hassbian, updated everything and installed SAMBA, Configurator and Mosquitto with the provided hass scripts built in. Eufy was my first component and it is giving me this error:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/eufy.py", line 31, in setup_platform
add_entities([EufyLight(discovery_info)], True)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/eufy.py", line 58, in __init__
self._bulb.connect()
File "/srv/homeassistant/lib/python3.5/site-packages/lakeside/__init__.py", line 128, in connect
return device.connect(self)
File "/srv/homeassistant/lib/python3.5/site-packages/lakeside/__init__.py", line 65, in connect
self.s.connect((self.address, 55556))
OSError: [Errno 113] No route to host
I searched around but it doesn’t seem like anyone else is getting this error with eufy or any other components. Some posts said it had to do with a firewall but I checked my iptables and it looks wide open. Another said it had something to do with the wireless router configuration not accepting TCP packets but I haven’t changed anything on my router. Less relevant posts were saying that it could be a busy bluetooth radio which doesn’t apply here but may give insight to someone.
I figured out after a few days of pulling my hair out that it was the result of a change in the protocol used by the new euphy api. As a last ditch attempt I manually upgraded the lakeside library in the home assistant environment and it actually worked. I’m guessing the old version of lakeside was unable to connect with the euphy servers after they changed the API.
2019-02-14 20:59:37 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform eufy
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/eufy.py", line 31, in setup_platform
add_entities([EufyLight(discovery_info)], True)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/eufy.py", line 58, in __init__
self._bulb.connect()
File "/usr/local/lib/python3.6/site-packages/lakeside/__init__.py", line 128, in connect
return device.connect(self) ```
Still happening
Hass: 0.92.1
Running via docker latest as of today: homeassistant/home-assistant latest b66d1a9659c7 10 days ago 2.3GB
2019-05-07 12:56:19 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform eufy
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/eufy/light.py", line 24, in setup_platform
add_entities([EufyLight(discovery_info)], True)
File "/usr/src/app/homeassistant/components/eufy/light.py", line 51, in __init__
self._bulb.connect()
File "/usr/local/lib/python3.7/site-packages/lakeside/__init__.py", line 128, in connect
return device.connect(self)
File "/usr/local/lib/python3.7/site-packages/lakeside/__init__.py", line 65, in connect
self.s.connect((self.address, 55556))
OSError: [Errno 113] No route to host```