failed to discover ZWay: -9

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
pawelk
Posts: 1
Joined: 21 Jun 2013 18:10

failed to discover ZWay: -9

Post by pawelk »

Hi,
I could not get one of my RaZberry working. After astarting z-way server there is a ton of log messages (in /var/z-way-server.log) and things ends with:

============
[2013-06-21 15:27:30.597] CC "ApplicationStatus" is not implemented
[2013-06-21 15:27:30.598] Adding job: Set controller node information frame
[2013-06-21 15:27:30.599] No controller device found
[2013-06-21 15:27:30.599] Removing job: Get initial data about network devices
[2013-06-21 15:27:30.601] SENDING (cb 0x01): ( 01 04 00 62 01 98 )
failed to discover ZWay: -9
Z-Way version v1.3.1 from 2013-05-19 23:54:27 +0400 (build e717f1057ab76a00fa02d9e6546e360ad3390f36)
Using default configuration file config.xml
Starting Z-Way for device /dev/ttyAMA0...
============

after this z-way-server quits . Full log from one run of z-way is here:
http://lib.pia.org.pl/~pkj/z-way-server.log

Do you have any ideas?
User avatar
PoltoS
Posts: 7586
Joined: 26 Jan 2011 19:36

Your Raberry have wrong data

Post by PoltoS »

Your Raberry have wrong data in memory. Ususally this is checked during quality control, but may be someone forgot to do it. It happens - we will investigate the issue.

Your problem is in thse lines:
[2013-06-21 15:27:10.947] SETDATA controller.data.nodeId = 255 (0x000000ff)
[2013-06-21 15:27:10.947] SETDATA controller.data.homeId = -1 (0xffffffff)
....
[2013-06-21 15:27:30.599] No controller device found

This means you need to reset the memory content.

To do it please shout down Z-Way: /etc/init.d/Z-Way stop
Reset RaZberry: echo -ne "x01x04x00x42x01xB8" > /dev/ttyAMA0
Start Z-Way back: /etc/init.d/Z-Way start

Please report if this helped
rabing
Posts: 31
Joined: 08 Mar 2013 03:00

same her right after "apt-get upgrade"

Post by rabing »

uname -a: Linux 3.6.11+ #474 PREEMPT Thu Jun 13 17:14:42 BST 2013 armv6l GNU/Linux

== log ========
[2013-06-24 15:28:03.534] SETDATA controller.data.nodeId = 0 (0x00000000)
[2013-06-24 15:28:03.534] SETDATA controller.data.homeId = 0 (0x00000000)
...
[2013-06-24 15:28:03.537] SETDATA controller.data.softwareRevisionVersion = "v1.3.1"
[2013-06-24 15:28:03.537] SETDATA controller.data.softwareRevisionId = "e717f1057ab76a00fa02d9e6546e360ad3390f36"
[2013-06-24 15:28:03.538] SETDATA controller.data.softwareRevisionDate = "2013-05-19 23:54:27 +0400"
[2013-06-24 15:28:03.538] SETDATA controller.data.functionClasses = int[43]
...
[2013-06-24 15:28:03.551] Opened device: /dev/ttyAMA0
[2013-06-24 15:28:03.552] Worker thread successfully created
[2013-06-24 15:28:03.553] Worker thread entry point
[2013-06-24 15:28:03.563] Adding job: Get controller info and supported function classes
[2013-06-24 15:28:03.566] SENDING (cb 0x07): ( 01 03 00 07 FB )
[2013-06-24 15:28:03.577] RECEIVED ACK
[2013-06-24 15:28:03.588] RECEIVED: ( 01 2B 01 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D2 )
[2013-06-24 15:28:03.590] SENT ACK
[2013-06-24 15:28:03.590] SETDATA controller.data.APIVersion = "00.00"
[2013-06-24 15:28:03.590] SETDATA controller.data.manufacturerId = 0 (0x00000000)
[2013-06-24 15:28:03.591] SETDATA controller.data.manufacturerProductType = 0 (0x00000000)
[2013-06-24 15:28:03.591] SETDATA controller.data.manufacturerProductId = 0 (0x00000000)
[2013-06-24 15:28:03.594] SETDATA controller.data.vendor = ""
[2013-06-24 15:28:03.594] Supported Function Classes:
[2013-06-24 15:28:03.594] ---------------------------
[2013-06-24 15:28:03.594] SETDATA controller.data.capabilities = int[0]
[2013-06-24 15:28:03.594] ---------------------------
[2013-06-24 15:28:03.595] Job 0x07 (Get controller info and supported function classes): success
[2013-06-24 15:28:03.595] Get Serial API Capabilities returned zero.
[2013-06-24 15:28:03.595] Removing job: Get controller info and supported function classes
failed to discover ZWay: -9
==================================
rabing
Posts: 31
Joined: 08 Mar 2013 03:00

fixed: the razberry board needed a reset

Post by rabing »

since I could not "talk" to razberry board, pulling the powerplug did the job.
mstragowski
Posts: 1
Joined: 04 Jul 2013 15:13

similar problem here but not the same

Post by mstragowski »

My raZberry module starts with home id 0xffffffff and Z-Way server works but it is showing 231 devices paired (all dead) and there is nothing i can do with this module, i can't do a factory reset and the command you provided for pawelk - does not work in my case
User avatar
PoltoS
Posts: 7586
Joined: 26 Jan 2011 19:36

Try to reset the device using

Post by PoltoS »

Try to reset the device using the button in Network Management tab (in Expert mode, on the bottom).

If this does not help, may be the device has damaged EEPROM. This is subject to RMA.
brent192
Posts: 3
Joined: 26 Sep 2013 00:18

Nevermind...it suddenly

Post by brent192 »

Nevermind...it suddenly started working. Strange.
brent192
Posts: 3
Joined: 26 Sep 2013 00:18

Same problem...

Post by brent192 »

I just got my new Razberry and I am having the same issue. I did the memory reset and the service still wont start up. Any ideas?
Post Reply