Trädfri not connecting in Home Assistant?

Hi,

When I try to connect my Trädfri setup, I get the following errors.

2017-10-19 22:04:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service=configure, service_call_id=1967937648-5, domain=configurator, service_data=configure_id=1967937840-1, fields=key=RH9Ie3bjHG9EgTZ1>
2017-10-19 22:04:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1967937648-5>
2017-10-19 22:04:01 ERROR (MainThread) [homeassistant.components.tradfri] Looks like something isn’t installed!
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tradfri.py”, line 115, in _setup_gateway
from pytradfri.api.aiocoap_api import api_factory
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py”, line 6, in
from aiocoap import Message, Context
ImportError: No module named ‘aiocoap’

I have tried following the updates, but no matter what I do, it still tells me that I am missing “aiocoap”. Can anyone help me with this one?

Hi,
i just rebuilt with a new image, copy configuration files and still no joy on the4 IKEA lights.
any quick step by step to isntall tradfri light component from scratch on 0.55.1. built ?

Try this page, there are loads of helpful comments to fix this.

I had the same problem, upgrading to Hassbian 1.31 worked for me…

Make sure you run the installation steps from the correct Virtual Environment (if on hassbian - elseif hassio, I have no idea)