ZWave Not working - Need to fix or reset

Just installed HA last weekend on RPi4 (moving over from ST). Bought the Nortek Zwave & Zigbee stick, and added it fine. I added a GoControl switch fine. All was well. I tried to add my Schlage deadbolt lock that I just excluded from SmartThings. It added weird as a node, looked partial. Instead of waiting it out like I now know I should have, I started trying to remove it and force it out. so I could re-add it. I am now unable to add it back, even though the lock is 1 ft from my Pi, and I am unable to add another Zwave switch of the same type that I first added successfully. Currently I have 2 devices, the Zwave dongle itself, and the GoControl Switch I first added, but can’t add other devices. Do I need to fix something, or is it safe to delete the Zwave JS addon, and then re-add it back, or what is best way to troubleshoot?

I don’t use zwavejs addon but I do know zwavejs has great log files

If you can use zwavejs UI go there and access logs

If you cannot access zwaveJS UI you can…
HA >> configuration >> integration >> zwavejs >> configure >> LOG

This is Live log of Zwave network. You can see all messages and device state change

Most door locks require secure inclusion. Secure inclusion only works after a fresh factory reset of the device. sometimes a stronger signal than normal is needed for secure inclusion. Secure inclusion must be completed within 15 seconds of starting.

Thank you. I’ve removed the addon and integration, and thinking I would add them back, but now am unable to add them back. I want to start over with the Zwave Zigbee stick, as if I never installed it before. Is there a way to clear any old cached data on ZWave, and reinstall? Currently, I try adding the Integration, it asks if I want to add the AddOn too, which I say yes, then it asks me for USB path and network key, but then gets an error.

Except for the encryption key, the Z-Wave network is stored on the stick. SiLabs PC Controller software for Windows would bet you reset the stick to clear all data.

It is included as part of the free Simplicity Studio development kit.

Install the zwavejs2mqtt addon and select “Factory Reset”


2 Likes

Install the zwavejs2mqtt addon and select “Factory Reset”

I forgot about that. I need to try that sometime

Thanks! I tried to do this and got an “Error while calling api hardreset. Zwave client not connected”

The usb stick is in the RPi, but I had removed the ZwaveJS integration and add on, and cant add them back without giving a “Path” and “Network Key”

Hardware is connected, not sure how to get the software connected.

Then you didn’t setup the zwavejs2mqtt addon/container correctly.

Path is location of device on pi in the form of /dev/something

Network key you can just make up since you have little to no devices currently

In the video you posted earlier you still had ok’d Zwave integration installed which is likely why Zwave js failed. If you’ve uninstalled you simply need to determine the path and make the network key and all should be golden

In Supervisor, the Addon appears connected, has a path and a network key - see image.

When I try to install the Integration, and check the box to use the zwave js supervisor addon, it says Aborted Failed to connect.

Double check your device path. Other posts I see claim that the USB path for z-wave is if00 and zigbee is if01. If that’s true, you are using the zigbee path.

1 Like

Thanks, yes, did secure inclusion, it worked at first, but partially. I didn’t give it time to fully survey like I should have, before I tried deleting and starting over (after moving the hub very close to the door lock). I hosed it up, should have given it time…

Thanks, the 00 option was actually in the dropdown, I selected, restart, but it didnt connect.

Ok, I took USB stick out and put in another slot and rebooted HA. Now I have this option. What do I want to do? I only had 1 device setup on my last try, so not worried about keeping previous Zwave device info…

2021-09-28_12-49-08

It says "we discovered these, want to set them up? Not sure what “these” are…

I chose the top one, and it looks like everything is ok now. Except I have extra blank nodes. Should I delete these in some special way, or leave them. I am weary about removing anything now that it appears to be working…

@firstof9 - Do you think I should still do the hard reset, or just start trying to add devices from here…

Thanks for all the help so far. Sorry for the ignorance, just moving over from ST starting 10 days ago.

I’m STILL not able to add Z wave devices, HOWEVER Zigbee devices can be added.

I click configure on ZwaveJS, Add a Node, and it reboots HA? It does this a couple times, then stops, but Add Node wont add Zwave devices, at least the ones Ive tried…

Maybe there is no clear way to completely start over. Maybe I use this stick for Zigbee, and buy a different Zwave stick? Maybe I keep my ST hub around to control the Zwave devices through the integration? Im not sure what the issue is or how to troubleshoot the Zwave issue.

I tried using the Zwave JS to MQTT terminal to hard reset the card but get an error, “Zwave client not connected” Below is the log file in case it reveals anything…

