Small approach to unify all weather stations in a NodeJS way
Your Weather is a small library that try to get a normalized way to access to personal weather stations information.
- node 0.x or 4.1.x branch.
- node-hid dependencies depending on your system.
npm install urweather --save
// file: weather.js
var urweather = require('urweather');
var station = urweather.create('wh1080', {
interval : 60,
debug : false
});
station.on('data', function( data , duration ) {
console.log(data);
});
station.listen();
- Unix based system:
sudo node weather.js
Some parts of this repository are MIT License © David Pérez Terol
Read the licenses for each adapter in adapters/