Skip to content

Few changes to transform a simple serial driver in a simple TCP Socket serial driver

Notifications You must be signed in to change notification settings

Chrcou/node-vantage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-vantage-tcpSocket

node-vantage-tcpSocket is a dead simple Davis Vantage driver for Node.js.

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

About

Few changes to transform a simple serial driver in a simple TCP Socket serial driver

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%