KNX does not work anymore with my items

As you used knx1: what’s your last working knx.cfg?

Please be aware, that each thing must be named unique, you named every thing beneath the bridge as “generic”.
Every channel name has to be unique, but only within the thing. This configuration is correct:

Bridge knx:ip:bridge "My knx/IP Bridge" [  // 'bridge' is the actual name of the bridge
    type="TUNNEL",                         // set mode of IP connection
    ipAddress="192.168.178.20",            // IP of knx/IP Gateway
    localIp="192.168.178.58",              // IP address of openHAB
    autoReconnectPeriod=30                 // please don't set this to 1!
  ] {
    Thing device generic1_1_5 [
        address="1.1.5"
     ] {
        Type switch : ch1 "Licht Wohnzimmer"        [ ga="2/0/0" ]
        Type switch : ch2 "Lampe Arbeitszimmer"     [ ga="<2/0/2" ]
        Type switch : ch3 "Steckdose TV Wohnzimmer" [ ga="3/0/0" ]
     }

    Thing device generic1_1_19 [
        address="1.1.19"
     ] {
        Type switch : ch1 "Steckdose Lampe Ecktisch" [ ga="3/0/11+<3/1/11" ]
        Type switch : ch2 "Steckdose Ecktisch"       [ ga="3/0/10+<3/1/11" ]
     }
}

while this is not:

Bridge knx:ip:bridge "My knx/IP Bridge" [  // 'bridge' is the actual name of the bridge
    type="TUNNEL",                         // set mode of IP connection
    ipAddress="192.168.178.20",            // IP of knx/IP Gateway
    localIp="192.168.178.58",              // IP address of openHAB
    autoReconnectPeriod=30                 // please don't set this to 1
  ] {
    Thing device generic [
        address="1.1.5"
     ] {
        Type switch : Licht_WohnzimmerT     "Licht Wohnzimmer"        [ ga="2/0/0" ]
        Type switch : Licht_ArbeitszimmerT  "Lampe Arbeitszimmer"     [ ga="<2/0/2" ]
        Type switch : Steckdose_WohnzimmerT "Steckdose TV Wohnzimmer" [ ga="3/0/0" ]
     }

    Thing device generic [
        address="1.1.19"
     ] {
        Type switch : Steckdose_EcktischLampeT "Steckdose Lampe Ecktisch" [ ga="3/0/11+<3/1/11" ]
        Type switch : Steckdose_EcktischT      "Steckdose Ecktisch"       [ ga="3/0/10+<3/1/11" ]
     }
}

You have many typos and issues in your configuration, such as Keyword Switch in front of the channel name. Rollershutters have more than one GA! Rollershutters are of type rollershutter and not switch

Please do not set fetch=true or readInterval=3600 without knowing of the consequences.
Please use as few as possible parameters for the first try, so only type, ipAddress and localIp

Please, always use code fences. It’s possible to edit your postings, and there is a preview to see the posting before saving it.

If not using code fences (the correct way), your postings may be forged by discourse (the platform used for this forum), like doubled and single quotes:
‘test’

'test' vs. ‘test’ and
"test" vs. “test”

Every single char in configuration has to be correct, every single or double quote, upper and lower case, order of parameters.
Please use VSCode with openHAB plugin to get code correction. But to be honest, setting up VSCode correct to work with openHAB server and provide error highlightning, is not that easy…

1 Like