Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.77 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.77 KB

Java Z-Wave Library

This library interfaces with PC Z-Wave controllers using as pure a Java interface/design as possible. The project is based on open-zwave and uses the same config files.

As of June-2013, this project is not yet feature complete with open-zwave.

Hardware

jzwave has been tested successfully with the following controllers:

jzwave has been able to communicate with the following devices:

Building

jzwave requires Gradle to build

  1. Optional: gradle eclipse to generate Eclipse classpath files with Gradle dependencies
  2. gradle build

Transports

socat

Useful if the controller is not connected to the development machine. Utilizing 'socat', create a TCP bridge from remote serial device to socket.

Run on host machine (using port 54321):

socat tcp-l:54321,fork,reuseaddr /dev/ttyUSB0,raw,nonblock,b115200

On development machine:

new ZWaveManager("socket://host:port");

serial

Assumes that the controller is connected directly to the host machine.

// where PORT = COM10 or PORT = /dev/ttyUSB0
new ZWaveManager("serial://PORT");

Usage