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.
Download the code from GitHub and install the dependencies:
npm install
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.
This project is based on the great efforts of Jonathan Perkin and his node-openzwave
project.
- 2013-11-27 v0.0.1 Initial release.