node-vantage
v0.0.5
Published
A simple Davis Vantage serial driver for Node.js
Downloads
7
Readme
node-vantage
node-vantage is a dead simple Davis Vantage driver for Node.js.
Installation
npm install node-vantage
How to use
var Driver = require("node-vantage");
var vantage = new Driver();
vantage.on("connect", function(error) {
if (!error) {
console.log("Connected to the Vantage");
vantage.on("loop", function(loop) {
console.log(loop);
});
} else {
console.log("Failed connecting to the Vantage: " + error);
}
});
TODO
- Custom settings
- Multiple unit systems
- Push commands (reset, alarms...)