Skip to content

brbeaird/netatmo-wunderground-pws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netatmo-Wunderground-PWS

Connects Netatmo data to a Weather Underground PWS

Usage

Install the library:

npm install --save netatmo-wunderground-pws

Require it:

var netatmoWunderground = require('netatmo-wunderground-pws')

Set your credentials

var authInfo = {
    "netamo_client_id": "YourClientId",
    "netamo_client_secret": "YourclientSecret",
    "netamo_username": "YourUsername",
    "netamo_password": "YourPassword",
    "wundergroundStationId": "YourStation",
    "wundergroundUserPassword": "YourSiteLoginPassword"
  };
  
  netatmoWundergroundUploader = new netatmoWunderground(authInfo);

Example to get data

//Send data on startup
netatmoWundergroundUploader.getNetatmoData();

//Refresh and upload data every 2.5 minutes
setInterval(function() {
    netatmoWundergroundUploader.getNetatmoData();
  }, 150000);

For a full working node project, go here: https://github.com/brbeaird/netatmo-wunderground-agent

About

Connects Netatmo data to a Weather Underground PWS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published