Unable to detect that stick doesn't support soft-reset #7218
-
Checklist
Describe the issueAfter updating zwave-js-server from 1.28.0 to 1.35.0, I noticed that the server continually crashes after attempting to soft-reset the stick. Here are the logs from one of those cycles:
The older version didn't bother with the soft-reset, however, logging this message instead: "Soft reset is enabled through config, but this stick does not support it."
I disabled soft-reset in the config but I figured you'd want to know about the regression. Software versionsNo response Z-Wave Controller (Stick/Dongle/...)No response Device informationNo response Checklist
Upload LogfileNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
This comment has been hidden.
This comment has been hidden.
-
Take a look at the migration guide for v12, there's a section that covers this: https://zwave-js.github.io/node-zwave-js/#/getting-started/migrating/v12?id=removed-the-controller39s-supportssoftreset-property
Your controller currently identifies as:
which is not in the list of known problematic controllers. I can't find this list on the documentation, so here's the source: node-zwave-js/packages/zwave-js/src/lib/driver/Driver.ts Lines 2553 to 2579 in 7198eb3 So disabling soft-reset by config is expected in this case. If whatever controller you're using (it would help to mention which one) universally doesn't support soft-reset, perhaps it could be added to the list of problem controllers. In that case you'll probably need to provide more information, I would add the full driver debug logs (yours are not debug) like the bot asked for. The message in the old log is based on the previous behavior where the driver auto-detected controllers that failed soft-reset and it disabled them and cached that result (unless your controller decided to changes IDs). Per the migration guide, the auto-behavior was removed in v12. |
Beta Was this translation helpful? Give feedback.
Take a look at the migration guide for v12, there's a section that covers this: https://zwave-js.github.io/node-zwave-js/#/getting-started/migrating/v12?id=removed-the-controller39s-supportssoftreset-property
Your controller currently identifies as: