# After switch from KNX 1 Binding to KNX 2 - no communication to the BUS is happening

**URL:** <https://community.openhab.org/t/after-switch-from-knx-1-binding-to-knx-2-no-communication-to-the-bus-is-happening/98892>\
**Category:** Bindings\
**Tags:** knx, knx2\
**Created:** [May 16, 2020, 7:26am UTC](https://community.openhab.org/t/after-switch-from-knx-1-binding-to-knx-2-no-communication-to-the-bus-is-happening/98892 "2020-05-16T07:26:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![reinhard\_vornholt](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/848f3c/32.png) [@reinhard\_vornholt](https://community.openhab.org/u/reinhard_vornholt)\
**Post date:** [May 16, 2020, 7:26am UTC](https://community.openhab.org/t/after-switch-from-knx-1-binding-to-knx-2-no-communication-to-the-bus-is-happening/98892/1 "2020-05-16T07:26:44Z")

</div>

Hello,

I recently updated from Openhab 2.4 to the latest 2.5 release. In this process my KNX 1 binding stopped working, so I decided to finally switch to the KNX 2 binding. But I can not get it to work. I reduced my setup to the absolute minimun. Having only one item, one KNX device with one Channel.  
Everything says “online” and there are no errors in the log, but no BUS communication is happening. I am a little bit lost and need help.

This is my knx.things file:

```
Bridge knx:ip:bridge "IP-Router N 146/02" @ "KNX"[
        type="ROUTER"
]{
        Thing device generic []
        {
                Type switch : Licht_KG_Buero "Licht Büro" [ga="<1/0/1"]
        }
}

```

this is my only items file right now:

`Switch Licht_UG_Buero "Büro" <light> (gUG, lichter) {channel="knx:device:bridge:generic:Licht_KG_Buero"}`

And this is what I see in my events.log

```
2020-05-15 22:25:46.238 [.ItemChannelLinkAddedEvent] - Link 'Licht_UG_Buero-knx:device:bridge:generic:Licht_KG_Buero' has been added.
2020-05-15 22:54:35.110 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from UNINITIALIZED to INITIALIZING
2020-05-15 22:54:35.562 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from INITIALIZING to UNKNOWN
2020-05-15 22:54:35.816 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from UNINITIALIZED to INITIALIZING
2020-05-15 22:54:35.856 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
2020-05-15 22:55:35.920 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from UNKNOWN to ONLINE
2020-05-15 22:55:35.923 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

```

When I use the swith I can see this in the LOG:

```
2020-05-16 09:31:30.114 [ome.event.ItemCommandEvent] - Item 'Licht_UG_Buero' received command ON
2020-05-16 09:31:30.128 [nt.ItemStatePredictedEvent] - Licht_UG_Buero predicted to become ON
2020-05-16 09:31:30.154 [vent.ItemStateChangedEvent] - Licht_UG_Buero changed from OFF to ON
2020-05-16 09:31:30.486 [ome.event.ItemCommandEvent] - Item 'Licht_UG_Buero' received command OFF
2020-05-16 09:31:30.526 [nt.ItemStatePredictedEvent] - Licht_UG_Buero predicted to become OFF
2020-05-16 09:31:30.561 [vent.ItemStateChangedEvent] - Licht_UG_Buero changed from ON to OFF

```

But nothing is happening, and I see in my BusMonitor that there is no communication. Also the read from the GA (because of the “\<”) is also not happening, I get a timeout in the log:

`2020-05-15 22:56:06.093 [WARN] [nx.internal.client.AbstractKNXClient] - Giving up reading datapoint 1/0/1, the number of maximum retries (3) is reached.`

---

<div class="post-metadata">

**Author:** ![reinhard\_vornholt](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/848f3c/32.png) [@reinhard\_vornholt](https://community.openhab.org/u/reinhard_vornholt)\
**Post date:** [May 16, 2020, 12:22pm UTC](https://community.openhab.org/t/after-switch-from-knx-1-binding-to-knx-2-no-communication-to-the-bus-is-happening/98892/2 "2020-05-16T12:22:12Z")

</div>

I think I found the sollution.

Obviously I needed to provide the local IP of the host to the binding. With this configuration it works. (at least with this one item) Maybe the reason ist, that on this machine there is also a docker running and openhab got confused with all the local ip adresses. But thats just a educated guess.

```
Bridge knx:ip:bridge "IP-Router N 146/02" @ "KNX"[
        type="ROUTER",
        localIp="192.168.178.39"
]{
        Thing device generic []
        {
                Type switch : Licht_KG_Buero "Licht Büro" [ga="<1/0/1"]
        }
}

```
