[ZWave] Deleting Dead Nodes

Hi,

I recently switch to the Gen5 ZWave Switch.
Unfortunately the inclusion did not work all the time so now I have some dead nodes showing up in my configuration. These nodes are dead and always be dead because the device is successfully included.
Is there a possibility to delete these nodes? How do I get rid of them?

Hi,
you can remove dead nodes using HABmin. It worked for me some time ago, but I had to also restart OH service after that to get rid of those nodes from HABmin list.

I can’t seem to find a button. Is there something I am missing?
I am not talking about reinitializing a node, but I want to delete it from the controller!

I could not find this button in Habmin either. I was able to successfully delete a dead node from the controller (Aeon stick gen5) memory using openzwave.

[quote=“Spaceman_Spiff, post:3, topic:4659, full:true”]
I can’t seem to find a button. Is there something I am missing?[/quote]

Highlight the dead node with the mouse button, then the “Delete dead node” button can be seen on top of the page (next to the other buttons)

Thanks, I found it but it doesn’t seem to work?
When I klick on it nothing happens.
@chris: Does the button work with the Gen5 ZWaveStick?

It should work fine. You say the node is dead, but this only works if the controller thinks the node is dead - if the controller doesn’t think the node is dead then it wont allow you to delete it and I’ve not found a way around this (although I think it must be possible).

If you want to provide a log I’ll take a look.

Chris

Hi,

I see the button and I klick an it but there seems to be some kind of error:

2015-12-06 21:20:42.403 [ERROR] [s.RemoveFailedNodeMessageClass:109 ]- NODE 19: Remove failed node failed with error 0xfe.

