sander76/custom_components

Unexpected error occurred

Opened this issue · 0 comments

logdump

Unexpected error

Traceback (most recent call last):
  File "/home/pi/venv/lib/python3.5/site-packages/homematicip-0.8-py3.5.egg/homematicip/async/connection.py", line 75, in api_call
    result = await self._websession.post(path, data=body, headers=self.headers)
  File "/home/pi/venv/lib/python3.5/site-packages/aiohttp/client.py", line 320, in _request
    traces=traces
  File "/home/pi/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 418, in connect
    traces=traces
  File "/home/pi/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 733, in _create_connection
    traces=traces
  File "/home/pi/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 838, in _create_direct_connection
    req=req, client_error=client_error)
  File "/home/pi/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 797, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
  File "/usr/lib/python3.5/asyncio/base_events.py", line 762, in create_connection
    yield from self.sock_connect(sock, address)
  File "/usr/lib/python3.5/asyncio/selector_events.py", line 451, in sock_connect
    return (yield from fut)
  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 285, in result
    raise CancelledError
concurrent.futures._base.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/.homeassistant/custom_components/homematic_ip.py", line 110, in connect
    await self._handle_connection()
  File "/home/pi/.homeassistant/custom_components/homematic_ip.py", line 97, in _handle_connection
    await self._home.get_current_state()
  File "/home/pi/venv/lib/python3.5/site-packages/homematicip-0.8-py3.5.egg/homematicip/async/home.py", line 27, in get_current_state
    'home/getCurrentState', json.dumps(self._connection.clientCharacteristics))
  File "/home/pi/venv/lib/python3.5/site-packages/homematicip-0.8-py3.5.egg/homematicip/async/connection.py", line 93, in api_call
    raise HmipConnectionError("Failed to connect to HomeMaticIp server")
homematicip.base.base_connection.HmipConnectionError: Failed to connect to HomeMaticIp server