Couldn’t find anyone else with the issue yet, but on .56 I was having a problem with wemo switches not updating status, and I just updated to .59.0 and then .59.1 and started getting an “invalid config” error:
"the following components and platforms could not be set up:
wemo
switch.wemo
Please check your config.
So I hadn’t changed anything at all, and it passes validation. That said, there’s a number of errors in the logs:
`2017-12-05 02:33:36 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-12-05 02:33:36 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
2017-12-05 02:33:36 WARNING (MainThread) [homeassistant.setup] Setup of light is taking over 10 seconds.
2017-12-05 02:33:40 WARNING (MainThread) [homeassistant.setup] Setup of wemo is taking over 10 seconds.
2017-12-05 02:33:48 ERROR (MainThread) [homeassistant.setup] Error during setup of component wemo
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”, line 386, in _make_request
six.raise_from(e, None)
File “”, line 2, in raise_from
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”, line 382, in _make_request
httplib_response = conn.getresponse()
File “/usr/lib/python3.5/http/client.py”, line 1198, in getresponse
response.begin()
File “/usr/lib/python3.5/http/client.py”, line 297, in begin
version, status, reason = self._read_status()
File “/usr/lib/python3.5/http/client.py”, line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), “iso-8859-1”)
File “/usr/lib/python3.5/socket.py”, line 576, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py”, line 438, in send
timeout=timeout
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”, line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py”, line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/packages/six.py”, line 686, in reraise
raise value
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”, line 600, in urlopen
chunked=chunked)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”, line 388, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”, line 308, in _raise_timeout
raise ReadTimeoutError(self, url, “Read timed out. (read timeout=%s)” % timeout_value)
requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host=‘192.168.1.30’, port=49153): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 194, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.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/wemo.py”, line 89, in setup
port = pywemo.ouimeaux_device.probe_wemo(address)
File “/srv/homeassistant/lib/python3.5/site-packages/pywemo/ouimeaux_device/init.py”, line 30, in probe_wemo
timeout=10)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/api.py”, line 72, in get
return request(‘get’, url, params=params, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/api.py”, line 58, in request
return session.request(method=method, url=url, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py”, line 518, in request
resp = self.send(prep, **send_kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py”, line 639, in send
r = adapter.send(request, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py”, line 514, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host=‘192.168.1.30’, port=49153): Read timed out. (read timeout=10)
2017-12-05 02:34:09 WARNING (Thread-11) [netdisco.ssdp] Error fetching description at 192.168.1.75
2017-12-05 02:34:15 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.wemo. Setup failed for dependencies: wemo
2017-12-05 02:34:15 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.wemo: Could not setup all dependencies.
2017-12-05 02:34:16 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.wemo. Setup failed for dependencies: wemo
2017-12-05 02:34:16 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.wemo: Could not setup all dependencies.
2017-12-05 02:34:16 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.wemo. Setup failed for dependencies: wemo
2017-12-05 02:34:16 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.wemo: Could not setup all dependencies.
2017-12-05 02:34:16 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.wemo. Setup failed for dependencies: wemo
2017-12-05 02:34:16 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.wemo: Could not setup all dependencies.
2017-12-05 02:34:16 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.wemo. Setup failed for dependencies: wemo
2017-12-05 02:34:16 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.wemo: Could not setup all dependencies.
2017-12-05 02:38:25 ERROR (Thread-24) [pychromecast.socket_client] Error reading from socket.
2017-12-05 02:38:25 WARNING (Thread-24) [pychromecast.socket_client] Error communicating with socket, resetting connection
2017-12-05 02:39:01 WARNING (Thread-24) [pychromecast.socket_client] Heartbeat timeout, resetting connection`
The IP’s are all internal not external, so I’m not bothering to go through this to censor.
THe big takeaway is that apparently there’s some dependency missing, but I have no idea what. I upgraded same way I always do with sudo pip3 install --upgrade homeassistant
Any ideas gang?