I’ve got the same behaviour as described in the first post, but I cannot get it to work by restarting the hub, host or container. When clicking ‘configure’, putting in the Security Code and clicking ‘confirm’ I always get the following error message:
Nov 14 10:17:43 home-assistant docker[1385]: 2017-11-14 09:17:43 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Nov 14 10:17:43 home-assistant docker[1385]: Traceback (most recent call last):
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/asyncio/tasks.py", line 181, in _step
Nov 14 10:17:43 home-assistant docker[1385]: result = coro.throw(exc)
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/site-packages/homeassistant/components/tradfri.py", line 66, in configuration_callback
Nov 14 10:17:43 home-assistant docker[1385]: psk = yield from api_factory.generate_psk(callback_data.get('key'))
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 193, in generate_psk
Nov 14 10:17:43 home-assistant docker[1385]: self._psk = yield from self.request(command)
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 149, in request
Nov 14 10:17:43 home-assistant docker[1385]: result = yield from self._execute(api_commands)
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 139, in _execute
Nov 14 10:17:43 home-assistant docker[1385]: _, res = yield from self._get_response(msg)
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 92, in _get_response
Nov 14 10:17:43 home-assistant docker[1385]: r = yield from pr.response
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
Nov 14 10:17:43 home-assistant docker[1385]: yield self # This tells Task to wait for completion.
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
Nov 14 10:17:43 home-assistant docker[1385]: future.result()
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
Nov 14 10:17:43 home-assistant docker[1385]: raise self._exception
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/site-packages/aiocoap/protocol.py", line 814, in _run_outer
Nov 14 10:17:43 home-assistant docker[1385]: yield from cls._run(app_request, response, weak_observation, protocol, log, exchange_monitor_factory)
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/site-packages/aiocoap/protocol.py", line 863, in _run
Nov 14 10:17:43 home-assistant docker[1385]: blockresponse = yield from blockrequest.response
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
Nov 14 10:17:43 home-assistant docker[1385]: yield self # This tells Task to wait for completion.
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
Nov 14 10:17:43 home-assistant docker[1385]: future.result()
Nov 14 10:17:43 home-assistant docker[1385]: File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
Nov 14 10:17:43 home-assistant docker[1385]: raise self._exception
Nov 14 10:17:43 home-assistant docker[1385]: OSError: [Errno -2] No error information
I’m using the raspberrypi2-homeassistant
image from Docker Hub, version 0.57.3.