Good day all,
I’m considering migrating my Home Assistant installation from a RPI5 to a Intel NUC that I’ve move a bunch of my other home apps to. I know the main process of installing HA on a NUC is straight forward with Docker, however, from my understanding Add-Ons cannot be migrated. Add-ons, such as Zwave-JS.
My understanding is I would need to install a docker container of Zwave-JS on my NUC. Is there a way to do this and keep all my existing Zwave devices, without having to go through the whole discovery process again? Having to do this would be a major undertaking and I don’t want to have to rewrite all my automations and dashboards.
I’m running zwave-js in a docker container and my docker-compose.yml file is a s follows:
services:
zwavejs2mqtt:
container_name: zwavejs2mqtt
image: zwavejs/zwavejs2mqtt:latest
restart: unless-stopped
privileged: true
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=mysupersecretkey
- TZ=Europe/Berlin # uncomment and edit to match you timezone if you want logs time and dates to match your timezone instead of UTC.
networks:
- zwave
devices:
- /dev/ttyACM0:/dev/ttyACM0
volumes:
- /media/data/docker-volumes/zwave2mqtt:/usr/src/app/store
ports:
- 8091:8091 # port for web interface
- 3000:3000 # port for zwave-js websocket server
networks:
zwave: null
I don’t know how your HA add-on is storing the device information, but on my volume mapping …zwave2mqtt i have several directories and files that i would try to migrate.
The export and import of the existing Z-Wave JS driver cache would be the same, as well as the re-configuration of the integration (pointing to your Docker installation URL, instead of the add-on). Those are the important steps for preserving your existing configuration.
If you are currently using the community Z-Wave JS UI add-on, you can simply use the Backup and Restore functionality on the Store page.