Looking for a getting started guide

Discussions about Z-Way software and Z-Wave technology in general
garethhowell
Posts: 10
Joined: 15 Dec 2014 12:30

Looking for a getting started guide

Post by garethhowell »

I've decided to move over to using a Razberry Pi to run my HA rather than use Indigo on a Mac. The latter runs the home at the moment and is brilliant, but the MacMini uses a lot of power.

I've followed the Quick Start guide to install z-way-server on one of my Pis that also runs raspbmc and connected the razberry pi board. Now what? (Incidentally, a bigger picture showing the board installation would be useful. Just saying it uses GPIO pins means nothing to me)

When I open the web page on port 8083 and select the Home Automation page I see lots of warnings about "can not start z-wave binding".

Going to Preferences, I see lots of icons and stuff, but no guidance on what to do. The Manual for this page is just a reference guide. It tells you what the various menu options do, but there's nothing about what I should do to get started.

Any help would be appreciated.

Gareth
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Looking for a getting started guide

Post by pz1 »

You are right. Since this version 2.0.0, the "zwave drivers" are not enabled by default in the distribution.
Therefore you have to add this using -Preferences-Modules-Peripherals-Zwave.
In the setup define port as /dev/ttyAMA0. Do leave the internal name unchanged.
Hope this helps
Since 29-12-2016 I am no longer a moderator for this forum
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Looking for a getting started guide

Post by pz1 »

In the meantime I understood that Zwave module still should be enabled by default.
Can you confirm that the Zwave module was represented under the automation secition of Preferences
Since 29-12-2016 I am no longer a moderator for this forum
garethhowell
Posts: 10
Joined: 15 Dec 2014 12:30

Re: Looking for a getting started guide

Post by garethhowell »

Thanks
When I go into Preferences, in Automation I see a reference to z-wave binding. This is enabled, along with cron. Opening it shows it using /dev/ttyAMA0 with the internal name zway and module ID: ZWave.

In Modules/Peripherals I see five modules, including ZWave but I'm not sure what that means.

Gareth
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Looking for a getting started guide

Post by pz1 »

It means that your installation does have Zwave enabled. The fact that the module Zwave is still available under Modules as well, is IIRC because it is possible to have more than one Zwave controller in the system. For most users this is not relevant
Since 29-12-2016 I am no longer a moderator for this forum
garethhowell
Posts: 10
Joined: 15 Dec 2014 12:30

Re: Looking for a getting started guide

Post by garethhowell »

Any idea why I'm getting all the errors then?
e.g from the log

Code: Select all

[2014-12-15 13:26:44.972] [D] [zway] Opened device: /dev/ttyAMA0
[2014-12-15 13:26:44.974] [D] [zway] Worker thread successfully created
[2014-12-15 13:26:44.979] [D] [zway] Worker thread entry point
[2014-12-15 13:26:44.987] [I] [zway] Adding job: Get controller info and supported function classes
[2014-12-15 13:26:44.990] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2014-12-15 13:26:44.998] [C] [i/o] Serial port has gone: (null)
[2014-12-15 13:26:44.998] [E] [zway] Device processing interrupted
[2014-12-15 13:26:44.998] [D] [zway] Worker thread exit point
[2014-12-15 13:26:45.000] [D] [zway] Worker thread successfully finished
[2014-12-15 13:26:45.039] [I] [core] Notification: critical (z-wave): Can not start Z-Wave binding: Error: Bad data - communication failed
[2014-12-15 13:26:51.777] [E] [zway] SaveData will not save data since it wasn't loaded. This is to prevent data loss.
[2014-12-15 13:26:51.783] [C] [zway] Get Serial API Capabilities returned zero.
garethhowell
Posts: 10
Joined: 15 Dec 2014 12:30

Re: Looking for a getting started guide

Post by garethhowell »

Incidentally, I notice that if I try to run the old expert UI I get a status message saying the server has not completed startup yet. Also, the new Epert UI just has a banner saying "error handling data from server"
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Looking for a getting started guide

Post by pofs »

@garethhowell seems you have some hardware issue, as software cannot read data from serial port.
It is either misconfigured (there were errors during installation, you have a non-standard OS etc.), or your RaZberry card is not working (try powercycle it for starters).
garethhowell
Posts: 10
Joined: 15 Dec 2014 12:30

Re: Looking for a getting started guide

Post by garethhowell »

Ta
Like I said, the Quick Start Guide says nothing about how to install the board. All it has is a partially obscured picture.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Looking for a getting started guide

Post by pz1 »

The quick start guide at http://razberry.z-wave.me/docs/RaZberry500_QSG_en1.pdf shows for me clearly how the RaZberry board has to be positioned on the leftmost pins of the large edge connector of Raspberry Pi.
Do you refer to the same document? Below is the image I copied from that document
Attachments
RaZberryPositioning.PNG
RaZberryPositioning.PNG (55.6 KiB) Viewed 10702 times
Since 29-12-2016 I am no longer a moderator for this forum
Post Reply