-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Z-wave not responsing after update of today ! #125843
Z-wave not responsing after update of today ! #125843
Comments
2024-09-12 18:38:31.054 ERROR (MainThread) [homeassistant.components.zwave_js] Failed to set the Z-Wave JS add-on options: not a valid value for dictionary value @ data['options']. Got {'device': '/dev/serial/by-id/usb-0658_0200-if00', 's0_legacy_key': '', 's2_access_control_key': '', 's2_authenticated_key': '', 's2_unauthenticated_key': '', 'lr_s2_access_control_key': '', 'lr_s2_authenticated_key': ''} |
Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) zwave_js documentation |
same here. update: after poweroff homeassistant, replug usb stick, boot homeassistant up |
Same thing on my side, after the update only 2 devices work out of 40. I rebooted via the HA interface and also performed a cold reboot. It still doesn't work. What's the solution? |
Same here, but disabling zwave, reconnecting the usb plug and restarting it did nothing. |
Insecure connection seems to work. |
I have: Nothing works |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Please report what add-on version caused the problem. Ie what did you update to? |
latest version that was pushed today (12.09.2024) |
I'd like to know exactly which version since there were two updates published during the same day. |
How do we find out the version. as I say, seems that anything that was bound with S2 does not work anymore ( smoke alarms, schlage zwave lock). |
That would be add-on version 0.7.1. The version is shown on the update notification and when the add-on is installed, on the info tab of the add-on. |
I have enough information for now. I'll possibly ask for more information later. |
Yes. 0.7.1. I see it in the add on info tab. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Please don't comment unless you bring new information. |
I've tested S2 inclusion on driver version 13.3.0 with the add-on version 0.7.1 and that is working for me. At this point we need driver debug level logs of an S2 inclusion attempt, from users with affected devices. https://www.home-assistant.io/integrations/zwave_js/#how-do-i-access-the-z-wave-logs |
Bonjour , |
@MartinHjelmare I am experiencing this same issue and am attaching DEBUG log level logs of Z-Wave JS addon startup that includes devices with S2 inclusion. I did both upgrades yesterday (for the add-on) at which point failures started occurring.
Secure z-wave devices:
No changes to configuration or keys were made prior to the add-on upgrades. I have done a full shutdown of the VM, replugged USB and verified port passthrough as well as USB availability in the VM. |
@FoxxMD please check if all network keys are set in the add-on configuration options. |
@FoxxMD Have you used your Z-Wave controller in any other software besides Z-Wave JS? Such as Silicon Labs PC Controller? Did you perform any kind of controller shift procedure? Your problem is due to the controller being detected as an Inclusion controller (secondary) instead of the Primary controller. New features were added in the update that is affected by this.
Normally it looks like:
The previous version would probably ignore this. But I'm not sure how you and possible others have ended up in a state where your connected controller (the USB controller) has identified as an inclusion controller. |
Kpine, how can we check? |
Check what specifically? Those logs are from Z-Wave JS when the add-on starts up. |
@kpine Many years ago (at least 4) I used z-wave js ui as a docker container before switching to z-wave js addon at some point. I've been on the addon for as long as I can remember and have never done anything with it with other software. The device I use (GoControl HUSBZB-1) is a dual-radio USB stick, if that matters. Zigbee and z-wave on the same stick. EDIT: I did switch from an older z-wave stick where the existing network was originally created. I'm not sure if that matters. I migrated to this GoControl stick probably before 2020. |
Yes, that is relevant information. While your controller is reporting that it's the primary:
it also reports that it was not the original primary node:
This causes ZJS to recognize your controller as an Inclusion controller. If it reported as You might be able to correct this state using PC Controller but I don't know for sure. Otherwise, you'll (probably) need to wait for an add-on update (Z-Wave JS). |
I'm using the same stick and am experiencing this issue, I wonder if that's a common thread here. I never ran a z-wave network before this stick and only used this stick with home assistant with the exception of updating the firmware using this https://github.com/walthowd/husbzb-firmware edit: that upgrade should only touch the zigbee side of things |
That would be interesting if it is the case. I don't actually know how that bit is set in the controller. SiLabs also removed the flag from recent documentation, although it exists in the SDK. Just to clarify, the problem I'm referring is specifically for the case where the controller is detected as an Inclusion controller, and fails to load the security keys. You must see these in the logs:
If anyone else is still having problems in 0.7.1 and can confirm the above log messages, please provide the controller you're using. If those are not in the logs, the problem is elsewhere. |
have also was real primary: false works without issues on 0.6.2 does not work on 0.7.1 (no S0, no S2 keys found, although they are configured) key was never ever used for anything else than HAS /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_51501C6B-if00-port0 DEVNAME: /dev/ttyUSB0 |
Nortek zigbee/zwave husbzb-1. Never used before and was a new install with the Argon case/SSD a few years back. When looking at zwave devices, the USB is recognized as Sigma Designs (former Zensys) and firmware is 4.32. Not sure if this should be upgraded or leave it alone as it is working. Running 0.6.1 rollback as other stuff were acting weird too. |
had this happening today after updating the OS to 13.1, and posted in the comm, just adding here for the peculiarity of the OS update (after having had the same thing happening before, but being able to fix it)
AeonLabs Z-stick gen 5, FW 1.1. using the core Integration and add-on reinstalling 0.7.1 again brings back all devices. Guess we need to keep that 0.6.2 backup .... |
|
Thank you for the quick work on this issue @AlCalzone ! ❤️ The relevant PR for the curious: zwave-js/node-zwave-js#7174 |
After initial success, unfortunately have to report the add-on update to 0.7.2 wasn’t completely successful after all All of my Sensative Door strips remained unavailable. Downgraded to 0.6.2 once again |
Please open a new issue with driver debug logs. |
Bonjour |
We use English language in this community. This issue is closed. Please search for open issues, or open a new issue with pertinent information attached. |
Do I read from this chain of comments that a secondary controller is no longer supported? |
No. Support for being a secondary controller was actually added to the node-zwave-js lib. That introduced an issue with some older controllers that didn't report the controller capabilities correctly. This caused Z-Wave JS to think it was a secondary controller and to use the learned security keys (which it didn't have, since it was actually the primary). |
Thanks. I am trying to understand why all the devices on my Aeotec Z-Stick Gen 5+ (used as a static secondary) became unavailable with recent releases. All the entities (except for Ping) disappeared. I had to roll back 3 weeks in my backups. Is that related to this thread or am I chasing the wrong item? |
Wait, have you actually been using the stick as a secondary controller? If so, you've been relying on something that was never intended to be supported and was not behaving in a spec-compliant way. Does the primary controller still exist? If yes, is transferring the primary role to Z-Wave JS an option? |
Yes, I have been using the stick as a secondary controller. No, I don't get unsolicited reports from devices. In this pattern, I have to ping the devices periodically, which is obviously suboptimal. The primary controller does exist, but it is an Alarm.com Qolsys IQ 2 Panel, which cannot serve as a secondary controller. I could make the stick the primary controller, but, to do that, I would have to unlearn all devices from the qolsys panel and re-learn all devices to the stick, meaning the Qolsys panel would have no access to those device and none of the security-related automations I have built on the qolsys would work. I could rebuild the security automations on HA, but the HA Alarm.com integration is polled, which means there would be delays or race conditions introduced by this method. I have heard of a qolsys integration that interacts in real-time with the Qolsys main panel as though it were a satellite panel, but I cannot find it. It's a fine pickle. Undoubtedly, you understand the zwave protocols better than I. Perhaps you know of an approach I haven't thought of. |
I suppose falling back to the configured security keys instead of the learned keys (which you don't have in this case) would be an option -> zwave-js/node-zwave-js#7224 |
I take it as read that you are correct, but I have to confess that I don't understand why you think that will help. Can you ELI5 for this old engineer? |
Honestly I'm not fully sure about it. Having security keys to enable encrypted communication is one requirement. In the secondary controller scenario, Z-Wave JS now expects that it has learned the keys while joining another network, when it previously used the configured keys. The next release will fallback to the configured keys in that case. Z-Wave JS not performing interviews automatically when it is a secondary controller may have to do with your situation as well -> zwave-js/node-zwave-js#7227 |
Can I help you with log files or diagnostic data? |
The problem
Hello,
Following an update of zwave js, nothing works anymore because it notifies me that it cannot load the configuration.
This is the first time this has happened to me...! And I'm worried because quite a few zwave devices, am I the only one that this update has broken?
Thank you in advance for your feedback and help.
Morgan
What version of Home Assistant Core has the issue?
core-2024.9.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Zwave JS
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: