prwhite / zwave.js

A comprehensive stack for managing a home Z-Wave network.
GNU Lesser General Public License v3.0
8 stars 2 forks source link

zwave.js

A comprehensive stack for managing a home Z-Wave network, written in node.js JavaScript, based loosely on the Open Z-Wave project.

Project goals

Status

What works

What is next

What will eventually be really cool

What is not in scope

Setup

The first thing you want to do in a freshly-cloned repo is execute the following in a shell:

make npm

That's it. Ideally, that will just work and grab the modules that zwave.js requires.

Application Usage

Currently, the system only provides one working integration test sample. This is invoked as a normal node.js command:

node test/zwtestapp.js

For help, run:

node test/zwtestapp.js --help

Which will print something like this:

Reading config from /Users/payton/.zwave.js
zwtestapp.js command line options:
  values are set with the following precedence:
    command line options > 
    config options (from ~/.zwave.js) > 
    built-in defaults 
<option> : <currently configured value>
  --dev : /dev/cu.SLAB_USBtoUART

Which means there is one option, --dev, which defaults to /dev/cu.SLAB_USBtoUART. For reference, this is the virtual serial port driver that the system will use to interact with the USB Z-Wave controller.

Library Usage

Details on how to use the library in your own application will be described sometime in the future. In the meantime, the application samples will illustrate common library usage details.

License

(c) Payton R White 2012

This project cribs a bit from Open Z-Wave, so it will use the same license, the LGPL v3, except where other components are used that have established licenses.