Page 1 of 2

No ACK received before timeout

Posted: 25 Mar 2016 14:39
by tanuva
I just received my Razberry and the Fibaro RGBW controller and hoped to have it set up quickly. Well.

It looks like something in the communication with the daughter board is broken. The start of the server log has some communication with the board taking place but it doesn't seem to receive the data it expected.

The information I've gathered so far is this:
- Install log (subsequent run over the first install as there's no uninstall script): http://pastebin.com/GZ95QW4x
- The home automation web ui "works" as in: a web site is served. No interaction with the z-wave network possible.
- The expert ui shows this controller information: http://pastebin.com/hm1GsW5u
- If I click the 'Start inclusion' button in the expert ui, nothing happens in the browser. The z-way-server.log from a restart up to this button press is this: https://nightsoul.org/files/z-way-server.log (On my server because it's too big for pastebin.com)
- The Razberry board LEDs light up briefly (about a second) upon power on, then stay dark after flashing another time very briefly.
- This is a european Razberry of the post-Oct-2013 sort (ordered a few days ago via Amazon)
- The install script cannot remove any ttyAMA0 references from /boot/cmdline.txt as there's none anymore. Same goes for the now-nonexistant /etc/inittab. The current cmdline.txt is this:

Code: Select all

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
My Razberry is stacked onto a Pi B 512MB running a fresh and updated installation of Raspbian Jessie.
Can you tell me what is going wrong? (Or rather: what to do to get it working... :) )

Re: No ACK received before timeout

Posted: 27 Mar 2016 02:38
by PoltoS
Please try to turn off and then on your Pi (not just reboot - to powercycle RaZberry). Or use Reset API button in the Expert UI and then restart Z-Way using /etc/init.d/z-way-server restart

Re: No ACK received before timeout

Posted: 27 Mar 2016 11:41
by tanuva
After a power cycle I don't even get controller info anymore. The home automation ui lets me log in, once I open the expert ui, this error appears in a red box right beneath the menu bar:
"Error handling data from server"
Nothing else is usable there. The two LEDs on the Razberry still light up for about a second on boot, no sign of life after that.

The z-way-server.log up to that point is this: http://pastebin.com/VTfL6Dsp

The first thing going wrong seems to be
"[2016-03-27 10:35:03.428] [W] [zway] Received SOF, while awaiting ACK" (l. 237)
What does that mean?

Re: No ACK received before timeout

Posted: 27 Mar 2016 16:14
by norrisp90
Is it a RPI 3 that you are using, if so see this thread https://forum.z-wave.me/viewtopic.php?f=3422&t=22957 . I have the same errors as you and currently working on them as being a RPI 3 compatibility issue.

Re: No ACK received before timeout

Posted: 27 Mar 2016 19:32
by tanuva
As stated in my first post, I'm using a Raspberry Pi B (first gen) with 512 MB of RAM. So this is most likely not a Pi 3-related issue. :)

Re: No ACK received before timeout

Posted: 28 Mar 2016 12:01
by tanuva
I've retried another time on a completely vanilla (updated) raspbian. Still the same symptoms.
Installation log is this: http://pastebin.com/yyiyvkse

Can you rule out hardware failure in this case? If not, I'd want to return the Razberry soon to not waste any more time on a broken one...

Re: No ACK received before timeout

Posted: 28 Mar 2016 12:54
by pz1
In one of your earlier posts I found this:

Code: Select all

[2016-03-27 10:35:04.492] [I] [core] Notification: critical (z-wave): Cannot start Z-Wave binding: Error: Bad data - communication failed
Could you please make a screen dump of the Z-Wave App configuration screen?

Re: No ACK received before timeout

Posted: 28 Mar 2016 13:05
by tanuva
I'm not entirely sure which configuration screen you refer to - I haven't used any other apps than the web interfaces supplied with the Razberry installer. Attached is the config screen of the expert ui. There's "no device selected" at the top and none available for selection in the dropdown menu.
If I selct the "Configuration" tab on that page, this error appears:
No device description selected. You can select device description from the tab "Interview"

Re: No ACK received before timeout

Posted: 28 Mar 2016 15:10
by pz1
I meant this one. You find in in the Smarthome interface under installed Apps
zwave.PNG
zwave.PNG (3.95 KiB) Viewed 12838 times

Re: No ACK received before timeout

Posted: 28 Mar 2016 16:04
by tanuva
After some fiddling I found the entry - its in the 'active' apps category for me. Configuration of that app looks like this.