Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 969 Bytes

README.md

File metadata and controls

48 lines (29 loc) · 969 Bytes

zwave-repl

This is a small REPL script based on node-openzwave.

It allows us to issue command to a Z-Wave gateway. It has been tested with a Aeon Labs Z-Stick S2.

Getting Started

Download the code from GitHub and install the dependencies:

npm install

Usage

To run the REPL:

node index.js

There are two globals available:

  • zwave - the actual openzwave instance that we use to run the commands
  • nodes - the list of nodes available in the Z-Wave network

For example, here's how we can switch node 4 on:

zwave.switchOn(4)

or get the details about the same node:

nodes[4]

For more options checkout the node-openzwave project here.

Dependencies

This project is based on the great efforts of Jonathan Perkin and his node-openzwave project.

Release History

  • 2013-11-27 v0.0.1 Initial release.