[SOLVED] CONFIGURATION_ERROR with EnOcean- and ZWave-USB-Dongles

Hello to the forum,
I’m using the following configuration:

  • OpenHAB 2.4
  • Debian 10.1 (64 bit) Linux on a virtual machine (host: QNAP TS-251+ NAS)
  • TCM 310 EnOcean USB-Dongle (ESP3-based)
  • Cyrus SmartHome ZWave Plus USB-Dongle (Aeotec Z-Stick Gen5)
    Both dongles are recognized by the operating system (see following output of the “lsusb” command):

root@Nordmanns-OpenHAB-Server:/# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 003: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The EnOcean USB-Dongle corresponds to device 004 on bus 001, the ZWave USB-Dongle corresponds to device 003 on bus 001. The corresponding devices are also available in the “/dev” directory (see following output of the “ls -l” command):

root@Nordmanns-OpenHAB-Server:/# ls -l /dev/tty*
crw-rw-rw- 1 root tty 5, 0 Okt 1 22:57 /dev/tty
crw–w---- 1 root tty 4, 0 Okt 1 21:24 /dev/tty0
crw–w---- 1 root tty 4, 1 Okt 1 21:24 /dev/tty1
crw–w---- 1 root tty 4, 10 Okt 1 21:24 /dev/tty10
crw–w---- 1 root tty 4, 11 Okt 1 21:24 /dev/tty11
crw–w---- 1 root tty 4, 12 Okt 1 21:24 /dev/tty12
crw–w---- 1 root tty 4, 13 Okt 1 21:24 /dev/tty13
crw–w---- 1 root tty 4, 14 Okt 1 21:24 /dev/tty14
crw–w---- 1 root tty 4, 15 Okt 1 21:24 /dev/tty15
crw–w---- 1 root tty 4, 16 Okt 1 21:24 /dev/tty16
crw–w---- 1 root tty 4, 17 Okt 1 21:24 /dev/tty17
crw–w---- 1 root tty 4, 18 Okt 1 21:24 /dev/tty18
crw–w---- 1 root tty 4, 19 Okt 1 21:24 /dev/tty19
crw–w---- 1 root tty 4, 2 Okt 1 21:24 /dev/tty2
crw–w---- 1 root tty 4, 20 Okt 1 21:24 /dev/tty20
crw–w---- 1 root tty 4, 21 Okt 1 21:24 /dev/tty21
crw–w---- 1 root tty 4, 22 Okt 1 21:24 /dev/tty22
crw–w---- 1 root tty 4, 23 Okt 1 21:24 /dev/tty23
crw–w---- 1 root tty 4, 24 Okt 1 21:24 /dev/tty24
crw–w---- 1 root tty 4, 25 Okt 1 21:24 /dev/tty25
crw–w---- 1 root tty 4, 26 Okt 1 21:24 /dev/tty26
crw–w---- 1 root tty 4, 27 Okt 1 21:24 /dev/tty27
crw–w---- 1 root tty 4, 28 Okt 1 21:24 /dev/tty28
crw–w---- 1 root tty 4, 29 Okt 1 21:24 /dev/tty29
crw–w---- 1 root tty 4, 3 Okt 1 21:24 /dev/tty3
crw–w---- 1 root tty 4, 30 Okt 1 21:24 /dev/tty30
crw–w---- 1 root tty 4, 31 Okt 1 21:24 /dev/tty31
crw–w---- 1 root tty 4, 32 Okt 1 21:24 /dev/tty32
crw–w---- 1 root tty 4, 33 Okt 1 21:24 /dev/tty33
crw–w---- 1 root tty 4, 34 Okt 1 21:24 /dev/tty34
crw–w---- 1 root tty 4, 35 Okt 1 21:24 /dev/tty35
crw–w---- 1 root tty 4, 36 Okt 1 21:24 /dev/tty36
crw–w---- 1 root tty 4, 37 Okt 1 21:24 /dev/tty37
crw–w---- 1 root tty 4, 38 Okt 1 21:24 /dev/tty38
crw–w---- 1 root tty 4, 39 Okt 1 21:24 /dev/tty39
crw–w---- 1 root tty 4, 4 Okt 1 21:24 /dev/tty4
crw–w---- 1 root tty 4, 40 Okt 1 21:24 /dev/tty40
crw–w---- 1 root tty 4, 41 Okt 1 21:24 /dev/tty41
crw–w---- 1 root tty 4, 42 Okt 1 21:24 /dev/tty42
crw–w---- 1 root tty 4, 43 Okt 1 21:24 /dev/tty43
crw–w---- 1 root tty 4, 44 Okt 1 21:24 /dev/tty44
crw–w---- 1 root tty 4, 45 Okt 1 21:24 /dev/tty45
crw–w---- 1 root tty 4, 46 Okt 1 21:24 /dev/tty46
crw–w---- 1 root tty 4, 47 Okt 1 21:24 /dev/tty47
crw–w---- 1 root tty 4, 48 Okt 1 21:24 /dev/tty48
crw–w---- 1 root tty 4, 49 Okt 1 21:24 /dev/tty49
crw–w---- 1 root tty 4, 5 Okt 1 21:24 /dev/tty5
crw–w---- 1 root tty 4, 50 Okt 1 21:24 /dev/tty50
crw–w---- 1 root tty 4, 51 Okt 1 21:24 /dev/tty51
crw–w---- 1 root tty 4, 52 Okt 1 21:24 /dev/tty52
crw–w---- 1 root tty 4, 53 Okt 1 21:24 /dev/tty53
crw–w---- 1 root tty 4, 54 Okt 1 21:24 /dev/tty54
crw–w---- 1 root tty 4, 55 Okt 1 21:24 /dev/tty55
crw–w---- 1 root tty 4, 56 Okt 1 21:24 /dev/tty56
crw–w---- 1 root tty 4, 57 Okt 1 21:24 /dev/tty57
crw–w---- 1 root tty 4, 58 Okt 1 21:24 /dev/tty58
crw–w---- 1 root tty 4, 59 Okt 1 21:24 /dev/tty59
crw–w---- 1 root tty 4, 6 Okt 1 21:24 /dev/tty6
crw–w---- 1 root tty 4, 60 Okt 1 21:24 /dev/tty60
crw–w---- 1 root tty 4, 61 Okt 1 21:24 /dev/tty61
crw–w---- 1 root tty 4, 62 Okt 1 21:24 /dev/tty62
crw–w---- 1 root tty 4, 63 Okt 1 21:24 /dev/tty63
crw–w---- 1 root tty 4, 7 Okt 1 21:25 /dev/tty7
crw–w---- 1 root tty 4, 8 Okt 1 21:24 /dev/tty8
crw–w---- 1 root tty 4, 9 Okt 1 21:24 /dev/tty9
crw-rw---- 1 root dialout 166, 0 Okt 2 16:31 /dev/ttyACM0
crw-rw---- 1 root dialout 4, 64 Okt 1 21:24 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Okt 1 21:24 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 Okt 1 21:24 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 Okt 1 21:24 /dev/ttyS3
crw-rw---- 1 root dialout 188, 0 Okt 2 16:30 /dev/ttyUSB0

