After last HA update KNX tunneling doens't work

Hi,
yesterday I update HA to the last version and KNX tunnel stops to work.
I get this error message:
Invalid config for [knx]: [tunneling] is an invalid option for [knx]. Check: knx->knx->tunneling.

Any other is facing the same issue?

Thanks in advance.

Here below some details about my installation:
installation: Home Assistant OS
version: core-2022.4.1
SO version: 5.10.103-v8

Supervisor: Home Assistant OS 7.6
Version: supervisor-2022.03.5

Hi :wave:!
Do what the error message tells you (and probably did for the last 4 months): remove the tunneling: key from your yaml configuration.

My bad, thank you very much @farmio!
Reading helps… :thinking:
Now it works like before.
:crazy_face:

Help Same problem but I don’t understand what I need to delete.
sorry i’m novice with ha.
a thousand thanks

That’s what I did:

Just put a hashtag (#) int the following lines of your *knx.yaml:

IP Interface

knx:

# tunneling:

# host: “192.168.178.xx”

# port: 3671

# local_ip: “192.168.178.yy”

…or delete the lines.

Just delete the lines - they will not be used again.

PS. you can post code by wrapping it in tripple backticks ``` so it gets formatted correctly


Here is how you read those “Invalid config” error log messages: KNX integrations not working anymore from 2021.6 upgrade on - #3 by farmio

Invalid config for [knx]: [tunneling] is an invalid option for [knx]
Means that

knx:
  tunneling:  # <- this is invalid. Remove it and everything it contains
    ...

thank you very mouch at all. :+1: :love_you_gesture:

Hey Guys,

i have the same issue but after deleting the tunneling: IP… all the KNX devices show error Messages on Lovelace. Config says no errors. Where does HA get the KNX ip from now?

It looks like this now:

# KNX

knx:

  light: !include light.yaml
  cover: !include cover.yaml
  climate: !include climate.yaml
  
# Sensors
  sensor:
    - name: "temp_buro"
      type: temperature
      state_address: "2/3/3"
      sync_state: every 10
      
    - name: "temp_gaestebad"
      type: temperature
      state_address: "2/3/2"
      sync_state: every 10
      
    - name: "temp_wohnzimmer"
      type: temperature
      state_address: "2/3/6"
      sync_state: every 10
      
    - name: "temp_kueche"
      type: temperature
      state_address: "2/3/5"
      sync_state: every 10

You can add the knx Integration, like most other integrations, here: Open your Home Assistant instance and start setting up a new integration.
It gets the information from the config entry, but that isn’t migrated from the now invalid yaml anymore (did you do your last Update in 2021 ?).

PS: it’s ok to use spaces and upper case for the name strings. It will save you from having to manually adjust to have a nice UI (but probably won’t update already existing entities - except your last used Version is really old)

Hey farmio,

I installed HA in 2021 or 2020 and never updated it because everything worked fine. I dont really know what to do now to get knx working again. I got rid of the errors by deleting the tunneling key. But now as the config is fine, my knx devices are all unavailable on the dashboard and i dont know why.

Use the link I pasted above.

I did. I think i have to update again first since i used my backup to get knx working again?

It just links me to the integration page, but there is no knx integration at the moment.

Right. It is available there from 2021.12 and above.

Sorry, i was a little dumb…got it working now. Thanks a lot for your help.

Is it correct that there is no more supervisor mode?

Sorry, no idea what supervisor mode is :grimacing: maybe because I never used HA OS.

Ah okay thanks. U running it on a rasperry? I tried this aswell but wasnt able to make it work.

No, I’m running it on an old Intel-i3 machine in Docker.
But OS is probably the better choice.