I am running openhabian 2.4.0-1 on my Raspberry Pi 3 B+.
When I add the Aeotec z-stick gen5 to my things it won’t connect.
I have a fresh install of openhabian, this is my first attempt at adding something.
This is what I get in the log viewer:
2019-03-13 21:06:49.432 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyAMA0' 2019-03-13 21:06:49.441 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized 2019-03-13 21:06:49.445 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller 2019-03-13 21:06:49.448 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
What have I already tried?
Added EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyS0:/dev/ttyS2:/dev/ttyACM0:/dev/ttyAMA0" to /etc/default/openhab2
Run openhabian-config, go to 30 System Settings, 35 Serial Port, make sure that option 3 “Add common serial ports to openHAB JVM” is checked. Then go to 10 “Apply the latest improvements to the basic openHABian setup” and 14 “Fix Permissions” .
[21:14:49] openhabian@openHABianPi:~$ sudo chmod 777 /dev/ttyAMA0