(EnOcean USB-Dongle corresponds to the “/dev/ttyUSB0” device, ZWave USB-Dongle corresponds to the “/dev/ttyACM0”).

But both dongles are not shown in the inbox of the PaperUI when executing the “Search For Things”. So I tried to add them manually:

I added my EnOcean USB-Dongle via “Inbox > EnOcean Binding > EnOcean Gateway”, gave it the name “EnOcean USB-Dongle”, set the path to “/dev/ttyUSB0” and confirmed by clicking the blue check mark.
I added my ZWave USB-Dongle via “Inbox > Z-Wave Binding > Z-Wave Serial Controller”, gave it the name “ZWave USB-Dongle”, set the serial port to “/dev/ttyACM0” and confirmed by clicking the blue check mark.

After that both dongles are shown in the PaperUI under “Configuration > Things” but with the error message “OFFLINE - CONFIGURATION_ERROR Serial Error: Port {0} does not exsist” (ZWave USB-Dongle)/“OFFLINE - CONFIGURATION_ERROR Port could not be found” (EnOcean USB-Dongle).

Do I have to install additional drivers to operate those dongles? This would be confusing becausee I run another virtual machine with a FHEM house automation server and the same type of dongles. And FHEM regognizes both without further configuration/driver installation. I just have to tell the tty device and baud rate (for example “/dev/ttyUSB0@57600” (EnOcean USB-Dongle) and “/dev/ttyACM0@115200” (ZWave USB-Dongle)).

So what’s goingg wrong with my OpenHAB 2 installation?

Thanks for help and regards from Germany

Ansgar

For zwave try to add the controller through HABmin:

1 Like

Is the user running OpenHAB a member of the dialout group? If not OH would not have the needed access.

1 Like

Hello to Bruce_Osborne and suhui!!!

I combined your Solutions and now it works perfect :slight_smile:

Thanks a lot and greetings from Germany

Ansgar

2 Likes