2015-12-06 20:24:23.845 [ERROR] [b.z.i.p.s.SendDataMessageClass:141 ]- NODE 19: Node is DEAD. Dropping message.
2015-12-06 20:24:23.847 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:24:23.847 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:24:23.848 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:24:23.848 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:24:23.849 [DEBUG] [WaveController$ZWaveSendThread:1327]- NODE 19: Response processed after 4593ms/4698ms.
2015-12-06 20:31:35.196 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1099]- NODE 19: Stage PING. Initialisation retry timer triggered. Increased to 1800000
2015-12-06 20:31:35.197 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:269 ]- NODE 19: Node advancer - PING: queue length(0), free to send(false)
2015-12-06 20:31:35.198 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1131]- NODE 19: Initialisation retry timer started 1800000
2015-12-06 20:31:35.198 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:335 ]- NODE 19: Node advancer: loop - PING try 5: stageAdvanced(false)
2015-12-06 20:31:35.199 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:419 ]- NODE 19: Node advancer: PING - send NoOperation
2015-12-06 20:31:35.199 [DEBUG] [c.ZWaveNoOperationCommandClass:72  ]- NODE 19: Creating new message for command No Operation
2015-12-06 20:31:35.200 [DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 19: Creating empty message of class = SendData (0x13), type = Request (0x00)
2015-12-06 20:31:35.204 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:242 ]- NODE 19: Node advancer - queued packet. Queue length is 1
2015-12-06 20:31:35.205 [DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 19: Sending REQUEST Message = 01 08 00 13 13 01 00 25 86 55 
2015-12-06 20:31:35.221 [DEBUG] [b.z.i.p.s.SendDataMessageClass:38  ]- NODE 19: Sent Data successfully placed on stack.
2015-12-06 20:31:39.732 [DEBUG] [b.z.i.p.s.SendDataMessageClass:74  ]- NODE 19: SendData Request. CallBack ID = 134, Status = Transmission complete, no ACK received(1)
2015-12-06 20:31:39.732 [ERROR] [b.z.i.p.s.SendDataMessageClass:141 ]- NODE 19: Node is DEAD. Dropping message.
2015-12-06 20:31:39.734 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:31:39.735 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:31:39.735 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:31:39.736 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:31:39.737 [DEBUG] [WaveController$ZWaveSendThread:1327]- NODE 19: Response processed after 4531ms/4698ms.
2015-12-06 20:34:57.425 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1099]- NODE 19: Stage PING. Initialisation retry timer triggered. Increased to 1800000
2015-12-06 20:34:57.427 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:269 ]- NODE 19: Node advancer - PING: queue length(0), free to send(false)
2015-12-06 20:34:57.427 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1131]- NODE 19: Initialisation retry timer started 1800000
2015-12-06 20:34:57.428 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:335 ]- NODE 19: Node advancer: loop - PING try 5: stageAdvanced(false)
2015-12-06 20:34:57.429 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:419 ]- NODE 19: Node advancer: PING - send NoOperation
2015-12-06 20:34:57.429 [DEBUG] [c.ZWaveNoOperationCommandClass:72  ]- NODE 19: Creating new message for command No Operation
2015-12-06 20:34:57.430 [DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 19: Creating empty message of class = SendData (0x13), type = Request (0x00)
2015-12-06 20:34:57.434 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:242 ]- NODE 19: Node advancer - queued packet. Queue length is 1
2015-12-06 20:34:57.435 [DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 19: Sending REQUEST Message = 01 08 00 13 13 01 00 25 8D 5E 
2015-12-06 20:34:57.451 [DEBUG] [b.z.i.p.s.SendDataMessageClass:38  ]- NODE 19: Sent Data successfully placed on stack.
2015-12-06 20:35:02.022 [DEBUG] [b.z.i.p.s.SendDataMessageClass:74  ]- NODE 19: SendData Request. CallBack ID = 141, Status = Transmission complete, no ACK received(1)
2015-12-06 20:35:02.023 [ERROR] [b.z.i.p.s.SendDataMessageClass:141 ]- NODE 19: Node is DEAD. Dropping message.
2015-12-06 20:35:02.025 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:35:02.026 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:35:02.026 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:35:02.027 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1013]- NODE 19: Node advancer - PING: Transaction complete (SendData:Request) success(false)
2015-12-06 20:35:02.028 [DEBUG] [WaveController$ZWaveSendThread:1327]- NODE 19: Response processed after 4592ms/4698ms.
2015-12-06 20:54:19.248 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1099]- NODE 19: Stage PING. Initialisation retry timer triggered. Increased to 1800000
2015-12-06 20:54:19.249 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:269 ]- NODE 19: Node advancer - PING: queue length(0), free to send(false)
2015-12-06 20:54:19.250 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1131]- NODE 19: Initialisation retry timer started 1800000
2015-12-06 20:54:19.251 [ERROR] [z.i.p.i.ZWaveNodeStageAdvancer:316 ]- NODE 19: Node advancer: Retries exceeded at PING
2015-12-06 20:54:19.251 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:329 ]- NODE 19: Retry timout: Can't advance
2015-12-06 21:01:35.199 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1099]- NODE 19: Stage PING. Initialisation retry timer triggered. Increased to 1800000
2015-12-06 21:01:35.200 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:269 ]- NODE 19: Node advancer - PING: queue length(0), free to send(false)
2015-12-06 21:01:35.200 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1131]- NODE 19: Initialisation retry timer started 1800000
2015-12-06 21:01:35.201 [ERROR] [z.i.p.i.ZWaveNodeStageAdvancer:316 ]- NODE 19: Node advancer: Retries exceeded at PING
2015-12-06 21:01:35.202 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:329 ]- NODE 19: Retry timout: Can't advance
2015-12-06 21:04:57.427 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1099]- NODE 19: Stage PING. Initialisation retry timer triggered. Increased to 1800000
2015-12-06 21:04:57.428 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:269 ]- NODE 19: Node advancer - PING: queue length(0), free to send(false)
2015-12-06 21:04:57.429 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1131]- NODE 19: Initialisation retry timer started 1800000
2015-12-06 21:04:57.430 [ERROR] [z.i.p.i.ZWaveNodeStageAdvancer:316 ]- NODE 19: Node advancer: Retries exceeded at PING
2015-12-06 21:04:57.430 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:329 ]- NODE 19: Retry timout: Can't advance
2015-12-06 21:20:41.854 [DEBUG] [.z.i.config.ZWaveConfiguration:1001]- NODE 19: Delete node
2015-12-06 21:20:41.856 [DEBUG] [s.RemoveFailedNodeMessageClass:42  ]- NODE 19: Marking node as having failed.
2015-12-06 21:20:41.880 [DEBUG] [s.RemoveFailedNodeMessageClass:58  ]- NODE 19: Remove failed node successfully placed on stack.
2015-12-06 21:20:42.402 [DEBUG] [s.RemoveFailedNodeMessageClass:93  ]- NODE 19: Got RemoveFailedNode request.
2015-12-06 21:20:42.403 [ERROR] [s.RemoveFailedNodeMessageClass:109 ]- NODE 19: Remove failed node failed with error 0xfe.

As I already suggested, restart OH after that. It worked for me.

1 Like

Thanks, after a restart the node is gone. :smile:

1 Like

