1.0.9 • Published 2 years ago

netatmo-wunderground-pws v1.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

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

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago