-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
[bug] Nodes report Secure mode when they were not Included Securely #522
Comments
Can confirm I am having the same behaviour on two separate installations. It appears this happens randomly. |
@AlCalzone, any clue? |
@robertsLando you're still treating the secure flag as a boolean :)
|
Didn't know there was also |
I see the PR to fix the issue in terms of displying the Security Status correctly - Secure, Insecure or Unknown. But why would it be Unknown in the first place ? Would that be caused by my legacy usage of the stick on other zwave platforms before zwavejs2mqtt ? |
That just means we don't know yet |
Isn't the first "No" for secure? |
It is, it's not 'unknown' anymore |
Can you share your cache files? |
Nodes 24, 26, 57, 60 and 64 are trouble nodes. Rename file to .json |
At least node 24 claims that it is secure. Could it be that the device was once secure and you didn't hard-reset it before inclusion? Then it will still have the network key and communicate securely. |
The devices are brand new and this is the first time they were included in a network. Unless they were factory tested with security enabled... I have attached zwave logs. Relevant excerpts are: 00:37:49.471 DRIVER » [Node 024] [REQ] [SendData] 00:37:50.792 DRIVER « [Node 024] [REQ] [ApplicationCommand] 00:38:00.838 CNTRLR [Node 024] Timed out while waiting for a response from the node |
Hm okay - they respond to the nonce report and then don't respond to the query of secure commands - but at that point the node is already assumed to be secure. I'll revert zwave-js/node-zwave-js#1569, that causes this issue. |
Before submitting a bug please read: https://zwave-js.github.io/zwavejs2mqtt/#/troubleshooting/bug_report
Version
Build/Run method
zwavejs2mqtt version: 1.1..0
zwavejs version: 6.1.3
Describe the bug
Some of my sensors are showing as Security enabled, I have never enabled security on my zwave. Discovered this when waking devices to get them to report in correctly in the control panel (they stay in RestartFromCache after a container restart). I thought this was an issue but have since learned it is not a problem.
Have a variety of devices but they all follow same pattern :
6 Aeotec Trisensors all show as Secure,
2 Aeotec sensor 6's on mains power show as No Security,
TKB Plugs are Not Secure,
Fibaro Plugs are Secure,
2 Fibaro motion detectors on battery are Secure
Controller itself (Aeotec stick) shows as Not Secure
When I say "added Securely" I mean the zwavejs2mqtt panel shows the device as Secure. There is no key set in the control panel.
To Reproduce
Excluded a node, and added it again (node 39) via the zwavejs2mqtt control panel making sure to ask for "normal" inclusion, Not Secure - , added Securely ! Device is working OK, HomeAssistant shows the motion .
Expected behavior
Since I have no key set, I would expect all my devices to be included in Non-Secure mode
Additional context
I dont know that they are actually in Secure mode, or if it is a UI glitch
The devices appear to work. This stick was originally in OZW, then running various betas of both zwavejs2matt and HA in preperation for the recent new zwaveJS integration in HA. I am using zwavejs2mqtt for the WS Server and the control panel. MQTT is disabled
Enclosed are the two log files and the JSON export for node 39
FYI, the Slack channel link on project page is expired.
node_39.zip
zwavejs2mqtt-store.zip
zwavejs2mqtt-store (1).zip
The text was updated successfully, but these errors were encountered: