-
My problem is that an upgrade wiped out my configuration. The question is: what's the least amount of work needed to correct my situation? I update the containers rarely, so it's possible that I'm hitting #5024. I'm not on Windows, and I'm not seeing a similar error. I have power cycled the server, restarted the zwavejs process, and unplugged the controller. I have performed a soft reset. I'm running zwavejs in a container (via podman) on Linux. I have been successfully running it for over a year, mainly controlling devices through Home Assistant. I have added devices with S2 security, and some without, and have a network of 30 devices. For the container, I'm exposing the device by-id and linking in the zwave config directory with I recently upgraded the container, and most of the configuration disappeared. All of the devices were there, but mqtt got turned on and the WS server got turned off; I'm slowly discovering what all got lost, but it appears the security keys also went away. My issues are that:
There's a lot of borked stuff here, obviously. The various json files in the While I don't know what happened, what it looks like is a failed data migration. Some data came across... or maybe the only reason there's any data at all is because zwavejs pulled it from the controller device. Maybe it wiped everything. In any case, what I really don't want to do is exclude/include all 30 devices in the house again. Some of them are in-wall, so I'd have to pull them out to get at the QR code to re-include with security. Is this going to be unavoidable, or is there some way to recover this? Postfix: Re all of the data getting wiped: the config dir was, of course, not included in the nightly backups :-/. I'm assuming this was just an unfortunate sequence of events and that upgrading doesn't often wipe out the configuration; If I could reproduce it, I'd file a bug report. As it is, I have no evidence that this wasn't user error. Controller: Silicon Labs HubZ ZWave + ZigBee USB |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Please enable driver logs, loglevel |
Beta Was this translation helpful? Give feedback.
-
Most everything was working; somehow, when zwavejsmqtt came up, it saw all of the devices, but the ones that had been set up with security couldn't be interviewed properly or controlled. As I mentioned, all name and location information was gone. Not knowing the how everything works, I assumed:
Some devices initially had "unknown" and the states were wonky -- half the motion detectors insisted they saw motion where there was none -- but after a day (or so) the non-security devices settled down and the interview information updated. No devices were "missing," and zwavejs refused to let me remove the security-paired devices as missing because they could still be pinged. In the end, I only had to exclude and re-pair a couple of devices, so it wasn't horrible; one was a light switch and probably did not need security, but I re-added it anyway because somewhere along the line I've developed the impression that devices paired with security had better metadata and work more reliably. The other was a door lock and I wanted security on that -- I know from experience that this lock doesn't work as well without S2, but I'm assuming that's just an issue with the lock code, which is known to be not particularly good quality. In both cases, the most work was in Home Assistant, as the devices showed up as new, and I had to adjust several scripts and automations. Anyway, it's all back up and stable now, and I've included the the Advice for anyone finding this conversationIf you don't have a back-up of your As I still can't find anyone else complaining about an upgrade corrupting their configuration, I'm assuming that this was a PEBKAC issue. @AlCalzone thanks for talking this through with me, and for all your work on ZWaveJS. |
Beta Was this translation helpful? Give feedback.
Most everything was working; somehow, when zwavejsmqtt came up, it saw all of the devices, but the ones that had been set up with security couldn't be interviewed properly or controlled. As I mentioned, all name and location information was gone. Not knowing the how everything works, I assumed:
Some devices initially had "unknown" and the states were wonky -- half the motion detectors insisted they saw motion where there was none -- but after a day (or so) the non-security devices settled down and the interview information updated…