When trying the include or exclude from the ZwaveJS integration page, I am getting the following error in the logs.
17:53:37.498 CNTRLR starting inclusion process...
17:53:37.527 CNTRLR handling add node request (status = Failed)
17:53:37.528 CNTRLR starting the inclusion failed
17:53:37.529 CNTRLR stopping inclusion process...
Unexpected error ZWaveError: The inclusion could not be started.
at ZWaveController.handleAddNodeRequest (/usr/lib/node_modules/@zwave-js/server/node_modules/zwave-js/src/lib/controller/Controller.ts:970:7)
at Driver.handleRequest (/usr/lib/node_modules/@zwave-js/server/node_modules/zwave-js/src/lib/driver/Driver.ts:1902:33)
at Driver.handleUnsolicitedMessage (/usr/lib/node_modules/@zwave-js/server/node_modules/zwave-js/src/lib/driver/Driver.ts:1638:16)
at Object.notifyUnsolicited (/usr/lib/node_modules/@zwave-js/server/node_modules/zwave-js/src/lib/driver/Driver.ts:487:16)
at notifyUnsolicited (/usr/lib/node_modules/@zwave-js/server/node_modules/zwave-js/src/lib/driver/SendThreadMachine.ts:564:19)
at Interpreter.exec (/usr/lib/node_modules/@zwave-js/server/node_modules/xstate/lib/interpreter.js:657:24)
at Interpreter.execute (/usr/lib/node_modules/@zwave-js/server/node_modules/xstate/lib/interpreter.js:206:22)
at Interpreter.update (/usr/lib/node_modules/@zwave-js/server/node_modules/xstate/lib/interpreter.js:226:18)
at /usr/lib/node_modules/@zwave-js/server/node_modules/xstate/lib/interpreter.js:125:23
at Scheduler.process (/usr/lib/node_modules/@zwave-js/server/node_modules/xstate/lib/scheduler.js:60:13) {
code: 21,
context: undefined,
transactionSource: undefined
}
17:53:37.597 CNTRLR handling add node request (status = Done)
17:53:37.598 CNTRLR done called for 26
17:53:37.599 CNTRLR the inclusion process was stopped
I am seeing the same issue after recent zwavejs2mqtt updates, inclusion directly stops with an API error. I tried removing and re-installing, rebooted as suggested but it still refuses to add anything.
2021-04-14 23:04:44.251 INFO ZWAVE: Node 55: value updated: 50-0-value-65537 121.39 => 121.39
2021-04-14 23:04:44.370 INFO ZWAVE: Calling api startInclusion with args: [ false, [length]: 1 ]
2021-04-14T21:04:44.373Z CNTRLR starting inclusion process…
2021-04-14T21:04:44.451Z CNTRLR handling add node request (status = Failed)
2021-04-14T21:04:44.452Z CNTRLR starting the inclusion failed
2021-04-14T21:04:44.453Z CNTRLR stopping inclusion process…
2021-04-14 23:04:44.460 INFO ZWAVE: The inclusion could not be started. startInclusion { success: false, message: ‘The inclusion could not be started.’ }
2021-04-14T21:04:44.517Z CNTRLR handling add node request (status = Done)
2021-04-14T21:04:44.519Z CNTRLR done called for 0
2021-04-14T21:04:44.520Z CNTRLR the inclusion process was stopped
2021-04-14 23:04:44.520 INFO ZWAVE: Controller status: Inclusion stopped
2021-04-14 23:04:44.868 INFO ZWAVE: Node 50: value updated: 50-0-value-65537 3.56 => 3.56
I still have this issue… Have re-installed, restarted etc… All previous added nodes comes back but I can’t start inclusion… Directly when I click the button I get the stack trace in the logs saying:
Z-Wave error ZWaveError: The inclusion could not be started.
Anyone have any ideas apart from removing and restarting?
I haven’t tested doing this myself yet. I find it odd, as I have included devices previously when using z-wave js. Last inclusion was some months ago, so I’m not sure which version worked for me.
My setup:
Raspberry PI4
Home Assistant Core: core-2021.6.1
z-wave js: 0.1.24
supervisor-2021.05.4
I’m not using zwavejs2mqtt
Edit: updated to core-2021-6.2 (which reboots the system), and I was able to add the device.
I have tried all solutions above with no luck… I’ve had this same issue before but I can’t remember what I did to fix it. Man, Z-Wave has been annoying, wish I stuck with ZigBee.