KNX1 to KNX2 Migration Steps

Tags: #<Tag:0x00007f182af67978> #<Tag:0x00007f182af67748> #<Tag:0x00007f182af67590>

(philippe s) #21

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.

(Udo Hartmann) #22


(markus_pfleger) #23


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?


(Udo Hartmann) #24

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.

(Angelos) #25

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.

(Udo Hartmann) #26

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

(Angelos) #27

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)

(Christian) #28

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,

(Udo Hartmann) #29

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:

(Christian) #30

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

(Michael) #31

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 …

(Angelos) #32

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

(Udo Hartmann) #33

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

(Peter Armstrong Ostle) #34

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!

(Christian) #35

Hi @Britaway, could you elaborate further? I’m just reading values from my “physical” switches, heating-control runs a little bit different in my case.