Can't get z-wave to start (RPi4 8GB, Hassos 5.1 64-bit, Razberry hat + PoE hat) -- SOLVED

Tags: #<Tag:0x00007f73922205f8>

Hello,

I have a RPi4 8GB with Hassos 5.1 64-bit installed and a Razberry2 (blue version) + a PoE hat. I have absolutely no idea what I’m doing half of the time but I can’t get z-wave to launch.

I’ve installed OpenZWave and configured it with /dev/ttyAMA0 and a network key. When I click start network for z-wave under configuration it never starts. I let it be for an hour yesterday but nothing happened. I’ve also disabled bt through config.txt but I don’t remember exactly what I wrote.

This is what OZW_log.txt looks like.

2020-09-04 15:54:46.082 Always, OpenZwave Version 1.4.3469 Starting Up
2020-09-04 15:54:47.452 Info, Setting Up Provided Network Key for Secure Communications
2020-09-04 15:54:47.458 Info, mgr,     Added driver for controller /dev/ttyAMA0
2020-09-04 15:54:47.458 Info,   Opening controller /dev/ttyAMA0
2020-09-04 15:54:47.460 Info, Trying to open serial port /dev/ttyAMA0 (attempt 1)
2020-09-04 15:54:47.460 Info, Serial port /dev/ttyAMA0 opened (attempt 1)
2020-09-04 15:54:47.460 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-09-04 15:54:47.461 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2020-09-04 15:54:47.461 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2020-09-04 15:54:47.461 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2020-09-04 15:54:47.461 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2020-09-04 15:54:47.461 Detail, 
2020-09-04 15:54:47.461 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-09-04 15:54:48.461 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-09-04 15:54:48.461 Detail, contrlr, Removing current message
2020-09-04 15:54:48.461 Detail, contrlr, Notification: Notification - TimeOut
2020-09-04 15:54:48.463 Detail, 
2020-09-04 15:54:48.464 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2020-09-04 15:54:49.464 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-09-04 15:54:49.464 Detail, contrlr, Removing current message
2020-09-04 15:54:49.464 Detail, contrlr, Notification: Notification - TimeOut
2020-09-04 15:54:49.464 Detail, 
2020-09-04 15:54:49.466 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2020-09-04 15:54:50.467 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-09-04 15:54:50.467 Detail, contrlr, Removing current message
2020-09-04 15:54:50.467 Detail, contrlr, Notification: Notification - TimeOut
2020-09-04 15:54:50.467 Detail, 
2020-09-04 15:54:50.467 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2020-09-04 15:54:51.467 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-09-04 15:54:51.468 Detail, contrlr, Removing current message
2020-09-04 15:54:51.468 Detail, contrlr, Notification: Notification - TimeOut
2020-09-04 15:54:51.468 Detail, 
2020-09-04 15:54:51.468 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2020-09-04 15:54:52.468 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-09-04 15:54:52.468 Detail, contrlr, Removing current message
2020-09-04 15:54:52.468 Detail, contrlr, Notification: Notification - TimeOut
2020-09-04 16:24:40.467 Error, Options have been locked.  No more may be added.
2020-09-04 16:24:40.467 Error, Options have been locked.  No more may be added.
2020-09-04 16:24:40.468 Error, Options are already final (locked).
2020-09-04 16:24:48.625 Info, mgr,     Cannot add driver for controller /dev/ttyAMA0 - driver already exists

Any ideas?

EDIT 2020-07-08
I solved it a few days ago.

I had installed a metal case on the RPi to lower the temps and had to use a 40-pin extension for the GPIO, this caused the PoE hat to end up slightly askew which caused loose contact between the RaZberry 2 that sits on top of all this and the pins. When I removed the case the RaZberry got better contact with the GPIO-pins. I get higher temps now but whatever, I know how to solve that somewhat.

Hello,

having the same issue on a RPi4, running an Aeotec Z_Wave Stick Gen5 on an externally powered USB hub.
No clue what is still the problem?!

Logfile:

2020-10-13 19:21:29.135 Always, OpenZwave Version 1.4.3469 Starting Up
2020-10-13 19:21:52.264 Info, Setting Up Provided Network Key for Secure Communications
2020-10-13 19:21:52.265 Info, mgr,     Added driver for controller /dev/ttyAMA0
2020-10-13 19:21:52.265 Info,   Opening controller /dev/ttyAMA0
2020-10-13 19:21:52.265 Info, Trying to open serial port /dev/ttyAMA0 (attempt 1)
2020-10-13 19:21:52.265 Info, Serial port /dev/ttyAMA0 opened (attempt 1)
2020-10-13 19:21:52.265 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-10-13 19:21:52.266 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2020-10-13 19:21:52.266 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2020-10-13 19:21:52.266 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2020-10-13 19:21:52.266 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2020-10-13 19:21:52.266 Detail,
2020-10-13 19:21:52.266 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-10-13 19:21:52.266 Detail, contrlr, Notification: DriverFailed
2020-10-13 20:38:51.435 Error, Options have been locked.  No more may be added.
2020-10-13 20:38:51.435 Error, Options have been locked.  No more may be added.
2020-10-13 20:38:51.436 Error, Options are already final (locked).
2020-10-13 20:38:56.849 Info, mgr,     Cannot add driver for controller /dev/ttyAMA0 - driver already exists

/ Ralf

Other than this does the razberry hat work ok with the official POE hat? I have a pi4 2GB and am very new to HA (coming from smartthings)