After upgrading to Python3.6 i can’t get Tradfri to work.
It is discovered:
2017-10-15 10:12:35 INFO (MainThread) [homeassistant.components.discovery] Found new service: ikea_tradfri {‘host’: ‘192.168.10.245’, ‘port’: 5684, ‘hostname’: ‘gw:b0-72-bf-27-8d-1d.local.’, ‘properties’: {‘version’: ‘1.1.0015’}}
2017-10-15 10:12:35 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=ikea_tradfri, discovered=host=192.168.10.245, port=5684, hostname=gw:b0-72-bf-27-8d-1d.local., properties=version=1.1.0015>
2017-10-15 10:12:35 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=configurator.ikea_tradfri, old_state=None, new_state=<state configurator.ikea_tradfri=configure; configure_id=4434743648-1, fields=[{‘id’: ‘key’, ‘name’: ‘Security Code’, ‘type’: ‘password’}], friendly_name=IKEA Trådfri, entity_picture=None, description=Please enter the security code written at the bottom of your IKEA Trådfri Gateway., submit_caption=Confirm @ 2017-10-15T10:12:35.483364+02:00>>
When entering the key in GUI:
2017-10-15 10:14:45 DEBUG (MainThread) [pytradfri.api.aiocoap_api] Executing 192.168.10.245 get [‘status’]
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/components/tradfri.py”, line 57, in configuration_callback
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/components/tradfri.py”, line 121, in _setup_gateway
File “/Users/djungelola/.homeassistant/deps/lib/python/site-packages/pytradfri/api/aiocoap_api.py”, line 160, in api_factory
File “/Users/djungelola/.homeassistant/deps/lib/python/site-packages/pytradfri/api/aiocoap_api.py”, line 125, in request
File “/Users/djungelola/.homeassistant/deps/lib/python/site-packages/pytradfri/api/aiocoap_api.py”, line 115, in _execute
File “/Users/djungelola/.homeassistant/deps/lib/python/site-packages/pytradfri/api/aiocoap_api.py”, line 77, in _get_response
When trying setting it up manually:
2017-10-15 10:12:19 INFO (MainThread) [homeassistant.setup] Setting up tradfri
2017-10-15 10:12:19 DEBUG (MainThread) [pytradfri.api.aiocoap_api] Executing 192.168.10.245 get [‘status’]
2017-10-15 10:12:19 ERROR (MainThread) [homeassistant.setup] Error during setup of component tradfri
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/components/tradfri.py”, line 107, in async_setup
allow_tradfri_groups))
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/components/tradfri.py”, line 121, in _setup_gateway
File “/Users/djungelola/.homeassistant/deps/lib/python/site-packages/pytradfri/api/aiocoap_api.py”, line 160, in api_factory
File “/Users/djungelola/.homeassistant/deps/lib/python/site-packages/pytradfri/api/aiocoap_api.py”, line 125, in request
File “/Users/djungelola/.homeassistant/deps/lib/python/site-packages/pytradfri/api/aiocoap_api.py”, line 115, in _execute
File “/Users/djungelola/.homeassistant/deps/lib/python/site-packages/pytradfri/api/aiocoap_api.py”, line 77, in _get_response
Any idea?