First time zwave setup: can’t start network

I have hass.io on a pi with a zwave usb stick attached. On initial setup, I was asked to give a path to the usb - the default one failed as did the first suggestion, but the second suggested one seemed to work.

When I click START NETWORK, it loads forever with no end.

Log output is:


2020-01-11 17:30:41.957 Always, OpenZwave Version 1.4.3452 Starting Up
2020-01-11 17:31:08.842 Info, Setting Up Provided Network Key for Secure Communications
2020-01-11 17:31:08.843 Info, mgr,     Added driver for controller /dev/ttyAMA0
2020-01-11 17:31:08.843 Info,   Opening controller /dev/ttyAMA0
2020-01-11 17:31:08.843 Info, Trying to open serial port /dev/ttyAMA0 (attempt 1)
2020-01-11 17:31:08.844 Info, Serial port /dev/ttyAMA0 opened (attempt 1)
2020-01-11 17:31:08.844 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-01-11 17:31:08.844 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2020-01-11 17:31:08.844 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2020-01-11 17:31:08.844 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2020-01-11 17:31:08.844 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2020-01-11 17:31:08.845 Detail,
2020-01-11 17:31:08.845 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-01-11 17:31:08.845 Detail, contrlr, Notification: DriverFailed

Any suggestions would be appreciated!

That means the path is wrong. No USB stick uses /dev/ttyAMA0. See Z-Wave - Home Assistant. Use a /dev/serial/by-id path if you have one.

To get said address, ssh in to your instance and use the command:

ls -l /dev/serial/by-id/

This will list all of your usb serial devices. Copy the one for your stick into your zwave config.

Thanks guys! I’ll give that a shot.

Looks like the path will be:
/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_513007CC-if01-port0

But must still be messing something up with the URL. Suggestions?

How do I change the USB path once it’s set? Do I have to disable and then enable the entire thing, or is there an easier way?

Thanks!

If you are using the Integration UI, easiest is to just delete it and re-install. Editing is not possible yet, AFAIK.

Ok thanks!

I do seem to be getting a different error now saying that the network stopped responding with the following log. Any ideas?


2020-01-12 15:08:38.765 Always, OpenZwave Version 1.4.3452 Starting Up
2020-01-12 15:08:56.358 Info, Setting Up Provided Network Key for Secure Communications
2020-01-12 15:08:56.359 Info, mgr,     Added driver for controller /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_513007CC-if01-port0
2020-01-12 15:08:56.359 Info,   Opening controller /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_513007CC-if01-port0
2020-01-12 15:08:56.359 Info, Trying to open serial port /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_513007CC-if01-port0 (attempt 1)
2020-01-12 15:08:56.367 Info, Serial port /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_513007CC-if01-port0 opened (attempt 1)
2020-01-12 15:08:56.369 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-01-12 15:08:56.369 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2020-01-12 15:08:56.369 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2020-01-12 15:08:56.369 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2020-01-12 15:08:56.370 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2020-01-12 15:08:56.370 Detail,
2020-01-12 15:08:56.370 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-01-12 15:08:57.371 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-01-12 15:08:57.371 Detail, contrlr, Removing current message
2020-01-12 15:08:57.371 Detail, contrlr, Notification: Notification - TimeOut
2020-01-12 15:08:57.371 Detail,
2020-01-12 15:08:57.371 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2020-01-12 15:08:58.372 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-01-12 15:08:58.372 Detail, contrlr, Removing current message
2020-01-12 15:08:58.372 Detail, contrlr, Notification: Notification - TimeOut
2020-01-12 15:08:58.372 Detail,
2020-01-12 15:08:58.372 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2020-01-12 15:08:59.373 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-01-12 15:08:59.373 Detail, contrlr, Removing current message
2020-01-12 15:08:59.373 Detail, contrlr, Notification: Notification - TimeOut
2020-01-12 15:08:59.374 Detail,
2020-01-12 15:08:59.374 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2020-01-12 15:09:00.374 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-01-12 15:09:00.374 Detail, contrlr, Removing current message
2020-01-12 15:09:00.374 Detail, contrlr, Notification: Notification - TimeOut
2020-01-12 15:09:00.375 Detail,
2020-01-12 15:09:00.375 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2020-01-12 15:09:01.375 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-01-12 15:09:01.375 Detail, contrlr, Removing current message
2020-01-12 15:09:01.375 Detail, contrlr, Notification: Notification - TimeOut

The path is probably still wrong. Do you have the Nortek Z-Wave/Zigbee combo stick? Maybe it’s the port1 path.

Yes I do. I’ll try that!

Woo! Success. Thanks so much for the help.

For future readers, it ended up being:

/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_513007CC-if00-port0

1 Like