Can't rename ZWave Node [SOLVED]

Ok, it worked!! Problem resolved temporarily, manually.

For the sake of others who may find themselves here, posting the full steps to fix. I had a bit of hunting to do to put this all together.

  • Docs posted here, not extremely helpful
  • Weren’t any examples or info on WHAT to modify or WHERE
  • Started looking for various things and stumbled upon this - which referenced the initial change to the jsonDB usage
  • Come to find out this isn’t a big scary DB that needs a special app or connector to interface, it’s basically a flat file DB
  • So I found the specified location /var/lib/openhab2/jsondb/ - which may vary by platform I believe
  • cd /var/lib/openhab2/jsondb/ followed by an ls -la to see our contents
  • finding the file org.eclipse.smarthome.core.thing.Thing.json
  • printed out contents looking for the culprit cat org.eclipse.smarthome.core.thing.Thing.json | grep Z-Wave and found our offending line as expected
  • Made a quick backup sudo cp org.eclipse.smarthome.core.thing.Thing.json ~/
  • stopped OH sudo systemctl stop openhab2.service
  • a quick sudo nano org.eclipse.smarthome.core.thing.Thing.json to edit the file
  • CTRL+W to find “Z-Wave”
  • Made the edit, and a quick CTRL+X to exit and accept saving changes to the file
  • restart OH sudo systemctl start openhab2.service

After the restart, navigated to the HABmin interface, and was pleasantly delighted to see … Garage Door listed in my Things list instead of annoying Z-Wave Node 31.

Thanks @Dim and @chris. Glad I was able to get this pesky thing fixed. And glad I didn’t have to do it for the larger group of devices from before. Would have been a lot more finding and replacing. Now I just need to get back on the front door lock functioning again and I’ll be in solid shape. Thanks for the great work as always on the ZWave binding Chris!

3 Likes