core: KNX reload of integration leads to gateway not found (automatic mode) + sucks up tunnel addresses
The problem
I got the problem since the last release that I’m not able to reload the KNX integration from the context menu in the attached screenshot without loosing the gateway connection. (since the KNX reload service is gone I have to do it this way after changes)

I’m always getting “gateway not found retrying” in the logs. I’m using the integrations automatic mode so no IP/address is configured statically. I’ve got a MDT IP Router (SCN-IP100.03) installed in my house. It is on the same network like the home assistant instance.
Even more strange is then when reloading twice in this context menu I’m getting back the connection (if I do it directly one after the other) BUT this leads to sucking up my tunnel addresses. So in the end it did even use a tunnel address from the ETS. (which lead me to recognize it since I couldn’t program from the ETS anymore)
This is a problem that I didn’t have before this release. I didn’t change anything in the KNX setup or network so I assume that something must have been changed in this release in the knx integration. Other than that the integration works fine if it got the connection to the IP gateway figured out.
What version of Home Assistant Core has the issue?
2021.12.10
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
KNX
Link to integration documentation on our website
https://www.home-assistant.io/integrations/knx/
Example YAML snippet
# from the configuration.yaml
knx: !include_dir_named knx/
# the other files in this folder look like (e.g. here a part of the sensor yaml)
- name: "Gästebad Temperatur Präsenzmelder"
state_address: "4/1/1"
type: temperature
state_class: measurement
- name: "Büro Temperatur Taster Türe"
state_address: "4/1/2"
type: temperature
state_class: measurement
Anything in the logs that might be useful for us?
No response
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (7 by maintainers)
@farmio my problem seems solved after few manipulation on device itself … @DenisMir I updated to 3.0.5 firmware for MDT IP Interface (it will also require a complete programmation for the device after the update)
https://www.mdt.de/EN_Downloads_Productdata.html
Hope it will helps
Seems so. Write operation to bus is working fine, but read operation are not. Installation programmed with ETS 6.0.2
I’ll try to get through another gateway just to ensure it’s not related to hardware or product firmware: MDT got issues with ETS 6, maybe something brokes again
Hi 👍 ,
Thank you for the fast response.
I’m waiting for the upcoming release and will post back when I got it installed and the logs activated.