mattludwigs / libzwaveip

libzwaveip - Control Z-Wave devices from your IP network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libzwaveip - Control Z-Wave devices from your IP network

libzwaveip makes it easy to control Z-Wave devices from your IP network via a Z/IP Gateway. A Z/IP Gateway binary for Raspberry Pi is available here: http://zwavepublic.com/developer.

Questions? Please use the discussion forum at http://forum.z-wavepublic.com/.

Example applications

Two example applications are provided: reference_client and reference_listener. The reference_client is a command line client for adding, removing and sending commands to Z-Wave nodes. The Z-Wave listener listens for notifications from the Z-Wave network. When a notification arrives it is decoded and pretty-printed.

Build instructions for Raspberry Pi

To get started quickly, use we recommend that you use the Raspberry Pi image we have prepared. Follow these instructions to build the libzwaveip reference_client and reference_listener:

  1. Prepare the Raspberry Pi SD image according to the instructions at www.zwavepublic.com/developer
  2. SSH into the Raspberry Pi
  3. Run the following commands:
$ sudo apt-get update
$ sudo apt-get install cmake libssl-dev libavahi-client-dev libxml2-dev libbsd-dev libncurses5-dev git
$ git clone https://github.com/Z-WavePublic/libzwaveip.git
$ cd libzwaveip
$ mkdir build
$ cd build
$ cmake ..
$ make

To test the reference_client, make sure the zipgateway is running and connect to it:

$ ./reference_client -s <IP of ZIP Gateway>

See section "Working with the Reference Z/IP client" in this guide for instructions on using the reference_client.

About

libzwaveip - Control Z-Wave devices from your IP network

License:Apache License 2.0


Languages

Language:C 97.2%Language:Roff 2.1%Language:Python 0.3%Language:Shell 0.1%Language:Makefile 0.1%Language:CMake 0.1%