Here’s what happened:
I made a small change to one of the cards in the Overview and tried to save it. HA sat there without finishing the save operation. I let it try for about 15 mins. I then restarted HA. It came back up but still seemed to be trying to save the change (which I thought was very odd). I thought that maybe something has been corrupted so I decided to restore from a backup. After doing this, zwave_js isn’t starting up.
I see this message on the integrations page:
“Failed setup, will retry”
This is in the log:
Logger: homeassistant.components.zwave_js
Source: components/hassio/addon_manager.py:380
Integration: Z-Wave (documentation, issues)
First occurred: 8:27:23 AM (6 occurrences)
Last logged: 8:30:50 AM
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’: ‘REDACTED’, ‘s2_access_control_key’: ‘REDACTED’, ‘s2_authenticated_key’: ‘REDACTED’, ‘s2_unauthenticated_key’: ‘REDACTED’}
I’m running the standalone HA on an rpi4.
I’ve seen references to the above log message in other posts. But, I was unable to fix the problem using any of the suggestions. Perhaps I missed something obvious.
Please help
As a followup, I’m wondering if removing and reinstalling the zwave_js integration might help. I’m afraid to try it though because I don’t know what the consequences would be.
- Would I lose the configuration of the entire zwave network (e.g. knowledge of all of the devices and entities)?
- Would I need to re-add all the devices? If so, would I first need to factory reset them or would this not be necessary since they would be connecting to the same hub?
I would hate to try this and create an even worse situation.
Edited to add…
Yet another idea/question :)…
I have another rpi4. I tried running my installation of HA on it but the issue still occurred. I pretty much expected this. I would like to test that the z-stick is still working. I was thinking of trying this:
-Install HA fresh onto a new SD card
-Boot it on the new rpi, using my z-stick
-Add the zwave integration
-Try to add one zwave device
If this works, then it should confirm that I have some sort of software/config issue with my system (which is what I suspect).
Is there any stored config in the z-stick that this experiment would modify. Obviously, if the experiment shows the z-stick is fine, I will want to put it back in my original system.
From what I read, it looks like maybe the info about the devices that are on the zwave network are stored in the z-stick. If this is the case, I might not want to be messing with that.
Well, well, well…
It’s fixed :).
I happened to notice just now that there were new versions of Zwave and Zwave UI. So, I figured I couldn’t make things worse by installing them. Lo and behold, once I did, everything started working again.
Honestly, I’m not sure if the old version was incompatible with something or just the act of updating the software cleaned up something that was corrupted.
I was tempted to remove this entire post but thought I’d leave it in case it helps someone else.