Hassio Z-Wave JS Addon to Docker

I’m ready to move my Raspberry Pi Hassio to my Unraid server. It’s a project I’ve wanted to tackle for a while now. My biggest concern is moving Z-Wave. I don’t feel like touching all of my nodes :slight_smile:

Two questions. Which container am I going to use; zwave-js-ui or zwavejs2mqtt? Can I move the Z-Wave JS addon config to the docker container from an HA backup?

Z-Wave JS UI, because zwavejs2mqtt doesn’t exist anymore (it was renamed to Z-Wave JS UI).

You can download a backup of the add-on from HA and manually copy the cache (*.jsonl) files to the ZUI store volume, which will avoid re-interviewing all of the nodes. You’ll need to also manually copy security keys over into the ZUI settings.

2 Likes

Perfect! I initially was going to use Z-Wave JS UI until I stopped because of conflicting information. I copied the security keys as well.

Do I move over the ‘db’ folder as well?

Thanks for the response.

No, you don’t need the db folder. It will be re-created.

1 Like

@freshcoast Update: The migration worked without issues. Thanks again for the help.

1 Like

Do you also get the nodes names when copying these files?

You still keep the names in Home Assistant, but not in Z-Wave JS UI after the migration. I just used Home Assistant as a reference to know what node is what name and took the time to name all the nodes in Z-Wave JS UI.

Then back everything up so you don’t have to do it again :slight_smile:

edit - I should say everything works fine and stays the same in HA after copying everything over to Z-Wave JS UI. It’s like nothing changed. It’s just the nodes don’t have names or labels in Z-Wave JS UI. It’s up to you if you want to give them a name to identify them easier. Naming them doesn’t affect HA.

Thanks a lot for replying! Sorry for this late reply, but I had to start all over. I have a really hard time with this copying process. I’ve copied the whole zwave/data/cache folder to my z-wave-js folder so it looks like this:

but still I don’t get the names of my nodes:

Any thoughts?

The names are stored in HA. Did you delete the integration?

No I did not delete it

I still have access to it as well

Then what names are you referring to?

It’s like this one the friendly name, I guess:

If you rename the devices/entities in HA, then those names will persist when you switch add-ons or from an add-on to Docker. I don’t know of any other reason the names would change unless the integration was uninstalled and re-installed.

So there isn’t anything I forgot to copy?

No, there’s nothing else to copy. The names are stored in HA, not the add-on.

Thanks anyway! Just have to do some manual labor then😁

Yes indeed. I just did go thrue the same story. :grin: