Knx binding calimero usb support

Hi,

Question, if knx2 binding is based on calimero project, and according to calimero documentation it supports usb interfaces, why knx2 binding only supports serial and IP, not usb interfaces?

can it be made to work with usb, even by manually modifying underlining calimero files?

the reason I’m asking is, it seems there is an awful lot of people with timeout errors/java exceptions in the logs when using ip tunnel (for some of us router is not supported by the usb interface)

But there is no real reason to tunnel this traffic via IP, if knx usb interface is on the same machine as openhab, why not access it directly?

In each of these topics, there is no solution. people only resorted to workarounds like automatic restart of knx binding, disable/enable Thing, and some took an easy way out - purchasing Gira IP interface :slight_smile:

https://github.com/openhab/openhab-addons/issues/5861

https://github.com/knxd/knxd/issues/356

Please do not refer to outdated versions (even 4.3.5 is outdated…) as the knx binding is maintained and actively enhanced.

I never experienced issues with knx/IP, but my guess is a instable network connectivity if there are any issues (or misconfiguration…).

You can make knx/USB interfaces work by using knxd, which is also very reliable (if the rest of the system also is…), but I tend to use a real knx/IP interface, because, well… it’s directly connected to the knx bus and the network, and I use openHAB in an LXContainer, so no real hardware is used, but only network connections…

I’m running knxd on the same rpi machine as openhab. Usb knx interface on the same machine.And then facing “network issues” on the machine.

Imagine I have usb zwave dongle shared via usb2ip daemon with openhab on the same machine, and then I’m troubleshooting “network issues”.

Probably people would tell me this is nonsense just give the usb device to the openhab

Edit: i even tried to emulate serial device with socat (translate unix socket /tmp/knx to /dev/ttyKNX but unfortunately it didnt work