Are we supposed to use both Z-Wave JS and Z-Wave JS UI?

I want to get MQTT working with z-wave, so I found z-wave JS UI. I installed it and I can control stuff from the UI Panel. I saw that Z-wave JS wasn’t working (red exclamation), so I thought maybe they were conflicting, and I disabled it. Strangely, it seems to automatically re-enable itself. Anyway, now I don’t have any z-wave devices in HA. What’s the right way to do this?

Thanks!

Is there a specific reason you want to use MQTT with zwave-js instead of the (recommended) websockets?

I don’t run the add-on version of zwave-js-ui but I do remember that at one time the add-on would re-enable/re-install itself via the supervisor if the user removed it. That was dependent on how the user installed zwave-js. I believe there was an option when installing the zwave-js integration to use the supervised add-on orr not.

1 Like

No reason at all. I didn’t know the websockets was the recommended way to do it. I saw the github page for it and installing the websockets was not as straightforward as installing an addon. I am running HA in a VM (HAOS 12.2), so I don’t think I can even install a docker package on it???

The answer is covered in the integration docs, specifically 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:

you cannot run them both at the same time. Only one of them can be active at the same time.

The add-on docs provide step-by-step instructions on how to both install the add-on and install the integration. Did you take a look? Every add-on has a Docs tab. https://github.com/hassio-addons/addon-zwave-js-ui/blob/76d0831bac3ec8589dd850d17f53f8419d3d0abc/zwave-js-ui/DOCS.md

1 Like

Just to add to this question, I looked at the docs and it is very confusing with similar naming. I have both Z-Wave JS UI installed with the green dot showing it is running and Z-Wave JS installed with the red dot showing it is stopped.

Can I safely uninstall Z-Wave JS and not lose any Z-Wave devices or functionality? Thanks

You can run zwave js and zwave js ui at the same time follow this screenshot

You can’t use Z-Wave JS and Z-Wave JS UI add-ons at the same time with the same controller.

I am running both at the same time

Are you an AI? Because at the moment, you are “confidently wrong.”

What you are probably running is the Z-Wave JS Integration (See Settings → Devices & Services → Integrations) and the Z-Wave JS UI Add-On (See Settings → Add-ons).

Yes, the naming is horrible and guaranteed to confuse everyone at some point, so not trying to be harsh here. But while the Intergration is required for either Add-on, only one of the Add-on’s can be running at a time. If you try to run both Add-on’s at the same time, they will conflict and not work correctly.

1 Like

Not possible as both require exclusive access to the controller. Technically both may be running, but only one is functional, and only one is used in connection with HA. Furthermore, there would be zero point doing this. Please check the docs, maybe you are mixing up integration and add-on?

ok, a little confused…

I have z-wave Js running, everything is ok

i installed the z-wave JS UI, but it’s clear it’s not running

would someone please give the steps to switch over?

the UI wants more keys, and I’m really afraid to wipe out all my network of over 50 devices by entering keys… also the example above shows a network key to enter, and the UI is not asking for it…

all help is welcome… wished I went to the UI first time around.

And see this comment if you want to copy your node names and locations into ZUI: