Z-Stick Gen5 and Z-Wave JS

The log:

2021-11-06T15:02:25.360Z DRIVER   version 8.7.5
2021-11-06T15:02:25.360Z DRIVER   
2021-11-06T15:02:25.415Z CONFIG   version 8.7.5
2021-11-06T15:02:26.142Z CNTRLR   querying controller IDs...
2021-11-06T15:02:26.321Z CNTRLR   received controller IDs:
                                    home ID:     0xc1c97733
                                    own node ID: 1
2021-11-06T15:02:26.321Z CNTRLR   querying API capabilities...
2021-11-06T15:02:26.357Z CNTRLR   received API capabilities:
                                    serial API version:  1.0
                                    manufacturer ID:     0x86
                                    product type:        0x01
                                    product ID:          0x5a
                                    supported functions: 
                                    ยท GetSerialApiInitData (0x02)
                                    ยท FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION (0x03)
                                    ยท ApplicationCommand (0x04)
                                    ยท GetControllerCapabilities (0x05)
                                    ยท SetSerialApiTimeouts (0x06)
                                    ยท GetSerialApiCapabilities (0x07)
                                    ยท SoftReset (0x08)
                                    ยท UNKNOWN_FUNC_UNKNOWN_0x09 (0x09)
                                    ยท SetRFReceiveMode (0x10)
                                    ยท UNKNOWN_FUNC_SET_SLEEP_MODE (0x11)
                                    ยท FUNC_ID_ZW_SEND_NODE_INFORMATION (0x12)
                                    ยท SendData (0x13)
                                    ยท SendDataMulticast (0x14)
                                    ยท GetControllerVersion (0x15)
                                    ยท SendDataAbort (0x16)
                                    ยท FUNC_ID_ZW_R_F_POWER_LEVEL_SET (0x17)
                                    ยท UNKNOWN_FUNC_SEND_DATA_META (0x18)
                                    ยท FUNC_ID_ZW_GET_RANDOM (0x1c)
                                    ยท GetControllerId (0x20)
                                    ยท UNKNOWN_FUNC_MEMORY_GET_BYTE (0x21)
                                    ยท UNKNOWN_FUNC_MEMORY_PUT_BYTE (0x22)
                                    ยท UNKNOWN_FUNC_MEMORY_GET_BUFFER (0x23)
                                    ยท UNKNOWN_FUNC_MEMORY_PUT_BUFFER (0x24)
                                    ยท UNKNOWN_FUNC_FlashAutoProgSet (0x27)
                                    ยท GetNVMId (0x29)
                                    ยท ExtNVMReadLongBuffer (0x2a)
                                    ยท ExtNVMWriteLongBuffer (0x2b)
                                    ยท ExtNVMReadLongByte (0x2c)
                                    ยท ExtExtWriteLongByte (0x2d)
                                    ยท GetNodeProtocolInfo (0x41)
                                    ยท HardReset (0x42)
                                    ยท FUNC_ID_ZW_REPLICATION_COMMAND_COMPLETE (0x44)
                                    ยท FUNC_ID_ZW_REPLICATION_SEND_DATA (0x45)
                                    ยท AssignReturnRoute (0x46)
                                    ยท DeleteReturnRoute (0x47)
                                    ยท RequestNodeNeighborUpdate (0x48)
                                    ยท ApplicationUpdateRequest (0x49)
                                    ยท AddNodeToNetwork (0x4a)
                                    ยท RemoveNodeFromNetwork (0x4b)
                                    ยท FUNC_ID_ZW_CREATE_NEW_PRIMARY (0x4c)
                                    ยท FUNC_ID_ZW_CONTROLLER_CHANGE (0x4d)
                                    ยท FUNC_ID_ZW_SET_LEARN_MODE (0x50)
                                    ยท AssignSUCReturnRoute (0x51)
                                    ยท FUNC_ID_ZW_REQUEST_NETWORK_UPDATE (0x53)
                                    ยท SetSUCNodeId (0x54)
                                    ยท DeleteSUCReturnRoute (0x55)
                                    ยท GetSUCNodeId (0x56)
                                    ยท UNKNOWN_FUNC_SEND_SUC_ID (0x57)
                                    ยท FUNC_ID_ZW_EXPLORE_REQUEST_INCLUSION (0x5e)
                                    ยท RequestNodeInfo (0x60)
                                    ยท RemoveFailedNode (0x61)
                                    ยท IsFailedNode (0x62)
                                    ยท ReplaceFailedNode (0x63)
                                    ยท UNKNOWN_FUNC_UNKNOWN_0x66 (0x66)
                                    ยท UNKNOWN_FUNC_UNKNOWN_0x67 (0x67)
                                    ยท GetRoutingInfo (0x80)
                                    ยท UNKNOWN_FUNC_LOCK_ROUTE_RESPONSE (0x90)
                                    ยท UNKNOWN_FUNC_GET_PRIORITY_ROUTE (0x92)
                                    ยท UNKNOWN_FUNC_SET_PRIORITY_ROUTE (0x93)
                                    ยท UNKNOWN_FUNC_UNKNOWN_0x98 (0x98)
                                    ยท UNKNOWN_FUNC_UNKNOWN_0xB4 (0xb4)
                                    ยท UNKNOWN_FUNC_WATCH_DOG_ENABLE (0xb6)
                                    ยท UNKNOWN_FUNC_WATCH_DOG_DISABLE (0xb7)
                                    ยท UNKNOWN_FUNC_WATCH_DOG_KICK (0xb8)
                                    ยท UNKNOWN_FUNC_UNKNOWN_0xB9 (0xb9)
                                    ยท UNKNOWN_FUNC_RF_POWERLEVEL_GET (0xba)
                                    ยท UNKNOWN_FUNC_GET_LIBRARY_TYPE (0xbd)
                                    ยท UNKNOWN_FUNC_SEND_TEST_FRAME (0xbe)
                                    ยท UNKNOWN_FUNC_GET_PROTOCOL_STATUS (0xbf)
                                    ยท UNKNOWN_FUNC_UNKNOWN_0xD2 (0xd2)
                                    ยท UNKNOWN_FUNC_UNKNOWN_0xD3 (0xd3)
                                    ยท UNKNOWN_FUNC_UNKNOWN_0xD4 (0xd4)
                                    ยท undefined (0xee)
                                    ยท UNKNOWN_FUNC_UNKNOWN_0xEF (0xef)
