Hi guys,
I am actually one of the early users from OH and finaly did my change to OH2. I am struggling with something where I need your help.
Most is working fine. I was able to migrate my items with only a few changes. No um struggling with the rules. No single rule which is based on “changed” trigger is firing. When I change it to “received update” it fires. I nailed it down to an issue with my KNX IP Interface (Siemens N146, which worked perfectly fine in OH1).
Here is my knx.config
autoReconnectPeriod="30"
busaddr="1.1.168"
ignorelocalevents="true"
ip="192.168.20.250"
localIp="192.168.30.48"
maxRefreshQueueEntries="1000"
numberOfThreads="3"
port="3671"
service.pid="org.openhab.knx"
type="TUNNEL"
Sending to KNX and receiving updates from KNX works fine. I can turn on an item
openhab> send Light_GF_Arbeiten ON
Command has been sent successfully.
Light goes on.
I can turn it off with my physical switch in the room and its received in the OH2 logs
18:13:03.939 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Light_GF_Arbeiten' received command OFF
So communication just works fine. Only one thing. When I turned it on via the shell in the logs I find this
18:14:09.096 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Light_GF_Arbeiten' received command ON
18:14:09.099 [INFO ] [tuwien.auto.calimero ] - calimero.link.192.168.20.250:3671: send message to 1/1/5, wait for confirmation
Wait for confirmation sounds like there is a missing feedback that OH2 really changes the item. Its receives the update, but in OH2 its not “changed”. Physically it is, but logically its not.
Evidence is this. The light is physically OFF. I do this:
openhab> send Light_GF_Arbeiten ON
Command has been sent successfully.
openhab> items list Light_GF_Arbeiten
Light_GF_Arbeiten (Type=SwitchItem, State=OFF, Label=Arbeiten, Category=blight, Groups=[GF_Arbeiten, Lights])
OH thinks its still OFF.
When looking in OH APP and physically switching a light the status in the app either gets not updated.
Whats missing?
Item Definition
Switch Light_GF_Arbeiten "Arbeiten" <blight> (GF_Arbeiten, Lights) { knx="1/1/5+0/1/0+0/1/2" }
Not sure if this has something to do with it. The OH2 Server has only one IP interface
openhab.log:2017-09-10 17:52:21.963 [WARN ] [g.eclipse.smarthome.core.net.NetUtil] - Found multiple local interfaces - ignoring 192.168.30.48
I dont know where to look for. Any help appreciated. You can imagine whats a house like to live in which was uttermost smart with OH1 and after changing to OH2 nearly no rule is working anymore. HELP ,-).
Regards
Ralf
PS. Needless to say that in OH1 it worked with this config for KNX
knx:ip=192.168.20.250
knx:type=TUNNEL
knx:localIp=192.168.30.48