Zwave entities lost names, default back to originals?

Things were not responding so I rebooted. Zwave didn’t come back up so I shutdown, unplugged and started up it back up. I noticed some of my lights were no showing up and after looking through the logs I noticed their names were the device brands and now what I named them. It looks like most (9 or so) did this. What could cause this, is there any way to change it back or will I have to remember what they were (for automations) and fix it?

I think this can happen when the zwcfg file gets deleted (or corrupted?). I think it’s possible that with bad timing if you force stop the openzwave process right as it is about to write a new configuration, the configuration could get wiped out.

Then it would be regenerated from scratch, and end up with default or no names. Unless you have a copy of a known good zwcfg file that you could restore, you’ll probably have to look in your configuration files for the names you used, and rename the nodes to those names again.

1 Like

Yeah, so for future searches. My disk ran out of space which probably cause a corruption. When I restarted HA, it recreated the zwave conf (or part of it?) and thus my names where gone. I was able to rollback (Thank you git) to a month old revision which is only missing two devices which should be easy to add back.

Thanks!

1 Like

sounds like the same sort of crazy behaviour I had when my SD card was full. Deleted the DB file and all is sweet. Best to create a rule for the DB to only keep a couple of weeks worth of data so it doesn’t eat up all your space.

put this in your config.yaml

recorder:
  purge_interval: 2
  purge_keep_days: 14