Help converting from addon from z-wave JS to Z-Wave JS UI

I’m using HAOS, not docker and all the help files related to converting to Z-Wave JS UI seem to deal with docker installations.

I’ve followed the 6 step guide converting from the standard z-wave JS to Z-Wave JS UI which most say is far superior. The addon is running. I can see the devices in the sidebar in the z-wave JS control panel.

But in the last step, restarting the z-wave integration, it fails when I try to put in the URL.

When you re-configure the integration, it asks “Use the Z-Wave JS Supervisor add-on”. The proper answer is “No” because you are using the JS UI. And then it presents you with the default ws://a0d7b954-zwavejs2mqtt:3000. I’ve tried this and other configurations and they all fail, saying “Fail to connect”. I have port 3000/tcp exposed in the addon. In the addon log, I’m getting: Error: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt:3000

I have uninstalled the standard addon so they are not conflicting.

I would really appreciate the help, buy coffee or some beer if you can help me get this working.

1 Like

@harryfine Did you ever get this straitened out? I am having the same issue I think. Copy the errors from my log below:

2024-03-03 00:24:25.220 ERROR Z-WAVE-SERVER: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt:3000
Error: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt:3000
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
2024-03-03 00:24:25.222 ERROR Z-WAVE-SERVER: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt:3000
Error: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt:3000
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
2024-03-03 00:24:25.224 ERROR Z-WAVE: Failed to start zwave-js server: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt:3000

I have the same problem with the same error:

2024-03-07 16:25:34.997 INFO Z-WAVE: Controller status: Scan completed
2024-03-07 16:25:34.998 INFO Z-WAVE: Network scan complete. Found: 12 nodes
2024-03-07T22:25:34.999Z CNTRLR « [Node 046] ping successful
2024-03-07 16:25:37.588 ERROR Z-WAVE-SERVER: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt
Error: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
2024-03-07 16:25:37.590 ERROR Z-WAVE-SERVER: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt
Error: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
2024-03-07 16:25:37.592 ERROR Z-WAVE: Failed to start zwave-js server: getaddrinfo ENOTFOUND ws://a0d7b954-zwavejs2mqtt

I’ve used Z-Wave JS UI for a while now through MQTT, but decided to add the Z-Wave integration, and this issue doesn’t allow me to do that. Changing ports, changing ws server, adding a TCP port doesn’t help.

I managed to make it work: just remove the “Server Host” option at all, keep it empty. After that I had it working just fine.