[SOLVED] Can't add any Z-Wave Devices (Raspberry3,Razberry2,OH2)

Hi
I’ve a big problem … i can’t add devices to z-wave binding. (inclusion doesn’t work)

my configuration:
Raspberry Pi 3
Razberry 2 (EU)
Openhab 2.1.0

The Z-Wave-Binding is installed.

The serial mode is configured as follow:
[] 1 (RPi) Disable serial console (Razberry, SCC, Enocean)
[ ] 2 (RPi3) Disable Bluetooth module (Razberry)
[
] 3 Add common serial ports to openHAB JVM (Razberry, Enocean)

when i set the serial port to “/dev/ttyAMA0” -> the Z-Wave Serial Controller is offline
when i set the serial port to “/dev/ttyS0” -> the Z-Wave Serial Controller is online

Is that right so, with ttyS0?

with this setup, i can’t add a device (Z-Wave Cyrus Smart Home Z-Button).
i have start starting “searching for Thinks” at z-wave-binding, then the red led of razberry2
goes on (inclusion mode), pressing 3 times the button for inclusion -> it doesn’t work.
the device will not be recognized -:frowning:

does anyone have a tip to solve this problem?

thanks and best regards
marcel

Try the following command to find out the correct port:

dmesg -T | grep tty

Thanks for the tip …

the answer of dmesg is:
[19:33:36] openhabian@openHABianPi:~$ dmesg -T | grep tty
[Sun Nov 5 19:31:19 2017] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ea00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tt 1 root=PARTUUID=33d13584-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[Sun Nov 5 19:31:19 2017] console [tty1] enabled
[Sun Nov 5 19:31:19 2017] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[Sun Nov 5 19:31:19 2017] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 220, base_baud = 31250000) is a 16550

Which port is the serial port for razberry? I think its ttyS0, is that right?

As you can see if you would have compared your message output to my output in the link provided above, where I have a usb zwave stick:

yes, it should be /dev/ttyS0

Btw, outputs can be read a lot easier when formatted as “preformatted text”:

[19:33:36] openhabian@openHABianPi:~$ dmesg -T | grep tty
[Sun Nov 5 19:31:19 2017] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ea00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tt 1 root=PARTUUID=33d13584-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[Sun Nov 5 19:31:19 2017] console [tty1] enabled
[Sun Nov 5 19:31:19 2017] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[Sun Nov 5 19:31:19 2017] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 220, base_baud = 31250000) is a 16550

Thanks very mutch … now with the right port it works fine :ok_hand:

1 Like