2021-09-28T22:11:29.436Z CNTRLR [Node 007] Interview attempt (1/5) failed, node is dead.
New client
Client disconnected
Code 1000:
2021-09-28T22:11:50.401Z DRIVER no handlers registered!
2021-09-28T22:13:15.104Z CNTRLR Starting inclusion process with strategy Insecure…
Client disconnected
Code 1006:
2021-09-28T22:13:16.130Z CNTRLR Failed to execute controller command after 1/3 attempts. Scheduling next try i
n 100 ms.
2021-09-28T22:13:16.252Z CNTRLR handling add node request (status = Failed)
2021-09-28T22:13:16.253Z CNTRLR starting the inclusion failed
2021-09-28T22:13:16.254Z CNTRLR stopping inclusion process…
Z-Wave error ZWaveError: The inclusion could not be started.
at ZWaveController.handleAddNodeRequest (/usr/src/node_modules/zwave-js/src/lib/controller/Controller.ts:1671:7)
at Driver.handleRequest (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2591:33)
at Driver.handleUnsolicitedMessage (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2264:16)
at Object.notifyUnsolicited (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:510:16)
at notifyUnsolicited (/usr/src/node_modules/zwave-js/src/lib/driver/SendThreadMachine.ts:598:19)
at Interpreter.exec (/usr/src/node_modules/xstate/lib/interpreter.js:766:16)
at Interpreter.execute (/usr/src/node_modules/xstate/lib/interpreter.js:203:14)
at Interpreter.update (/usr/src/node_modules/xstate/lib/interpreter.js:229:12)
at /usr/src/node_modules/xstate/lib/interpreter.js:109:15
at Scheduler.process (/usr/src/node_modules/xstate/lib/scheduler.js:69:7) {
code: 21,
context: undefined,
transactionSource: undefined
}
2021-09-28T22:13:16.426Z CNTRLR handling add node request (status = Done)
2021-09-28T22:13:16.427Z CNTRLR done called for 0
2021-09-28T22:13:16.428Z CNTRLR the inclusion process was stopped
New client
New client
Client disconnected
Code 1000:
2021-09-28T22:14:03.904Z CNTRLR Starting inclusion process with strategy Insecure…
Client disconnected
Code 1006:
2021-09-28T22:14:04.919Z CNTRLR Failed to execute controller command after 1/3 attempts. Scheduling next try i
n 100 ms.
2021-09-28T22:14:05.037Z CNTRLR handling add node request (status = Failed)
2021-09-28T22:14:05.037Z CNTRLR starting the inclusion failed
2021-09-28T22:14:05.039Z CNTRLR stopping inclusion process…
Z-Wave error ZWaveError: The inclusion could not be started.
at ZWaveController.handleAddNodeRequest (/usr/src/node_modules/zwave-js/src/lib/controller/Controller.ts:1671:7)
at Driver.handleRequest (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2591:33)
at Driver.handleUnsolicitedMessage (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2264:16)
at Object.notifyUnsolicited (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:510:16)
at notifyUnsolicited (/usr/src/node_modules/zwave-js/src/lib/driver/SendThreadMachine.ts:598:19)
at Interpreter.exec (/usr/src/node_modules/xstate/lib/interpreter.js:766:16)
at Interpreter.execute (/usr/src/node_modules/xstate/lib/interpreter.js:203:14)
at Interpreter.update (/usr/src/node_modules/xstate/lib/interpreter.js:229:12)
at /usr/src/node_modules/xstate/lib/interpreter.js:109:15
at Scheduler.process (/usr/src/node_modules/xstate/lib/scheduler.js:69:7) {
code: 21,
context: undefined,
transactionSource: undefined
}
2021-09-28T22:14:05.115Z CNTRLR handling add node request (status = Done)
2021-09-28T22:14:05.116Z CNTRLR done called for 0
2021-09-28T22:14:05.117Z CNTRLR the inclusion process was stopped
2021-09-28T22:14:09.134Z DRIVER no handlers registered!
New client
New client
Client disconnected
Code 1000:
2021-09-28T22:14:41.008Z CNTRLR Starting inclusion process with strategy Insecure…
2021-09-28T22:14:42.027Z CNTRLR Failed to execute controller command after 1/3 attempts. Scheduling next try i
n 100 ms.
2021-09-28T22:14:42.150Z CNTRLR handling add node request (status = Failed)
2021-09-28T22:14:42.151Z CNTRLR starting the inclusion failed
2021-09-28T22:14:42.151Z CNTRLR stopping inclusion process…
Z-Wave error ZWaveError: The inclusion could not be started.
at ZWaveController.handleAddNodeRequest (/usr/src/node_modules/zwave-js/src/lib/controller/Controller.ts:1671:7)
at Driver.handleRequest (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2591:33)
at Driver.handleUnsolicitedMessage (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2264:16)
at Object.notifyUnsolicited (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:510:16)
at notifyUnsolicited (/usr/src/node_modules/zwave-js/src/lib/driver/SendThreadMachine.ts:598:19)
at Interpreter.exec (/usr/src/node_modules/xstate/lib/interpreter.js:766:16)
at Interpreter.execute (/usr/src/node_modules/xstate/lib/interpreter.js:203:14)
at Interpreter.update (/usr/src/node_modules/xstate/lib/interpreter.js:229:12)
at /usr/src/node_modules/xstate/lib/interpreter.js:109:15
at Scheduler.process (/usr/src/node_modules/xstate/lib/scheduler.js:69:7) {
code: 21,
context: undefined,
transactionSource: undefined
}
2021-09-28T22:14:42.221Z CNTRLR handling add node request (status = Done)
2021-09-28T22:14:42.222Z CNTRLR done called for 0
2021-09-28T22:14:42.223Z CNTRLR the inclusion process was stopped
Client disconnected
Code 1006:
2021-09-28T22:14:42.920Z DRIVER no handlers registered!
New client
New client
Client disconnected
Code 1000:
2021-09-28T22:15:28.518Z DRIVER no handlers registered!
Starting logging event forwarder at info level
Stopping logging event forwarder

It sounds like you may be still running zwavejs server while trying to use zwavejs2mqtt… you need to re-add the Zwave js “integration” and be sure to uncheck the zwavejs server box on the first box that comes up… you do not need to delete the integration to turn it off… that will ask you for the path to zwavejs2mqtt… you can get that from the zwavejs2mqtt docs… should be ws://blah blah something

I think I want to use Zwave JS, but I dont know the difference between the different Zwave options. Right now ZwaveJS cannot connect, and looks like the old zwave has the switch I was trying to add. My integrations and addons look like this. Not sure what to do in order to use ZwaveJS, or if there is a better Zwave option I will use that…

My zwaveJS to MQTT addon is not “connected” it says in the logs, as it keeps trying to connect.

2021-09-28_19-51-01