Hi, i want to delete some old nodes that are showing up in the log but not in Habmin or elsewhere.
Node 2,3,8,10 are not there, I only have 1 device (node 18) connected and this one is showing up in Habmin and working correctly. Why do I not see these nodes in Habmin?

2017-01-11 11:38:57.918 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 8: Timeout while sending message. Requeueing - 0 attempts left!
2017-01-11 11:38:57.920 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 8: Node is DEAD. Dropping message.
2017-01-11 11:38:58.965 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 2: Node is DEAD. Dropping message.
2017-01-11 11:38:59.096 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 3: Node is DEAD. Dropping message.
2017-01-11 11:39:04.104 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 10: Timeout while sending message. Requeueing - 0 attempts left!
2017-01-11 11:39:04.107 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 10: Node is DEAD. Dropping message.
2017-01-11 11:39:07.941 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 10: Node is DEAD. Dropping message.
2017-01-11 11:39:08.965 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 10: Node is DEAD. Dropping message.
2017-01-11 11:40:10.498 [ERROR] [essage.ApplicationUpdateMessageClass] - NODE 255: Got Node Info Request Failed. Requeueing
2017-01-11 11:40:11.307 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 255: Timeout while sending message. Requeueing - 1 attempts left!
2017-01-11 11:40:15.534 [ERROR] [essage.ApplicationUpdateMessageClass] - NODE 255: Got Node Info Request Failed. Requeueing

Regards
Mario

Ok. I’ve managed to get rid of some nodes. the rest is visible in habmin and showing as online but I’m unable to delete or set them to failed.

2017-01-11 12:36:49.671 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 1: Node found
2017-01-11 12:36:49.676 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 6: Node found
2017-01-11 12:36:49.678 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 7: Node found
2017-01-11 12:36:49.680 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 16: Node found
2017-01-11 12:36:49.681 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 17: Node found
2017-01-11 12:36:49.683 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 18: Node found
2017-01-11 12:36:49.684 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 19: Node found
2017-01-11 12:36:49.692 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller using Controller API
2017-01-11 12:36:49.693 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller is Primary Controller
2017-01-11 12:36:49.695 [INFO ] [age.SerialApiGetInitDataMessageClass] - ------------Number of Nodes Found Registered to ZWave Controller------------
2017-01-11 12:36:49.697 [INFO ] [age.SerialApiGetInitDataMessageClass] - # Nodes = 7
2017-01-11 12:36:49.709 [INFO ] [age.SerialApiGetInitDataMessageClass] - ----------------------------------------------------------------------------
2017-01-11 12:36:49.990 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - Controller handler not found. Cannot handle command without ZWave controller.
2017-01-11 12:36:50.633 [INFO ] [eclipse.smarthome.model.script.Sonos] - hinzufügen: TV Room
2017-01-11 12:36:51.481 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-01-11 12:36:54.042 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 16: Initialising Thing Node...
2017-01-11 12:36:54.054 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 17: Initialising Thing Node...
2017-01-11 12:36:54.059 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 19: Initialising Thing Node...
2017-01-11 12:36:54.054 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Initialising Thing Node...
2017-01-11 12:36:54.089 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 7: Initialising Thing Node...
2017-01-11 12:36:54.249 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 18: Initialising Thing Node...

node 18 and 19 are the ones that are connected. the other ones are not connected.

As Chris says, if the controller doesn’t think the node is dead then you can’t delete it with Habmin. I’ve had this multiple times with battery powered zwave devices.

There is, however, a fix - at least with the Aoetec gen5 zwave stick. See @ellisbjohns’ brilliant post here: Remove a ghost Z-Wave Node from HABmin

Ok, thanks. I will try that. I have a ZME_UZB1 Stick (Zwave.me) maybe this tool works for this device too.

It does, I checked that this morning :slight_smile:

great! that worked flawlessly using the zensys-tool!
great community! Thanks for the help!

I want do remove a duplicated node, too.

I have tried to compile openzwave follwoing the instruction on LickTheSalt](https://lickthesalt.com/2016/04/11/compiling-open-zwave-control-panel-on-a-raspberry-pi-3/) but I failed.

I also tried to use the mentioned docker image in that page.
It seems the docker image is startung, but I cannot see any UI.

How to use OpenZWave?

Has anybody lately managed to use openzwave on Raspberri Pi 3?

You could try using the zensys tool, works great and no need to compile (but you need a windows system!):

Only available download I could find is:

The Zensys Z-Wave Tool works fine.
I was able to delete the dead node.

Thanks a lot for the hint.

1 Like