I’m currently running a ZwaveJS on a RPi in a docker container. As I want to move it to another Pi wich has also HA running on it.
Is it just as simple as installing ZwaveJS on the new server, export the settings from the old server, move the Aeotec S2 stick to the new server, import the configuration to the new ZwaveJS installation? Or am I missing something?
And for the autodiscovery, there are no new devices created then?
Kind of.
the existing docker container should have a folder mapped to /usr/src/app/store - that folder contains all the zwave config - let’s call this the “config folder”
So the process is:
a) stop the docker container
b) copy the config folder to new computer
c) create a new container use same version of zwavejsui that you are currently using.
d) move the usb stick to new computer
e) start the container
You may need to reconfigure the USB path in zwavejsui settings if it’s not the same as the old computer
But when I install the ZwaveJS in HA, how do I access the config folder?
I use HAOS (sorry I’m new to HA so forgive me if I ask stupid questions).
Or can I just use the UI of ZwaveJS to import te settings file?
HA just points to the zwavejs instance (IP:port), while docker uses the config folder. So to add a final step to Pete’s procedure, in HA go to devices and services, Z-Wave page, click configure, and click re-configure server, then change the IP address to the new docker container.