Z-wave js failed to connect

Suddenly a couple weeks ago none of my z-wave devices are working

The z-wave is integration is throwing this error

Retrying setup: Failed to connect: Cannot connect to host core-zwave-js:3000 ssl:default [Connect call failed ('172.xx.xx.x', 3000)]

Short of rebooting everything, I’m not sure where to begin troubleshooting.

If I remove and reinstall the integration, will I lose my devices and automations?

Check the add-on and supervisor logs to see if there is anything to show why the add-on is not starting.

Thanks @freshcoast

Here is my supervisor Log
and my Z-Wave JS log

I got this on one of my automatons

The automation "Chirp" (automation.chirp) has an action that calls an unknown service: zwave_js.set_config_parameter.

Pretty obvious from the Z-Wave JS Log:

2022-11-21T02:27:07.889Z DRIVER   version 10.3.0
2022-11-21T02:27:07.890Z DRIVER   
2022-11-21T02:27:16.953Z DRIVER   Failed to open the serial port: Error Resource temporarily unavailable Cannot 
                                  lock port
Unable to start driver ZWaveError: Failed to open the serial port: Error Resource temporarily unavailable Cannot lock port (ZW0100)
    at Driver.openSerialport (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1070:9)
    at Immediate.<anonymous> (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:947:5) {
  code: 100,
  context: undefined,
  transactionSource: undefined
}
[02:27:17] WARNING: Halt add-on

Usually this means both Z-Wave JS official add-on and Z-Wave JS UI add-on are running at the same time. Is that happening by chance? Only one can be used.

@freshcoast
That was it. I disabled Z-Wave JS UI, restarted HA and everything is working now.

I thought Z-Wave JS UI was just an alternative interface and could be used with the official Z-Wave JS addon.

In any event, thank you so much for the help

If you are interesting in using Z-Wave JS UI instead, there are instructions available to do so. https://www.home-assistant.io/integrations/zwave_js/#can-i-switch-between-the-official-z-wave-js-add-on-and-the-z-wave-js-ui-add-on

Hi,
I have the same issue the Z-wave JS UI will not connect

image

What can I do to solve it?

It has been working before, but not now after system reboot

Can see my Zwave controller in the HW-list
image

Hi,
Just yesterday, I started using the Z-Wave JS UI for the first time. I was exclusively using the official HA Z-Wave integration so far. Here is what I found and maybe it will help you. I am using a ZooZ Z-Wave USB stick as the controller. After installing Z-Wave JS UI, it will not recognize the USB stick. I had entered the following in the serial port:

/dev/serial/by-id/usb-0658_0200-if00

Then I checked in the terminal and found that this device actually mapped to /dev/ttyACM0. I select ACM0 from the Serial Port drop down instead of manually entering anything and it worked.

I am not an expert in HA/Z-Wave, so just stating my experience…

I have now got it to work. Apparently my Zwave controller where pointing at wrong port.
Thank you

Just recording my issue and fix in case it helps someone else. Same issues as above though.

I updated a bunch of stuff recently and the Z-Wave integration stopped working. Same error as OP. I swear I was using both the Z-Wave JS and Z-Wave JS UI add-ons before I updated. But that does appear to have been the issue. I made sure Z-Wave JS UI was disabled at boot, and the opposite for Z-Wave JS, restarted HA and it all works again.