Can't exclude device after factor reset

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
darkyat
Posts: 11
Joined: 17 Jul 2014 22:41

Can't exclude device after factor reset

Post by darkyat »

Hi All,

sorry for asking a question which definitely has been discussed already but after a long search I was not able to spot a thread which answers my question.

I am using a Fibaro Motion Sensor and experienced quite some issues.
To resolve those I tried to factory reset the device, but didn't exclude it before.

I have tried to exclude if afterwards and re-included the device. Trouble starts here.

Re-including the sensor as a new device always works, but I don't get rid of the "zombie device".

Hitting "The device is broken or lost" in the Smarthome UI is running forever, but the log shows that it is basically doing nothing:

Code: Select all

[2016-06-02 09:22:48.906] [I] [zway] Adding job: Remove failed node from network
[2016-06-02 09:22:48.909] [D] [zway] SENDING (cb 0x6d): ( 01 05 00 61 04 6D F2 )
[2016-06-02 09:22:48.913] [D] [zway] RECEIVED ACK
[2016-06-02 09:22:48.916] [D] [zway] RECEIVED: ( 01 04 01 61 08 93 )
[2016-06-02 09:22:48.919] [D] [zway] SENT ACK
[2016-06-02 09:22:48.921] [I] [zway] Job 0x61 (Remove failed node from network): Node not failed
[2016-06-02 09:22:48.924] [D] [zway] SETDATA devices.4.data.isFailed = False
[2016-06-02 09:22:48.927] [D] [zway] Job 0x61 (Remove failed node from network): fail
[2016-06-02 09:22:48.929] [I] [zway] Removing job: Remove failed node from network
[2016-06-02 09:23:09.240] [D] [zway] Job 0x61: deleted from queue
[2016-06-02 09:25:00.175] [I] [core] ---  histories polled
Of course I tried it multiple times, and let it run for hours as well:

Code: Select all

[2016-06-02 09:30:00.813] [I] [core] ---  histories polled
[2016-06-02 09:33:17.999] [I] [zway] Adding job: Remove node from network
[2016-06-02 09:33:18.006] [D] [zway] SENDING (cb 0x00): ( 01 05 00 4B 05 00 B4 )
[2016-06-02 09:33:18.010] [D] [zway] RECEIVED ACK
[2016-06-02 09:33:18.012] [I] [zway] Job 0x4b (Remove node from network): Stop done
[2016-06-02 09:33:18.015] [D] [zway] Job 0x4b (Remove node from network): success
[2016-06-02 09:33:18.017] [I] [zway] Removing job: Remove node from network
[2016-06-02 09:33:18.020] [D] [zway] SETDATA controller.data.controllerState = 0 (0x00000000)
[2016-06-02 09:33:38.311] [D] [zway] Job 0x4b: deleted from queue
[2016-06-02 09:35:00.190] [I] [core] ---  histories polled
[2016-06-02 09:37:03.797] [I] [zway] Adding job: Remove failed node from network
[2016-06-02 09:37:03.806] [D] [zway] SENDING (cb 0x6e): ( 01 05 00 61 04 6E F1 )
[2016-06-02 09:37:03.811] [D] [zway] RECEIVED ACK
[2016-06-02 09:37:03.814] [D] [zway] RECEIVED: ( 01 04 01 61 08 93 )
[2016-06-02 09:37:03.817] [D] [zway] SENT ACK
[2016-06-02 09:37:03.819] [I] [zway] Job 0x61 (Remove failed node from network): Node not failed
[2016-06-02 09:37:03.822] [D] [zway] SETDATA devices.4.data.isFailed = False
[2016-06-02 09:37:03.824] [D] [zway] Job 0x61 (Remove failed node from network): fail
[2016-06-02 09:37:03.834] [I] [zway] Removing job: Remove failed node from network
[2016-06-02 09:37:05.543] [I] [zway] Adding job: Remove node from network
[2016-06-02 09:37:05.552] [D] [zway] SENDING (cb 0x00): ( 01 05 00 4B 05 00 B4 )
[2016-06-02 09:37:05.557] [D] [zway] RECEIVED ACK
[2016-06-02 09:37:05.560] [I] [zway] Job 0x4b (Remove node from network): Stop done
[2016-06-02 09:37:05.562] [D] [zway] Job 0x4b (Remove node from network): success
[2016-06-02 09:37:05.564] [I] [zway] Removing job: Remove node from network
[2016-06-02 09:37:05.567] [D] [zway] SETDATA controller.data.controllerState = 0 (0x00000000)
[2016-06-02 09:37:24.166] [D] [zway] Job 0x61: deleted from queue
[2016-06-02 09:37:25.921] [D] [zway] Job 0x4b: deleted from queue
I have noticed it that is seems to think the node is still alive and is therefore refusing to remove it:

Code: Select all

[2016-06-02 09:37:03.819] [I] [zway] Job 0x61 (Remove failed node from network): Node not failed
[2016-06-02 09:37:03.822] [D] [zway] SETDATA devices.4.data.isFailed = False
[2016-06-02 09:37:03.824] [D] [zway] Job 0x61 (Remove failed node from network): fail
The sensor is in front of me, and the battery has been remove more than 10 hours ago. There is also no other sensor of the same or similar type so any confusion is out of the question.

Please throw some SSH commands or data modification advises at me how to remove the zombie. I am experienced in Linux and Shell, therefore don't hesitate to ask me to check more complex things if required.

Thanks in advance!

Regards,
darkyat
justiina99
Posts: 4
Joined: 04 May 2016 22:26

Re: Can't exclude device after factor reset

Post by justiina99 »

Hi,

I am facing similar issue. Even stopping server, manually editing config files under config/zddx folder to remove zombie device and starting server again is not helping, it is discovering those again and again on next startup

Br,
J
demotic_s
Posts: 1
Joined: 06 Jul 2016 17:14

Re: Can't exclude device after factor reset

Post by demotic_s »

Same here!
Devices that has been physically removed and are normally shown as failed, then report to be not failed when you try to remove them from network.
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Can't exclude device after factor reset

Post by PoltoS »

Try to press "Check Connection" button first. This will mark them as failed and then you can remove them as failed.

Editting files will not help as it is in Z-Wave chip
justiina99
Posts: 4
Joined: 04 May 2016 22:26

Re: Can't exclude device after factor reset

Post by justiina99 »

PoltoS wrote:Try to press "Check Connection" button first. This will mark them as failed and then you can remove them as failed.

Editting files will not help as it is in Z-Wave chip
True. Trick seems to work.
Post Reply