Reinstalling Z-Wave-JS-UI: Serial port failed to open

I’ve partially rebuilt my HA 2025.1 system and everything is good now…except ZWave devices.

I deleted the ZWave integration; deleted both ZWave-JS add-ons and rebooted…NO SIGN of anything ZWave.

I have both a HomeSeer ZNET device and a Nortek Hub. The Nortek is physically connected on my HA Yellow, the ZNET by IP (and will have a device that it can see in a remote location).

Followed the instructions here:

Saved and re-used my old keys; added the IP of my ZNET device tcp://192.168.55.22:2001 and the expected port. While I got the “succesful” message, I also got the following:

2025-02-05T01:21:13.694Z DRIVER   Serial port errored: The socket closed unexpectedly! (ZW0100)
2025-02-04 17:21:13.696 INFO Z-WAVE: Controller status: Driver: Serial port errored: The socket closed unexpectedly! (ZW0100)
2025-02-04 17:21:13.697 INFO Z-WAVE: Restarting client in 15 seconds, retry 93
2025-02-04 17:21:15.114 INFO Z-WAVE: Controller status: Driver: Failed to initialize the driver: ZWaveError: The driver is not ready or has been destroyed (ZW0103)
    at Driver.ensureReady (/opt/node_modules/zwave-js/src/lib/driver/Driver.ts:3357:10)
    at Driver.sendMessage (/opt/node_modules/zwave-js/src/lib/driver/Driver.ts:5989:8)
    at ZWaveController2.queryCapabilities (/opt/node_modules/zwave-js/src/lib/controller/Controller.ts:1144:37)
    at Driver.initializeControllerAndNodes (/opt/node_modules/zwave-js/src/lib/driver/Driver.ts:1665:46)
    at Immediate.<anonymous> (/opt/node_modules/zwave-js/src/lib/driver/Driver.ts:1466:16) (ZW0100)
2025-02-04 17:21:15.115 INFO Z-WAVE: Restarting client in 15 seconds, retry 94
2025-02-04 17:21:15.991 INFO Z-WAVE-SERVER: Server closed
2025-02-04 17:21:15.993 INFO Z-WAVE: Client closed
2025-02-04 17:21:16.004 INFO Z-WAVE: Connecting to tcp://192.168.55.22:2001
2025-02-04 17:21:16.006 INFO Z-WAVE: Setting user callbacks

I have no idea what to do now…and I’ve yet to be able to add the Nortek (which I assume I will do later, when I enable the Integration?) and its 3 devices.

It seems like the Z-Net is rejecting the connection. Are you sure no other software is connecting to it before you started to connect HA? Assuming you have ssh access to the Z-Net and the appropriate Linux skills you can verify that.

You don’t say what version of Home Assistant you are running but you’ll find you can’t run 2 instances of Z-wave-JS UI Add-on, so with your Nortek stick you would either have to load the Z-wave-JS Add-on or add an external instance of Z-wave-JS UI via docker or windows or something “not HA”.

Personally, I’d add Z-wave-JS UI directly to the Z-Net and use the native instance you already installed for the Nortek.

Sounds like you’ve jumped in without a lot of pre-planning so you might step back and regroup. Hard to know since you said “rebuilt” as if it was running before, but if that was the case I’m surprised you didn’t know the path you were heading down. Maybe a little more “backstory” is appropriate.

“It seems like the Z-Net is rejecting the connection. Are you sure no other software is connecting to it before you started to connect HA?” As soon as I read that I smacked myself!! I used to have an RPi talking to the ZNET from my “old setup” (which failed on updates). As soon as I unplugged it…the server “was ready” and things connected.

I added the ZNET and the Light Sensor attached to it…but there is a sensor (I think the Light Sensor again?) that I cannot remove on the ZUI panel. I could rename them on ZUI…but I cannot rename them in “Devices”. They show as Node 1, 3 and 4 with no info. Node 3 is the “dead” device.

I then added my Nortek Hub and the three devices connected to it. These I could rename in the Integration area and devices and they returned to my dashboards.

Thanks for the hint on the ZNET…makes things simpler and removes an RPi. But I’d like to get those devices named and removed…is that possible?

Got the failed node gone…I’d forgotten about this part:

Still working on the naming part though…looks fine in ZUI…not anywhere else (and maybe that’s the way it is?).

Edit: figured it out in the Devices section.

AND…I now have a working remote sensor to put in my pump shed to alert me when the “well has no water” light goes on!!

Thanks for the assistance - it’s been a journey.