2021-11-06T15:02:26.358Z CNTRLR   Performing soft reset...
2021-11-06T15:02:26.366Z CNTRLR   Waiting for the controller to reconnect...

Dmesg log

[ 1219.952625] usb 2-2.1: USB disconnect, device number 74
[ 1220.522282] usb 2-2.1: new full-speed USB device number 75 using uhci_hcd
[ 1220.967864] usb 2-2.1: New USB device found, idVendor=0658, idProduct=0200, bcdDevice= 0.00
[ 1220.967866] usb 2-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1220.993157] cdc_acm 2-2.1:1.0: ttyACM0: USB ACM device
[ 1229.171091] usb 2-2.1: USB disconnect, device number 75
[ 1229.746196] usb 2-2.1: new full-speed USB device number 76 using uhci_hcd
[ 1230.194773] usb 2-2.1: New USB device found, idVendor=0658, idProduct=0200, bcdDevice= 0.00
[ 1230.194775] usb 2-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1230.220036] cdc_acm 2-2.1:1.0: ttyACM0: USB ACM device
[ 1238.588639] usb 2-2.1: USB disconnect, device number 76
[ 1239.163189] usb 2-2.1: new full-speed USB device number 77 using uhci_hcd
[ 1239.612624] usb 2-2.1: New USB device found, idVendor=0658, idProduct=0200, bcdDevice= 0.00
[ 1239.612627] usb 2-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1239.637886] cdc_acm 2-2.1:1.0: ttyACM0: USB ACM device
[ 1247.971351] usb 2-2.1: USB disconnect, device number 77
[ 1248.541132] usb 2-2.1: new full-speed USB device number 78 using uhci_hcd
[ 1248.985881] usb 2-2.1: New USB device found, idVendor=0658, idProduct=0200, bcdDevice= 0.00
[ 1248.985884] usb 2-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1249.010511] cdc_acm 2-2.1:1.0: ttyACM0: USB ACM device

Why?

Using a RbPi 4 ?

No. I am on ESXi. ZWaveJS added an option to do a Soft Reset on startup, which has the side effect of restarting the USB stick. This plays badly with VMs.

Fixed with Z-Wave JS to MQTT

1 Like

Thank you for this. Iโ€™ve been going insane for the past two hours!