Hi,
I installed the latest Raspberry Pi Rasbian operating system with all updates on Pi 3.
I then installed Home-assistant using the manual install process.
However, after adding the ins configuration to the Configuration file and restarting Home-Assistant, it fails with an error when loading the KNX library:
Here is the Config file:
knx:
- host: 10.4.1.5
- port: 3671
Here is the Error Message:
ERROR:homeassistant.bootstrap:Error during setup of component knx
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/bootstrap.py”, line 106, in _setup_component
result = component.setup(hass, config)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/knx.py”, line 51, in setup
res = KNXTUNNEL.connect()
File “/home/homeassistant/.homeassistant/deps/knxip/ip.py”, line 293, in connect
ipaddr, port = scanner.start_search()
File “/home/homeassistant/.homeassistant/deps/knxip/gatewayscanner.py”, line 76, in start_search
self._asyncio_loop = asyncio.get_event_loop()
File “/usr/lib/python3.4/asyncio/events.py”, line 576, in get_event_loop
return get_event_loop_policy().get_event_loop()
File “/usr/lib/python3.4/asyncio/events.py”, line 522, in get_event_loop
threading.current_thread().name)
AssertionError: There is no current event loop in thread ‘Thread-1’.
I can ping the KNX IP gateway from the Pi.
Any help please?