I have some trouble implementing the OH bridge to my KNX installation.
It worked in the past with my demo board and a different interface.
Now i have a MDT router (disabled IP secure) and i cannot get it to work.
The device shows as ONLINE in the Things overview but my item does not fire.
Hope you can help.
If i try tunneling and specify the IP address of the router the thing changes to “unknown” and eventually to “offline” with the following log entry:
2021-02-05 10:07:08.766 [ERROR] [Xnet/IP Tunneling 192.168.2.117:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.2.117:3671
I double checked the IP address.
Should i use tunneling instead of router? I tried that but the device is not coming online.
The manual says the router can establish up to 4 Tunnel connections to the bus.
If i use tunneling in the future do i have to make any configuration or will the router take care of the “clients” like Openhab or programming the bus in the ETS?
Thank you!
Things file:
Bridge knx:ip:bridge [
type="ROUTER",
//ipAddress="192.168.2.117",
autoReconnectPeriod=60 //optional, do not set <30 sec.
] {
Thing device knx_device "MDT_IP_Router" @ "Technikraum" [
//readInterval=3600 //optional, only used if reading values are present
] {
Type switch : EG_Licht_Technikraum_Schalten "Technikraum Licht" [ ga="0/1/4" ]
}
}
I have the same MDT IP-router (with IP secure on). I have It working perfectly in tunneling mode. I’m not at my installation at the moment but I believe that the only settings that I put in the config was the IP address and port.
I can see in ETS that OpenHAB is sending commands (and obviously I can see the lights etc dim and such).
Hi, have you configured your router to route or filer telegrams from KNX->IP and vice versa (in ETS)? I use a Schneider router (in router mode) and initially forgot to change from filter to routing (both ways) resulting in the same errors you describe.
I tried it with switch control but no use.
can you please show me your items file? I guess it may be the channel.
i indeed set a filter but did “pass through” everything now with no success.
Hi,
I don’t use item files in OH3 because I find it easier to model and create items in the GUI, but I did in OH2 and one of the items was configured like this:
i indeed set a filter but did “pass through” everything now with no success.
Perhaps I misunderstand you, but you need to change FROM filter TO route in the KNX->IP and IP->KNX setup in ETS… and another thing… the reason I use switch-control in the things files is because I use the KNX switches to control other things (IKEA Trådfri) and therefore don’t store state in the KNX switch. You should most likely use switch type.
i also thought just “switch” would be right.
I am sure the KNX Router “routes” now as desired - because i also use a Heat-Pump service Gateway with a KNX plugin - and i can read values from that one (i could not before because it was filtered so - thanks for that
i’ll dig deeper into that tomorrow.
Now i have to get my lights going
still no success.
if i configure TUNNEL the thing never goes online. If i configure router the thing shows online but i cannot send or receive anything to or from the bus.