ZWave binding updates

Hi, i have problems after apt update / upgrade from today (RPI 4) as it seems the serial port is gone after installation

2020-06-02 12:47:35 status installed bluez-firmware:all 1.2-4+rpt3
2020-06-02 12:47:35 status installed rpi.gpio-common:armhf 0.7.0-0.1~bpo10+1
2020-06-02 12:47:42 status installed raspberrypi-sys-mods:armhf 20200514
2020-06-02 12:47:59 status installed raspberrypi-kernel:armhf 1.20200601-1
2020-06-02 12:48:02 status installed raspberrypi-bootloader:armhf 1.20200601-1
2020-06-02 12:48:02 status installed libraspberrypi0:armhf 1.20200601-1
2020-06-02 12:48:02 status installed rpi-eeprom-images:all 7.1-1
2020-06-02 12:48:02 status installed python-rpi.gpio:armhf 0.7.0-0.1~bpo10+1
2020-06-02 12:48:03 status installed grafana:armhf 7.0.1
2020-06-02 12:48:04 status installed pi-bluetooth:all 0.1.13
2020-06-02 12:48:04 status installed libraspberrypi-doc:armhf 1.20200601-1
2020-06-02 12:48:04 status installed libraspberrypi-bin:armhf 1.20200601-1
2020-06-02 12:48:04 status installed libraspberrypi-dev:armhf 1.20200601-1
2020-06-02 12:48:06 status installed rpi-eeprom:all 7.1-1
2020-06-02 12:48:06 status installed man-db:armhf 2.8.5-2
2020-06-02 12:48:06 status installed systemd:armhf 241-7~deb10u4+rpi1

it finds the stick but no serial port /dev/ttyAMC0

[14:33:34] root@openhab:/var/cache/apt/archives# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 003: ID 045b:0229 Hitachi, Ltd mSATA Adapter [renkforce Pi-102]
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[14:40:04] root@openhab:/var/cache/apt/archives# ls -ltra /dev/ttyA*
crw-rw---- 1 root dialout 204, 64 Jun 2 14:18 /dev/ttyAMA0

[14:43:05] root@openhab:/var/cache/apt/archives# dmesg -T | grep tty
[Tue Jun 2 14:16:04 2020] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M smsc95xx.macaddr=DC:A6:32:4F:E1:CE vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=e7fb8469-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[Tue Jun 2 14:16:04 2020] console [tty1] enabled
[Tue Jun 2 14:16:04 2020] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2

any idea or rollback ?
thanks
Thomas

What version of OH to what version? Details can be important. I think @wborn has been doing some recent research on serial.

Since you have a Pi 4 is the stick plugged in to a USB2 hub as recommended? That stick incorrectly says it supports USB3 but does not work on a USB3 port directly.

i’m running OH2.5.5-1, never used USB hub (the outside port (black was working till today)

Since i don’t have USB2 hub here i swapped disk and Stick to RPI3, working now !

1 Like

I believe it should work ok - I’ve not tested the latest version, but the only changes are around the serial port, so if the controller comes online, then I would expect that it will probably work.

Chris

Thanks, afraid it doesnt work! Question marks come up on the nodes in Habmin. Rolled back…

I’ve updated to the last zwave binding but I noticed that the Things do not show the newest zwave parameters until I remove the things and add them again.

Is it possible to force and “update” to all installed things to get the latest binding changes? When there are a lot of devices is a mess removing and adding all again.

Thank you!

I am removing and rediscovering things via PaperUI, are just a few clicks …

That is expected and a limitation of the openHAB structure, It is recommended to delete all Z-Wave device Things (NOT exclude from the network) (not the Controller) and rediscover. They come back with the same thing ids so Items are not broken.

1 Like

No, but this may help…

3 Likes

Does it keep the Z-Wave controller Thing?

Yes

1 Like

I name all my things so I know visually what node is where removing and adding means I gave to go through and lookup what they are from item files

Interested to know how others are managing this?

I name my Items but keep the default names for the Things.

Hello,

Is it possible to have Z-Wave binding supporting IP Z-Wave gateways?
for example mCamView Z+
I plan to run openhab in kubernetes, and do not want to be depended of any com/usb ports.

Ed

I am not familiar with that product. Do you have a product link?
I know we do not support Z/IP but i believe there are ways of accessing Z-Wave hubs and USB sticks across the IP network.

When the Z-Wave specification is publicly released, i believe we plan to update the binding based on the standard instead of today’s reverse engineered binding.

The binding supports the standard Serial API for ZWave. If these devices implement that, over IP, then it might work. People are using IP serial extensions with the binding as another alternative.

1 Like

Hello,

I have this box: https://www.aliexpress.com/item/4000799702965.html

Ed

image

That can likely be controlled by the flexible openHAB, but not using the Z-Wave binding.

HTTP binding may work but you would need to figure out the configuration. There is a reason the cheap Chinese stuff is cheap.

It appears to be designed for their cloud server service. It is up to you if you want to send your information to China…

Have a look over here: Share Z-wave dongle over IP (USB over IP using ser2net / socat ) guide

I have my OpenHab installation running on a BHyve VM and it works like a charm with a remote USB stick on a Raspi attached to the ceiling.

1 Like