-
-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cc): implement Security S2 CC #1136
Conversation
4705340
to
2422ca1
Compare
2422ca1
to
7eef65e
Compare
7eef65e
to
4b52834
Compare
🚧 It seems like this PR has lint errors 🚧
I should be able to fix them for you. If you want me to, just comment |
c9f349a
to
d003023
Compare
Back to draft until Github Actions is back up. |
@zwave-js-bot pack this |
👋 Hey @AlCalzone! |
🎉 The packages have been published. |
@zwave-js-bot pack this |
👋 Hey @AlCalzone! |
🎉 The packages have been published. |
### Features Just one, but it's a big one: We added support for **Security S2** inclusion and singlecast communication 🎉. As it looks like, **Z-Wave JS** is the first open source library to support **Security S2**. If you plan to add support in your application, see the [documentation](https://zwave-js.github.io/node-zwave-js/#/getting-started/security-s2) and [PR description](#1136) for details - this also requires UI changes. ### Bugfixes * The firmware target selection for targets other than 0 no longer incorrectly complains about an incorrect target * Avoid writing into `node_modules` when updating an external configuration directory * When an endpoint shares its lifeline with the root (i.e. has 0 max. associations), the root's associations are now ignored when determining how the endpoints's associations should be configured ### Config file changes * Add another product ID variant to Yale YRD210 * Update and cleanup Fibaro Walli Double Switch * Preserve root endpoint values for TZ06 * Allow manual entry for Zooz ZSE11 Param 12 * Add missing fingerprint to MCOHome MH9-CO2-WD * Fix Heltun HE-RS01 parameters 41-45
This PR implements support for Security S2. The following features are included:
These features are not finished yet and will be included in a later PR:
Notable changes:
beginInclusion
andreplaceFailedNode
got new method signatures. The old ones still work but are deprecated and will be removed inv9.x
. See feat(cc): implement inclusion using Security S2 #3170 or the new documentation for details."node added"
event handler got a second argument to indicate whether a node was included with lower than intended security. See feat(cc): implement inclusion using Security S2 #3170 or the new documentation for details.isSecure
property now indicates if the node has any security class assigned, which can be S0 or S2. Details on the granted security classes can be fetched withnode.hasSecurityClass
andnode.getHighestSecurityClass
.fixes: #1123