Is there a way to force removal of node in zwavejs2mqtt?

I have a node that has been acting up and I’m trying to remove it but I can’t remove it using the normal exclusion procedure for some reason.

I’ve lastly tried to factory reset it and that seemed to work for the device itself but now it isn’t showing up as dead ion zwavejs2mqtt. So I can’t just select to remove the dead node because it says it’s always asleep.

I’ve pinged it from the zwavejs2mqtt control panel multiple times and did the check for a failed node in the node dialogue box.

Is there a way to force it to show dead to be able to remove it or can I accomplish it in some other way?

the device is ZSE41 but it’s not really pertinent to this question since I’m just trying to get the general “how can this be done for any node?” answer.

I don’t even mind editing a json file somewhere to set the “is failed” flag.

But I’ve looked and can’t find it.

No one?

“Remove Failed Node”

In HA you can go to the device, not the entity but actual device the entity belongs to, and select the hamburger menu next to “configure”

In zwavejsmqtt go to device, select “advanced” and then “remove” under “failed nodes”

The problem is tho that the device doesn’t show as failed. So there is no failed node to remove.

I factory reset the device and removed the battery but after two days it still says it’s asleep.

If I could somehow force the device to show up as failed then what you suggest would work.

I know in the last zwave integration you could edit the zwave config file in HA and make the device show as failed but I can’t find the equivalent file location for this in zwavejs2mqtt.

You can use “Remove failed node”.

You won’t have any success trying to make it go dead, it’s a battery device, which will never be dead. None of that matters anyways.

1 Like

well, crap!

that was way easier than it seemed to be.

I had no idea battery devices would never show as dead.

The description seemed to be saying that the node needed to be failed in order to remove it.

Or maybe I just read that into it based on the old built-in zwave integration requirement. I seem to remember in that one the failed flag needed set in order to remove it.

Maybe it was just a case of preconceptions based on previous experience being wrong. Maybe the description of the function could be improved to minimize the vagueness.

Thanks! :slightly_smiling_face:

did this actually work? I have a lot of failed nodes marked as sleeping…nothing i do will remove them.

Yes, it previously worked. There is a regression (bug) in newer versions.

Is there any workaround until this regression is addressed?

Move the USB stick to a Windows host and use the PC Controller software.

Install an older version of ZUI (I don’t know which, maybe one using driver pre-v11).

Write a ZUI driver function that implements the driver code manually (send the RemoveFailedNodeRequest message manually). I couldn’t give you an example of that.

Or just wait until the applications update to the new version. Failed battery devices don’t impact the network, AFAIK.

thanks for confirming. Of course i’m on a mac so i will hope for a fix to ZUI.