KNX not working on 0.108.5

Hello everybody,

with version 0.108.5 the KNX bus no longer works. 0.108.4 works perfectly in this regard.

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/xknx/core/telegram_queue.py", line 67, in run
    await self.process_telegram(telegram)
  File "/usr/local/lib/python3.7/site-packages/xknx/core/telegram_queue.py", line 97, in process_telegram
    await self.process_telegram_outgoing(telegram)
  File "/usr/local/lib/python3.7/site-packages/xknx/core/telegram_queue.py", line 104, in process_telegram_outgoing
    await self.xknx.knxip_interface.send_telegram(telegram)
  File "/usr/local/lib/python3.7/site-packages/xknx/io/knxip_interface.py", line 170, in send_telegram
    await self.interface.send_telegram(telegram)
  File "/usr/local/lib/python3.7/site-packages/xknx/io/tunnel.py", line 135, in send_telegram
    await self.reconnect()
  File "/usr/local/lib/python3.7/site-packages/xknx/io/tunnel.py", line 188, in reconnect
    await self.disconnect(True)
  File "/usr/local/lib/python3.7/site-packages/xknx/io/tunnel.py", line 184, in disconnect
    await self.udp_client.stop()
  File "/usr/local/lib/python3.7/site-packages/xknx/io/udp_client.py", line 195, in stop
    self.transport.close()
AttributeError: 'NoneType' object has no attribute 'close'

I’m back to 0.108.4.

Best wishes
Michael

For best visibility and chance of this being resolved you should not only report it in the v0.108 discussion but also open an issue on github.

1 Like

just to give some extra info, mine has the error
“could not parse knx IP adress”

also did a rolback and it’s working again.

deleting the quotes helped for me
HA v107.7:

knx:
  tunneling:
    host: '10.10.1.30'
    port: 3671
    local_ip: '10.10.1.32'

HA v108.5:

knx:
  tunneling:
    host: 10.10.1.30
    port: 3671
    local_ip: 10.10.1.32

Perfect, it works with HA 108.5

I had the same problem again with the new update (108.6)
now the solution was to place the port and local_ip in comment

knx:
  tunneling:
    host: 10.10.1.30
#    port: 3671
#    local_ip: 10.10.1.32

Hello,

I have no KNX problems with 108.6. I didn’t have to change anything.

Best wishes
Michael

I also don’t have any issues, just like @MichaelR. My config:

knx:
 tunneling:
  host: '192.168.85.3'
  port: 3671
  local_ip: '192.168.86.2'

That’s my config:

# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# KNX
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

knx:
  rate_limit: 20
  tunneling:
    host: 192.168.0.35
    port: 3671
    local_ip: 192.168.0.10
  fire_event: true
  fire_event_filter: ["*/*/*"]
  state_updater: true