Openhab2.2 cannot type the serial port for the zwave controller

This must be new for the 2.2 stable release because I could type the serial port of the controller manually before.
Now it only allows me to select ttyUSB0 which is not the correct port. Why ?

why the option to just type /dev/ttyACM1 is not there? As a result my zwave network is down

Nobody has this behaviour ?
The privileges for ttyUSB0, ttyACM1 are the same

crw-rw---- 1 root dialout 188, 0 Dec 22 19:11 ttyUSB0
crw-rw---- 1 root dialout 204, 64 Dec 19 02:27 ttyAMA0
crw-rw---- 1 root dialout 166, 1 Dec 22 18:57 ttyACM1

@cgeo this sounds like the file /etc/default/openhab2 does not contain the right values for your serial ports.
Check the line

EXTRA_JAVA_OPTS=

Upgrade process copies the old openhab2.dpkg-old where you can restore your used serial ports. My Z-Wave controller is a Razberry board on ttyAMA0 and the line can look like this:

EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyS0:/dev/ttyS2:/dev/ttyACM0:/dev/ttyAMA0"

Cheers,
Bernd

1 Like