Is it possible to connect KNX-USB Data Interface directly to Raspberry Pi 3 B+ and use KNX binding with serialPort?

I’m setting up a new OpenHABian with KNX bindings. I have KNX-USB Data Interface by GIRA. Is it possible to use it directly with KNX binding (what should be then specified in configuration)? Or should I rather install knxd on the device?

  • Platform information:
    • Hardware: Raspberry Pi 3 B+, GIRA KNX-USB Data Interface connected to my KNX installation
    • OS: OpenHABian (2.3.0-1)
    • openHAB version: 2.3.0-1

I don’t know what to put as knx bridge serialPort attribute.


I’ve made little investigation:

Running find . /dev before and after attaching the KNX-USB device shown that after plugging in new interfaces appeared:

  • /dev/hhihdraw0
  • /dev/usb/hihddev0
  • /dev/bus/usb/001/007

I didn’t know which one is correct, so I tried all of them as serialPort of my KNX bridge configuration:

Bridge knx:serial:bridge [ 
    serialPort="/dev/hidraw0", // also: /dev/usb/hihddev0 and /dev/bus/usb/001/007
    readingPause=50, 
    responseTimeout=10, 
    readRetriesLimit=3, 
    autoReconnectPeriod=1
] ...

Before restarting OH2 I changed permissions:

sudo chmod 777 /dev/hhihdraw0
sudo chmod 777  /dev/usb/hihddev0
sudo chmod 777  /dev/bus/usb/001/007

Unfortunately, everytime I got:
Status: OFFLINE - COMMUNICATION_ERROR failed to open serial port /dev/usb/hiddev0

What am I doing wrong?