My Aeotec Z-Wave serial controller does not work in OH3. On the same server, I installed OH2 and tested with the same settings and there it works.
Below you find all the relevant information I gathered so far.
If you need additional output, please advice.
Platform information:
Hardware: Intel® Pentium® Silver J5005 CPU @ 2.8GHz
OS: CentOS Linux release 8.2.2004 (Core)
# dmesg | grep tty
[ 10.134643] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
# lsusb
Bus 001 Device 004: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
# ll /dev | grep tty
crw-rw-rw-. 1 root dialout 166, 0 Nov 13 2020 ttyACM0
lrwxrwxrwx. 1 root root 7 Nov 13 10:28 ttyUSB-ZStick -> ttyACM0
/etc/udev/rules.d/99-usb-serial.rules
SUBSYSTEM=="tty", ATTRS{idVendor}=="0658", ATTRS{idProduct}=="0200", SYMLINK+="ttyUSB-ZStick", GROUP="dialout", MODE="0666"
Test1:
Java Runtime Environment: OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)
OH: openHAB version: openHAB 2.5.10 Release Build
/etc/default/openhab2
EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB-ZStick"
Steps:
- fresh install OpenHAB 2.5.10
- added zwave binding
- added Z-Wave Serial Controller (default settings)
-> Port Configuration (dropdwon Serial Port available)
Thing comes online and all devices appear in the inbox
Test2:
Java Runtime Environment: openjdk version “11.0.9” 2020-10-20 LTS
OH: openHAB version: openHAB 3.0.0.M2
/etc/default/openhab (OH3)
EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB-ZStick"
- fresh install OpenHAB 3.0.0.M2
- added zwave binding
- added Z-Wave Serial Controller (default settings)
-> Port Configuration (dropdwon Serial Port NOT available)
-> added /dev/ttyUSB-ZStick manually (tested the same with )
Bridge appears offline in GUI
Debug log:
2020-11-13 10:58:11.148 [DEBUG] [g.zwave.internal.ZWaveConfigProvider] - No thing found in getConfigDescription thing:zwave:serial_zstick:53d1f7a07d
2020-11-13 10:58:11.180 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - Creating ZWave discovery service for zwave:serial_zstick:53d1f7a07d with scan time of 60
2020-11-13 10:58:11.181 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - ZWave discovery: Active zwave:serial_zstick:53d1f7a07d
2020-11-13 10:58:11.182 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
2020-11-13 10:58:11.214 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Initializing ZWave serial controller.
2020-11-13 10:58:11.216 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initializing ZWave Controller zwave:serial_zstick:53d1f7a07d.
2020-11-13 10:58:11.217 [DEBUG] [zwave.handler.ZWaveControllerHandler] - No network key set by user - using random value.