Zwave door locks #56
Replies: 4 comments 19 replies
-
Hi @georgeinva2004, door locks will not operate on < S2 I Believe - its a set standard, so ..
Zwave JS supports door locks - so it may be some configuration/Value set that is standing in the way |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response. Focusing on the Yale lock for now. ZWaveNode.GetHighestSecurityClass() returns an "Unsecured". So, I assume it's not S2. There's no PIN or QR Code provided with the lock, so I just did a standard pairing hoping that between the AEOTEC 700 controller, ZWave-JS, and the lock, S2 handshakes just "work" (again, showing my ignorance on how S2 is supposed to work). Without getting into a ton of details on my application, I look for the command class "Door Lock", and get the associated valueIDs for the properties I'm interested in. For the Yale, they are the targetMode and currentMode properties. Each of those is defined as a "number" in the metadata with States ranging from 0 to 255. The "0" state is defined as "unsecured" and the "255" state is defined as "secured". My code sends a 0 or 255 depending on the desired state using the ZWaveNode.SetValue method to the ValueID associated with the targetMode property. I receive a "true" in the CMDResult.Success property and a "State" of 254 (which means unknown according to the metadata). The debugger shows the following log entry after I send the command. {"type":"result","success":true,"messageId":"654a0137-f40f-414b-92cc-682573186489","result":{"result":{"status":254}}} I don't see anything on the packaging about FLiRS certification. Is there something I need to configure in the driver/controller to enable S2 security. Please forgive me if there is an obvious answer. Thanks, -John |
Beta Was this translation helpful? Give feedback.
-
This is a great description. Thank-you. Here's what I have. I'm getting a "false" returned from BeginInclusion(options). I'm assuming that there's a problem. When I change strategy to "Insecure" I get a "true" returned from BeginInclusion(options).
|
Beta Was this translation helpful? Give feedback.
-
Mostly. It does allow visibility to a small number of command classes. However, once we got security working, many more showed up along with over 500 valueIDs.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Marcus Davies ***@***.***>
Sent: Saturday, December 16, 2023 10:58:09 AM
To: zwave-js/ZWaveJS.NET ***@***.***>
Cc: John George ***@***.***>; Mention ***@***.***>
Subject: Re: [zwave-js/ZWaveJS.NET] Zwave door locks (Discussion #56)
Excellent! Good to hear.
The zwave spec says security devices should not attempt to communicate if not secured - whether or not manufacturers follow that guidance is another storey, but it seems your locks play by the rules.
—
Reply to this email directly, view it on GitHub<#56 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABJAZ4NCSXTD6CXCIJ5WUD3YJXAJDAVCNFSM6AAAAABAW3PSXOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQNZRGU4DG>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure where to go with this. I've tried two different ZWave door locks: Yale and Kwikset. Both pair, but I can't seem to get them to respond to the lock/unlock commands. The CMDResult Success property is set to true, but I'm not getting an obvious error back from the device. I'm wondering if it's my lack of understanding of how security works with ZWave. I've paired both locks by enabling inclusion mode and by doing a manual inclusion on each device (e.g. pressing the inclusion button or pressing the key sequences on the keypad to add to the network). I didn't use a QR code nor did I manually provide the PIN (only the Kwikset had that option). Both devices seem to pair correctly and I'm able to get the supported Command Classes and ValueIDs. Am I doing something wrong from a security perspective? Any ideas would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions