I upgrade from Raspberry PI3 to PI4 and moved the razberry zwave board. I did an installation from scracth and imported the backup. all working but the zwave serial controller appear in status OFFLINE - BRIDGE_OFFLINE. Anybody has the same problem?
I have it working on the rpi 4. If you installed using openhabian you can run the openhabian-config and select to disable bluetooth and add jvm arguments for the card to work. It’s under one of the submenus.
You will also need to edit the zwave controller using paperui or habmin to specify the correct port, for instance /dev/ttyS0.
Thank you it worked.
Somebody knows how to change the serial to the z-way-server too (I use it just to backup my network when I add a z-wave device) now if I stop openhab and start z-way-server manually I got:
[2019-08-20 10:32:29.919] [D] [zway] Opened device: /dev/ttyAMA0
[2019-08-20 10:32:29.919] [D] [zway] Worker thread successfully created
[2019-08-20 10:32:29.919] [D] [zway] Worker thread entry point
[2019-08-20 10:32:29.919] [I] [zway] Adding job: Get controller info and supported function classes
[2019-08-20 10:32:29.929] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2019-08-20 10:32:29.929] [C] [i/o] Serial port write error: (null)
[2019-08-20 10:32:29.929] [E] [zway] Failed to send packet: (null)
[2019-08-20 10:32:29.929] [D] [zway] Worker thread exit point
[2019-08-20 10:32:29.939] [D] [zway] Worker thread successfully finished
[2019-08-20 10:32:29.940] [I] [core] Restarting Z-Wave binding (zway)
[2019-08-20 10:32:29.940] [I] [core] Error: Binding with name ‘zway’ already exists
[2019-08-20 10:32:29.941] [I] [core] Trying to restart Z-Wave binding (zway) in 10 seconds
[2019-08-20 10:32:29.951] [I] [zway] SaveData will not save data since it wasn’t loaded. This is to prevent data loss.
[2019-08-20 10:32:29.951] [C] [zway] Get Serial API Capabilities returned zero.
[2019-08-20 10:32:29.960] [I] [core] Error: Bad data - communication failed
[2019-08-20 10:32:29.961] [I] [core] Tried 5 times without success. Stopping tries.
[2019-08-20 10:32:29.965] [I] [core] Notification: critical (z-wave): Cannot start Z-Wave binding: Error: Bad data - communication failed
I think because z-way-server check on the ttyAMA0 port instead of ttyS0
I have not tried zway myself in a long time. I know they are behind on raspian releases. If it’s just a matter of port, you should be able to create a symlink that points from ttyS0 to ttyAMA0.
You will not be able to have oh and zway started at the same time.