My NUC10i3 arrived yesterday. After fiddling with the HAOS install on Proxmox for a bit, and even restoring from my backup, I ended up re-installing HAOS on bare metal to silence my brain’s questions about performance and hardware allocation. This NUC is exclusively a hassbox, nothing else.
The built-in Backup feature made restoring everything a cinch. I’d actually forgotten that the containerized version of HA included this Backup feature; my offline backup solution was easy in the container world but challenging otherwise.
Z-Wave took a bit of troubleshooting though, so I’m adding my experience here in case anyone else finds themselves in the same boat. I found myself in an irrecoverable loop, and this guide was my saving grace. I have a few things to add.
~~ EDIT: Ignore my instructions and follow @freshcoast’s guide in post #7 instead. ~~
Before migrating, open up your existing Z-Wave JS UI page and click the green Export button under Settings. Save this on your local machine.
This next backup might be redundant, but I figured better safe than sorry. Go back to your list of nodes and click the hamburger button > Advanced Actions. Click Export under the Backup section. Save this locally too, just in case.
When migrating to HAOS from HA container, you’ll see two relevant add-ons in the store: Z-Wave JS, and Z-Wave JS UI. I figured one was the backend, one was the frontend. Nope! You cannot run both at the same time, so pick one. Coming from the container world, I like sticking with Z-Wave JS UI.
If, like me, you like making things harder for yourself, you probably set the WS port to a non-default value. Write that down and pinch yourself as punishment. Or better yet, update the config back to using port 3000 after restoring your settings.
Once you’ve restored your HA from backup, install the Z-Wave JS UI add-on and adjust its config (including the default port if necessary). Start the add-on, import those two backup json files we made earlier, then save. You may need to restart the add-on and/or HA.
If you end up needing to re-add the Z-Wave integration under Integrations > Z-Wave like I did, you’ll need to modify the default ws://localhost:3000
string in the dialog box by replacing localhost
with the hostname displayed on the addon page. For example: ws://abcd1234-zwavejs2mqtt:3000
.
That did it for me. Hopefully others find this helpful. Here’s to smooth sailing on NUC bare metal!