KNX1 to KNX2 Migration Steps


I’m also trying to migrate my KNX1.13 to KNX 2.x, but i was not able to uninstall the KNX Binding (1.x) in the PAPER UI, it stays in the list. Do i have to uninstall it in a different way?



Enable Legacy Bindings


Thanks for the response, but not the solution.

They were already included.

Do have to go to the karaf console to uninstall it?


are you using the addons.cfg file?
you could try the console but this shouldn’t happen… any entries in openhab.log when you try to uninstall it?

try uninstalling knx2 and then knx1 (then install knx2)

A simple upgrade to the latest openhab version did an update in the bindings list in the PaperUI, finally i got rid of the KNX1 version . Thanks, now let’s migrate…

1 Like

Hi all,

wanted to share an experience I made with migrating to KNX2.
I have a bunch of GAs that are not tied to a specific target device (e.g., light config for all switches in the house). With KNX1 a no-brainer, but things are needed with KNX2 binding. Intuitively, I put these GAs into a new device thinging and - as the binding help page said is optional - I left out the bus address for this device thing. Obviously because there is not “the bus address” but multiple.

What can I say… didn’t work. I was not able to send out telegrams. ETS did not see anything coming from OH. Finally, I added a fake address to the KNX device thing. And it works…

Intended? Bug?


Fuzzy, what DPT are the GA’s?
I also have a bunch of GA that are not tied to any target and seem to work.
My only issue so far is with scene DPT (17.001 and 18.001), the rest so far seems to work.



I also want to migrate to knx2. I updated to openhab 2.3 and it seems I have both bindings installed now. What I am wondering now, is it possible to have some of my items still on knx1 and some of them already in knx2?

I have quite a huge config and will not be able to migrate all at once. So what I wanted to do is take one item of my knx1 config. Create a new items file for my knx2 config and migrate them one by one. Will this work that way?


Did you enable legacy bindings before upgrading to OH2.3? Otherwise, openHAB should have uninstalled knx1.

I don’t know if it’s possible to to use knx1 and knx2 competitively, though there is no real reason why that shouldn’t be possible. Of course both knx1 and knx2 will need a separate communication to the knx bus, so if using a knx/IP tunneling interface, you will need at least 2 tunnels (most modern interfaces support up to 5 tunnels)
Another thing is, you will have to ensure there is no overlapping in group addresses between knx1 and knx2.

I believe that this would be a problem, since both (KNXv1 & KNXv2) use the same Service PID name space (org.openhab.knx) in the ConfigAdmin, so you wouldn’t be able to setup 2 sets of parameters.

Oh, I thought the knx1 binding was renamed to knx1 and that this renaming took place also for configuration?!?

This naming convention (knx1) applies for some areas (like for the addons.cfg)
I just checked in the console (in 2 different OH2 installations, one with knx1 and another with knx2) and both store their config on the same pid config:list "("

It seems like a design/planning “mistake” :slight_smile: but most likely this is intended (because the developers don’t want to allow a parallel installation of a legacy 1.x and 2.x binding)

finally got KNX2 working (fresh & clean OH2.3 install). Quick question: I’ve got integrated temperature sensors in my room switches - do I have to create a [Thing device] for each of them in my knx.things or can I use something like a generic one to retrieve all temperature-GAs within one?

Thanks & BR,

You are free to define a generic Thing or use individual ones…

As I want to benefit from ping-device, I defined all knx devices in my knx.things file and set up all sensors where they belong to, but that is only my definition :slight_smile:

Hi @Udo_Hartmann! Many thanks for your reply - sounds like a plan :slight_smile:!

Is there a documentation which shows the main differences/advantages/disadvantages of KNX1 vs. KNX2 binding?
I’m not sure why I should migrate from KNX1 to KNX2, but there might be good arguments, which I could not find …

in theory: binding development (+enhancements) of knx v2 should be more “active” versus knx v1
otherwise, functionality is the same… stable with both

knx1 has known issues when used with OH2, but this applies not to all users. So, if you don’t observe problems, you can use knx1

I was wondering if you would mind sharing an example of your heating set-up? I’ve got the achaul tempertures being read, but still not clear on the set point control. Thanks!