Razberry Fresh Install Not Working

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
OneFastt997
Posts: 5
Joined: 29 Nov 2014 01:19

Razberry Fresh Install Not Working

Post by OneFastt997 »

Hi,

After messing around with it a bit this weekend I haven't had much success with the Razberry and I'm wondering if it's defective.

When I launch the service (LD_LIBRARY_PATH=libs ./z-way-server) using my pi user I get hundreds of lines of information and then it terminates with the following.

[2014-12-01 08:53:30.868] Loading Command Classes for device 232
[2014-12-01 08:53:30.868] Job 0x02 (Get initial data about network devices): success
[2014-12-01 08:53:30.872] Adding job: Set controller node information frame
[2014-12-01 08:53:30.874] No controller device found
[2014-12-01 08:53:30.875] Removing job: Get initial data about network devices
[2014-12-01 08:53:30.879] SENDING (cb 0x01): ( 01 04 00 62 01 98 )
[2014-12-01 08:53:30.897] Worker thread exit point
[2014-12-01 08:53:30.897] Worker thread successfully finished
failed to discover ZWay: Wrong packet from Z-Wave network or Discovery got bad data (stick communication failed) (-9)

If I run it as root just to test I get:

Z-Way version v1.7.2 from 2014-07-26 15:20:00 +0400 (build 428d48e765a32b39615c073af93e8666497724c9)
Using default configuration file config.xml
Starting Z-Way for device /dev/ttyAMA0...
failed to discover ZWay: Wrong packet from Z-Wave network or Discovery got bad data (stick communication failed) (-9)

I have removed the console setting in /root/cmdline.txt and hard/soft rebooted with no luck.

The service comes up on 8084 but there is nothing on 8083.
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Razberry Fresh Install Not Working

Post by pofs »

Looks like your stick has some junk in EEPROM.
Try resetting it first:

Code: Select all

echo -ne "\x01\x04\x00\x42\x01\xB8" > /dev/ttyAMA0
OneFastt997
Posts: 5
Joined: 29 Nov 2014 01:19

Re: Razberry Fresh Install Not Working

Post by OneFastt997 »

Thanks, that changed the error but it still seems that the device isn't responding.

[2014-12-01 14:08:16.835] SENT ACK
[2014-12-01 14:08:16.835] SETDATA controller.data.ZWVersion = 5 (0x00000005)
[2014-12-01 14:08:16.835] SETDATA controller.data.ZWaveChip = "ZW0301"
[2014-12-01 14:08:16.835] Capabilities:
[2014-12-01 14:08:16.835] - Controller API
[2014-12-01 14:08:16.835] - Timer function not supported
[2014-12-01 14:08:16.836] - Primary Controller
[2014-12-01 14:08:16.836] Detected Devices:
[2014-12-01 14:08:16.836] -----------------
[2014-12-01 14:08:16.836] -----------------
[2014-12-01 14:08:16.836] Loading configuration data from ./config/zddx/d81dee83-DevicesData.xml
[2014-12-01 14:08:16.836] Job 0x02 (Get initial data about network devices): success
[2014-12-01 14:08:16.838] Adding job: Set controller node information frame
[2014-12-01 14:08:16.839] No controller device found
[2014-12-01 14:08:16.839] Removing job: Get initial data about network devices
[2014-12-01 14:08:16.849] Worker thread exit point
[2014-12-01 14:08:16.850] Worker thread successfully finished
failed to discover ZWay: Wrong packet from Z-Wave network or Discovery got bad data (stick communication failed) (-9)
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Razberry Fresh Install Not Working

Post by pofs »

Now try to delete /opt/z-way-server/config/zddx/d81dee83-DevicesData.xml, it might have some wrong values inside.
Actually I don't know why it is loaded at all, because the previous command should have generate a new Home ID. Probably it is because of initially wrong EEPROM data.
OneFastt997
Posts: 5
Joined: 29 Nov 2014 01:19

Re: Razberry Fresh Install Not Working

Post by OneFastt997 »

That file doesn't exist. I'm going to try re-installing the service now that the eproms are wiped and see if it creates it.
OneFastt997
Posts: 5
Joined: 29 Nov 2014 01:19

Re: Razberry Fresh Install Not Working

Post by OneFastt997 »

No luck. Still no file after running the install again.
udev
Posts: 6
Joined: 14 May 2015 08:29

Re: Razberry Fresh Install Not Working

Post by udev »

[2015-05-27 10:33:57.619] [C] Failed to negotiate with Z-Wave stick: Wrong packet from Z-Wave network or Discovery got bad data (stick communication failed) (-9)

even I am getting the same error the Log i have provided i have been trying on it from past 3 weeks but i am getting the same error. I have tried all the possibilities that is available on forums but failed .
Please let me know what can be done so that i can pair my end devices ??????
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Razberry Fresh Install Not Working

Post by PoltoS »

We need bigger log to identify the issue.
Please look on http://razberry.z-wave.me/index.php?id=29
Post Reply