Z-Wave: how to add/remove Z-Wave devices from openHAB?

I would like to remove devices from my Z-Wave network.

I tried to unplug my ZStick gen5 dongle but it looks like its internal battery is now died, I can’t put it in inclusion or exclusion mode with the action button, the led remains always off.

Is there no way to add or remove devices from within openHAB ? I searched in Main UI (OH 5.1) and found no action on controller/devices things.

Coming back to 5.0.3, some actions are available on the controller to put it in exclusion mode and on devices to remove them from the network. Unfortunately, it seems to have no effect…

Since the actions are missing in 5.1 I tried the API explorer to initiate a device heal, but it was unsuccessful, but you could try.

Of course there is simplicity studio or the brute factory reset.

A factory reset will delete all my network ?

As I can no more add devices using the dongle unpluygged, that will not be a good idea.

What is the normal process ?

First put the controller in exclusion mode using action “Exclude devices” and then go on a device and use the action “Remove device from controller” ?

I am not sure entering in exclusion mode is working because the leds of the stick are unchanged.

What is the difference between actions “Soft Reset Controller” and “Hard Reset Controller” ?

Maybe my only option to update my Z-Wave network is to buy a new stick and use the backup tool to transfer from the old to the new stick.

I did not imagine to be in such situation after few years just because the stick has a battery dying after a certain time !

I meant factory reset on the device, not the stick.

Normal process is correct. The default is 30 seconds for the controller to be in exclusion mode, then press the button on the device.

Soft reset is the same as removing the stick from the device/server.

Hard reset is the factory reset of the controller (Don’t do that).

I’d get the simplicity studio

I can also advice to use ZUI. Many features and easy to use.

I thought about suggesting that too.

Without a full transition, just open a container do maintenance, then decide

@apella12 : what means that error:

15:28:43.522 [ERROR] [lmessage.RemoveFailedNodeMessageClass] - NODE 15: Remove failed node not placed on stack due to error 0x18.

Not sure unless it adds these together.

    private final int FAILED_NODE_NOT_FOUND = 0x08;

    private final int FAILED_NODE_REMOVE_PROCESS_BUSY = 0x10;

Did you try remove node from the nodeUI? use the controller as noted above.

To remove failed, you first have to mark as failed and with battery devices that can’t be done in OH, just with Simplicity. Is it a battery device?

Z-Wave Zombies.pdf (571.9 KB)

I know you’re main concern is exclusion right now which is apparently temporarily broken. But no one has answered the inclusion question. My understanding is if you go to the inbox → + → zwave that puts the controller into inclusion mode. Then you can press the button on the device or what ever to initiate the inclusion.

I would hope this still works as I think what’s broken for exclusion is the UI, not the actual feature in the binding.

FWIW, mine did that and I found the same battery, 2 for $7 or so and replaced it. That was years ago and it’s still working fine.

I had no problem adding a ZW device on OH5.1 with the OH ZW binding.

What is nodeUI ?

As I wanted to do the electricity stuff today, I finally unplug my Z-Wave device without removingit from the z-Wave network. I assume the node will be detected as not reachable and will be automatically “banned” soon from the network.

Interesting. Would you be able to provide a link to purchase such battery ?

You were able to open the dongle ? Looks no so obvious…(I don’t want to break it)

Sorry. The “remove failed” is on the UI page of the node and doesn’t work with battery devices. The remove device is (was) an ACTION on the controller UI page

My node was without battery.

I will see if I can find such item in UI … using 5.0.3.

When I restart OH 5.0.3, the thing is still ONLINE…

And I see these actions:

Should I use the “Set devices as FAILed” ?

I see no action to remove failed devices.

What are the actions on the controller UI? Those are preferred

Edit: you could try to first set device as failed, then once the ui shows failed, then try the remove device