osanywhereweather

3.0.2 • Public • Published

Build Status js-standard-style

osanywhereweather

Node module for getting your weatherdata from osanywhereweather

This version supports viewing the live data from your weatherstation as well as getting historic data and exporting them.

Installation

$ npm i osanywhereweather --save

Usage

The module exposes three methods: live, history, and export. All methods supports promises and callbacks.

live

Use this to retrieve live data from your weatherstation. Pass in an options object.

email the email for your osanywhereweather account

password the password for your osanywhereweather account

stationId the Id for the weatherstation you will get data from. It's the mac address for the station.

This method returns your weatherdata as json.

Promises

'use strict'
 
const osa = require('osanywhereweather')
const options = {
  'stationId': 'your-station-id',
  'email': 'your-email@example.com',
  'password': 'YourTopSecretPassword'
}
 
osa.live(options)
  .then(json => console.log(json))
  .catch(error => console.error(error))

Callback

'use strict'
 
const osa = require('osanywhereweather')
const options = {
  'stationId': 'your-station-id',
  'email': 'your-email@example.com',
  'password': 'YourTopSecretPassword'
}
 
osa.live(options, (error, json) => {
  if (error) {
    console.error(error)
  } else {
    console.log(json)
  }
})

Example of returned data for live

{ status: 200,
  process_time: 108.85095596313477,
  live:
   { wind_speed: 3.4,
     rainfall: '--',
     temperature: 0.5,
     low_battery: {},
     wind_direction: 'E',
     uv: '--',
     wind_angle: 90,
     forecast: 1,
     pressure: 952,
     local_time: '2015-01-03 12:24:23.288075',
     sealevel_pressure: 996.352,
     humidity: 61,
     wind_gust: 3.2 }
}

history

Use this to retrieve historic data from your weatherstation. Pass in an options object.

email the email for your osanywhereweather account

password the password for your osanywhereweather account

stationId the Id for the weatherstation you will get data from. It's the mac address for the station.

type type of historic data like temperature, humidity, pressure, uv, wind and rain

channel channel number

duration duration of history like @day, @week and @month

This method returns your weatherdata as json.

Promises

'use strict'
 
const osa = require('osanywhereweather')
const options = {
  'stationId': 'your-station-id',
  'email': 'your-email@example.com',
  'password': 'YourTopSecretPassword',
  'type': 'temperature',
  'channel': '1',
  'duration': '@week'
}
 
osa.history(options)
  .then(json => console.log(json))
  .catch(error => console.error(error))

Callback

'use strict'
 
const osa = require('osanywhereweather')
const options = {
  'stationId': 'your-station-id',
  'email': 'your-email@example.com',
  'password': 'YourTopSecretPassword',
  'type': 'temperature',
  'channel': '1',
  'duration': '@week'
}
 
osa.history(options, (error, json) => {
  if (error) {
    console.error(error)
  } else {
    console.log(json)
  }
})

Example of returned data for history

{ status: 200,
  live: '--',
  points: 
   [ { temperature: 6.84, event_time: '2015-04-25 20:00:00' },
     { temperature: 5.9, event_time: '2015-04-25 21:00:00' },
     { temperature: 4.39, event_time: '2015-04-25 22:00:00' },
     { temperature: 1.8, event_time: '2015-04-25 23:00:00' },
     { temperature: -0.6, event_time: '2015-04-26 00:00:00' },
     { temperature: -0.92, event_time: '2015-04-26 01:00:00' },
     { temperature: -0.88, event_time: '2015-04-26 02:00:00' },
     { temperature: -1.82, event_time: '2015-04-26 03:00:00' },
     { temperature: -1.69, event_time: '2015-04-26 04:00:00' },
     { temperature: -2.26, event_time: '2015-04-26 05:00:00' },
     { temperature: -1.89, event_time: '2015-04-26 06:00:00' },
     { temperature: 0.96, event_time: '2015-04-26 07:00:00' },
     { temperature: 2.56, event_time: '2015-04-26 08:00:00' },
     { temperature: 9.9, event_time: '2015-04-26 09:00:00' },
     { temperature: 12.48, event_time: '2015-04-26 10:00:00' },
     { temperature: 13.2, event_time: '2015-04-26 11:00:00' },
     { temperature: 11.64, event_time: '2015-04-26 12:00:00' },
     { temperature: 10.25, event_time: '2015-04-26 13:00:00' },
     { temperature: 13.17, event_time: '2015-04-26 14:00:00' },
     { temperature: 11.21, event_time: '2015-04-26 15:00:00' },
     { temperature: 11.66, event_time: '2015-04-26 16:00:00' },
     { temperature: 11.2, event_time: '2015-04-26 17:00:00' },
     { temperature: 10.5, event_time: '2015-04-26 18:00:00' },
     { temperature: 8.16, event_time: '2015-04-26 19:00:00' },
     { temperature: 4.38, event_time: '2015-04-26 20:00:00' },
     { temperature: 0.44, event_time: '2015-04-26 21:00:00' },
     { temperature: -1.54, event_time: '2015-04-26 22:00:00' },
     { temperature: -2.57, event_time: '2015-04-26 23:00:00' },
     { temperature: -3.25, event_time: '2015-04-27 00:00:00' } 
    ],
  process_time: 107.086181640625,
  min: -3.2499999999999996,
  cached: false,
  max: 13.200000000000001,
  low_battery: false
}

export

Use this to export historic data from your weatherstation. Pass in an options object.

email the email for your osanywhereweather account

password the password for your osanywhereweather account

stationId the Id for the weatherstation you will get data from. It's the mac address for the station.

type type of historic data like temperature, humidity, pressure, uv, wind and rain

channel channel number

fromdate Startdate for export. Format: YYYY-mm-dd

todate Enddate for export. Format: YYYY-mm-dd

This method returns your weatherdata as csv.

Promises

'use strict'
 
const osa = require('osanywhereweather')
const options = {
  'stationId': 'your-station-id',
  'email': 'your-email@example.com',
  'password': 'YourTopSecretPassword',
  'type': 'temperature',
  'channel': '1',
  'fromdate': '2015-04-01',
  'todate': '2015-04-30'
}
 
osa.export(options)
  .then(data => console.log(data))
  .catch(error => console.error(error))

Callback

'use strict'
 
const osa = require('osanywhereweather')
const options = {
  'stationId': 'your-station-id',
  'email': 'your-email@example.com',
  'password': 'YourTopSecretPassword',
  'type': 'temperature',
  'channel': '1',
  'fromdate': '2015-04-01',
  'todate': '2015-04-30'
}
 
osa.export(options, (error, data) => {
  if (error) {
    console.error(error)
  } else {
    console.log(data)
  }
})

Example of returned data for export

All data are in 5 minute block.,,,
utc,date,time,temperature (C)
2015-03-31T22:00:00,2015-04-01,00:00,-0.6
2015-03-31T23:00:00,2015-04-01,01:00,-3.2
2015-04-01T00:00:00,2015-04-01,02:00,-3.5
2015-04-01T01:00:00,2015-04-01,03:00,-4.6
2015-04-01T02:00:00,2015-04-01,04:00,-5.2
2015-04-01T03:00:00,2015-04-01,05:00,-4.9
2015-04-01T04:00:00,2015-04-01,06:00,-4.9
2015-04-01T05:00:00,2015-04-01,07:00,-4.0
2015-04-01T06:00:00,2015-04-01,08:00,0.2
2015-04-01T07:00:00,2015-04-01,09:00,3.5
2015-04-01T08:00:00,2015-04-01,10:00,6.6
2015-04-01T09:00:00,2015-04-01,11:00,7.0
2015-04-01T10:00:00,2015-04-01,12:00,4.7
2015-04-01T11:00:00,2015-04-01,13:00,5.6
2015-04-01T12:00:00,2015-04-01,14:00,7.0
2015-04-01T13:00:00,2015-04-01,15:00,7.7
2015-04-01T15:00:00,2015-04-01,17:00,6.1
2015-04-01T16:00:00,2015-04-01,18:00,5.4
2015-04-01T18:00:00,2015-04-01,20:00,0.4
2015-04-01T22:00:00,2015-04-02,00:00,-1.4
2015-04-01T23:00:00,2015-04-02,01:00,-1.2
2015-04-02T00:00:00,2015-04-02,02:00,-0.8
2015-04-02T01:00:00,2015-04-02,03:00,-0.8
2015-04-02T02:00:00,2015-04-02,04:00,-1.0
2015-04-02T03:00:00,2015-04-02,05:00,-2.1
2015-04-02T04:00:00,2015-04-02,06:00,-2.3
2015-04-02T05:00:00,2015-04-02,07:00,-2.2
2015-04-02T06:00:00,2015-04-02,08:00,0.2
2015-04-02T08:00:00,2015-04-02,10:00,10.1
2015-04-02T09:00:00,2015-04-02,11:00,11.0
2015-04-02T10:00:00,2015-04-02,12:00,3.7
2015-04-02T11:00:00,2015-04-02,13:00,4.1
2015-04-02T12:00:00,2015-04-02,14:00,6.2
2015-04-02T16:00:00,2015-04-02,18:00,6.8
2015-04-02T20:00:00,2015-04-02,22:00,-0.6
2015-04-02T23:00:00,2015-04-03,01:00,-5.6
2015-04-03T00:00:00,2015-04-03,02:00,-6.3
2015-04-03T01:00:00,2015-04-03,03:00,-6.6
2015-04-03T02:00:00,2015-04-03,04:00,-7.7
2015-04-03T03:00:00,2015-04-03,05:00,-7.8
2015-04-03T04:00:00,2015-04-03,06:00,-6.2
2015-04-03T05:00:00,2015-04-03,07:00,-4.6
2015-04-03T06:00:00,2015-04-03,08:00,1.8
2015-04-03T07:00:00,2015-04-03,09:00,6.7
2015-04-03T10:00:00,2015-04-03,12:00,5.2
2015-04-03T11:00:00,2015-04-03,13:00,5.8
2015-04-03T12:00:00,2015-04-03,14:00,7.7
2015-04-03T14:00:00,2015-04-03,16:00,12.0
2015-04-03T23:00:00,2015-04-04,01:00,-5.0
2015-04-04T00:00:00,2015-04-04,02:00,-6.3
2015-04-04T01:00:00,2015-04-04,03:00,-7.2
2015-04-04T02:00:00,2015-04-04,04:00,-8.0
2015-04-04T03:00:00,2015-04-04,05:00,-8.7
2015-04-04T04:00:00,2015-04-04,06:00,-9.0
2015-04-04T05:00:00,2015-04-04,07:00,-8.5
2015-04-04T06:00:00,2015-04-04,08:00,-2.8
2015-04-04T07:00:00,2015-04-04,09:00,6.8
2015-04-04T08:00:00,2015-04-04,10:00,14.2
2015-04-04T09:00:00,2015-04-04,11:00,7.9
2015-04-04T10:00:00,2015-04-04,12:00,4.2
2015-04-04T12:00:00,2015-04-04,14:00,9.6
2015-04-04T13:00:00,2015-04-04,15:00,11.4
2015-04-04T14:00:00,2015-04-04,16:00,11.8
2015-04-04T16:00:00,2015-04-04,18:00,7.3
2015-04-04T18:00:00,2015-04-04,20:00,0.2
2015-04-04T20:00:00,2015-04-04,22:00,-4.2
2015-04-04T22:00:00,2015-04-05,00:00,-5.5
2015-04-04T23:00:00,2015-04-05,01:00,-5.2
2015-04-05T00:00:00,2015-04-05,02:00,-5.9
2015-04-05T01:00:00,2015-04-05,03:00,-6.6
2015-04-05T02:00:00,2015-04-05,04:00,-7.2
2015-04-05T03:00:00,2015-04-05,05:00,-7.6
2015-04-05T04:00:00,2015-04-05,06:00,-6.7
2015-04-05T05:00:00,2015-04-05,07:00,-5.3
2015-04-05T06:00:00,2015-04-05,08:00,-1.3
2015-04-05T07:00:00,2015-04-05,09:00,0.8
2015-04-05T08:00:00,2015-04-05,10:00,2.8
2015-04-05T09:00:00,2015-04-05,11:00,5.1
2015-04-05T11:00:00,2015-04-05,13:00,6.4
2015-04-05T12:00:00,2015-04-05,14:00,7.6
2015-04-05T15:00:00,2015-04-05,17:00,4.8
2015-04-05T16:00:00,2015-04-05,18:00,3.5
2015-04-05T17:00:00,2015-04-05,19:00,3.0
2015-04-05T18:00:00,2015-04-05,20:00,1.6
2015-04-05T19:00:00,2015-04-05,21:00,1.2
2015-04-05T20:00:00,2015-04-05,22:00,0.9
2015-04-05T21:00:00,2015-04-05,23:00,0.7
2015-04-05T22:00:00,2015-04-06,00:00,0.7
2015-04-05T23:00:00,2015-04-06,01:00,0.6
2015-04-06T00:00:00,2015-04-06,02:00,0.7
2015-04-06T01:00:00,2015-04-06,03:00,0.6
2015-04-06T02:00:00,2015-04-06,04:00,0.5
2015-04-06T03:00:00,2015-04-06,05:00,0.2
2015-04-06T04:00:00,2015-04-06,06:00,-0.6
2015-04-06T05:00:00,2015-04-06,07:00,-1.0
2015-04-06T06:00:00,2015-04-06,08:00,0.8
2015-04-06T07:00:00,2015-04-06,09:00,8.1
2015-04-06T08:00:00,2015-04-06,10:00,13.7
2015-04-06T09:00:00,2015-04-06,11:00,12.0
2015-04-06T10:00:00,2015-04-06,12:00,8.8
2015-04-06T11:00:00,2015-04-06,13:00,9.5
2015-04-06T12:00:00,2015-04-06,14:00,13.2
2015-04-06T13:00:00,2015-04-06,15:00,13.9
2015-04-06T14:00:00,2015-04-06,16:00,12.3
2015-04-06T15:00:00,2015-04-06,17:00,11.6
2015-04-06T16:00:00,2015-04-06,18:00,11.9
2015-04-06T17:00:00,2015-04-06,19:00,8.4
2015-04-06T18:00:00,2015-04-06,20:00,4.6
2015-04-06T19:00:00,2015-04-06,21:00,6.1
2015-04-06T20:00:00,2015-04-06,22:00,5.5
2015-04-06T21:00:00,2015-04-06,23:00,3.7
2015-04-06T22:00:00,2015-04-07,00:00,4.9
2015-04-06T23:00:00,2015-04-07,01:00,5.3
2015-04-07T00:00:00,2015-04-07,02:00,5.2
2015-04-07T01:00:00,2015-04-07,03:00,6.0
2015-04-07T02:00:00,2015-04-07,04:00,6.1
2015-04-07T03:00:00,2015-04-07,05:00,5.8
2015-04-07T04:00:00,2015-04-07,06:00,5.5
2015-04-07T05:00:00,2015-04-07,07:00,5.0
2015-04-07T06:00:00,2015-04-07,08:00,6.1
2015-04-07T07:00:00,2015-04-07,09:00,7.2
2015-04-07T08:00:00,2015-04-07,10:00,9.8
2015-04-07T09:00:00,2015-04-07,11:00,11.9
2015-04-07T10:00:00,2015-04-07,12:00,10.9
2015-04-07T11:00:00,2015-04-07,13:00,11.5
2015-04-07T12:00:00,2015-04-07,14:00,11.1
2015-04-07T13:00:00,2015-04-07,15:00,9.3
2015-04-07T14:00:00,2015-04-07,16:00,9.2
2015-04-07T15:00:00,2015-04-07,17:00,9.1
2015-04-07T16:00:00,2015-04-07,18:00,7.8
2015-04-07T17:00:00,2015-04-07,19:00,6.4
2015-04-07T18:00:00,2015-04-07,20:00,8.1
2015-04-07T19:00:00,2015-04-07,21:00,7.7
2015-04-07T20:00:00,2015-04-07,22:00,7.3
2015-04-07T21:00:00,2015-04-07,23:00,7.0
2015-04-07T22:00:00,2015-04-08,00:00,5.5
2015-04-07T23:00:00,2015-04-08,01:00,3.8
2015-04-08T00:00:00,2015-04-08,02:00,5.3
2015-04-08T01:00:00,2015-04-08,03:00,3.8
2015-04-08T02:00:00,2015-04-08,04:00,4.7
2015-04-08T03:00:00,2015-04-08,05:00,4.0
2015-04-08T04:00:00,2015-04-08,06:00,3.8
2015-04-08T05:00:00,2015-04-08,07:00,4.1
2015-04-08T06:00:00,2015-04-08,08:00,4.5
2015-04-08T07:00:00,2015-04-08,09:00,4.9
2015-04-08T08:00:00,2015-04-08,10:00,5.9
2015-04-08T09:00:00,2015-04-08,11:00,7.1
2015-04-08T10:00:00,2015-04-08,12:00,8.1
2015-04-08T11:00:00,2015-04-08,13:00,8.9
2015-04-08T12:00:00,2015-04-08,14:00,12.9
2015-04-08T13:00:00,2015-04-08,15:00,14.1
2015-04-08T14:00:00,2015-04-08,16:00,14.2
2015-04-08T15:00:00,2015-04-08,17:00,13.4
2015-04-08T16:00:00,2015-04-08,18:00,10.7
2015-04-08T17:00:00,2015-04-08,19:00,7.0
2015-04-08T18:00:00,2015-04-08,20:00,4.2
2015-04-08T19:00:00,2015-04-08,21:00,3.5
2015-04-08T20:00:00,2015-04-08,22:00,1.3
2015-04-08T21:00:00,2015-04-08,23:00,0.9
2015-04-08T22:00:00,2015-04-09,00:00,-1.4
2015-04-08T23:00:00,2015-04-09,01:00,-2.1
2015-04-09T00:00:00,2015-04-09,02:00,-2.9
2015-04-09T01:00:00,2015-04-09,03:00,-3.3
2015-04-09T02:00:00,2015-04-09,04:00,-2.8
2015-04-09T03:00:00,2015-04-09,05:00,-2.3
2015-04-09T04:00:00,2015-04-09,06:00,-1.6
2015-04-09T05:00:00,2015-04-09,07:00,0.6
2015-04-09T06:00:00,2015-04-09,08:00,1.1
2015-04-09T07:00:00,2015-04-09,09:00,3.4
2015-04-09T08:00:00,2015-04-09,10:00,10.0
2015-04-09T09:00:00,2015-04-09,11:00,12.5
2015-04-09T10:00:00,2015-04-09,12:00,11.6
2015-04-09T11:00:00,2015-04-09,13:00,10.7
2015-04-09T12:00:00,2015-04-09,14:00,11.1
2015-04-09T13:00:00,2015-04-09,15:00,14.3
2015-04-09T14:00:00,2015-04-09,16:00,14.0
2015-04-09T15:00:00,2015-04-09,17:00,12.8
2015-04-09T16:00:00,2015-04-09,18:00,10.6
2015-04-09T17:00:00,2015-04-09,19:00,8.1
2015-04-09T18:00:00,2015-04-09,20:00,2.8
2015-04-09T19:00:00,2015-04-09,21:00,0.9
2015-04-09T20:00:00,2015-04-09,22:00,0.2
2015-04-09T21:00:00,2015-04-09,23:00,0.4
2015-04-09T22:00:00,2015-04-10,00:00,0.0
2015-04-09T23:00:00,2015-04-10,01:00,-0.6
2015-04-10T00:00:00,2015-04-10,02:00,-1.0
2015-04-10T01:00:00,2015-04-10,03:00,-1.7
2015-04-10T02:00:00,2015-04-10,04:00,-0.6
2015-04-10T03:00:00,2015-04-10,05:00,2.5
2015-04-10T04:00:00,2015-04-10,06:00,2.4
2015-04-10T05:00:00,2015-04-10,07:00,2.4
2015-04-10T06:00:00,2015-04-10,08:00,3.5
2015-04-10T07:00:00,2015-04-10,09:00,9.6
2015-04-10T08:00:00,2015-04-10,10:00,14.6
2015-04-10T09:00:00,2015-04-10,11:00,15.2
2015-04-10T10:00:00,2015-04-10,12:00,13.4
2015-04-10T11:00:00,2015-04-10,13:00,12.0
2015-04-10T12:00:00,2015-04-10,14:00,17.7
2015-04-10T13:00:00,2015-04-10,15:00,18.2
2015-04-10T14:00:00,2015-04-10,16:00,17.6
2015-04-10T15:00:00,2015-04-10,17:00,17.0
2015-04-10T16:00:00,2015-04-10,18:00,15.8
2015-04-10T17:00:00,2015-04-10,19:00,11.3
2015-04-10T18:00:00,2015-04-10,20:00,5.1
2015-04-10T19:00:00,2015-04-10,21:00,2.2
2015-04-10T20:00:00,2015-04-10,22:00,0.7
2015-04-10T21:00:00,2015-04-10,23:00,-0.5
2015-04-10T22:00:00,2015-04-11,00:00,-1.5
2015-04-10T23:00:00,2015-04-11,01:00,-1.9
2015-04-11T00:00:00,2015-04-11,02:00,-2.5
2015-04-11T01:00:00,2015-04-11,03:00,-2.1
2015-04-11T02:00:00,2015-04-11,04:00,-2.3
2015-04-11T03:00:00,2015-04-11,05:00,-2.5
2015-04-11T04:00:00,2015-04-11,06:00,-2.8
2015-04-11T05:00:00,2015-04-11,07:00,1.1
2015-04-11T06:00:00,2015-04-11,08:00,1.4
2015-04-11T07:00:00,2015-04-11,09:00,2.6
2015-04-11T08:00:00,2015-04-11,10:00,3.9
2015-04-11T09:00:00,2015-04-11,11:00,4.9
2015-04-11T10:00:00,2015-04-11,12:00,4.2
2015-04-11T14:00:00,2015-04-11,16:00,4.4
2015-04-11T15:00:00,2015-04-11,17:00,4.2
2015-04-11T16:00:00,2015-04-11,18:00,4.3
2015-04-11T17:00:00,2015-04-11,19:00,3.7
2015-04-11T18:00:00,2015-04-11,20:00,3.5
2015-04-11T19:00:00,2015-04-11,21:00,3.4
2015-04-11T20:00:00,2015-04-11,22:00,3.5
2015-04-11T21:00:00,2015-04-11,23:00,3.6
2015-04-11T22:00:00,2015-04-12,00:00,3.2
2015-04-12T00:00:00,2015-04-12,02:00,2.3
2015-04-12T01:00:00,2015-04-12,03:00,2.2
2015-04-12T02:00:00,2015-04-12,04:00,1.8
2015-04-12T03:00:00,2015-04-12,05:00,2.0
2015-04-12T04:00:00,2015-04-12,06:00,1.6
2015-04-12T05:00:00,2015-04-12,07:00,0.8
2015-04-12T06:00:00,2015-04-12,08:00,3.7
2015-04-12T07:00:00,2015-04-12,09:00,9.8
2015-04-12T08:00:00,2015-04-12,10:00,12.1
2015-04-12T09:00:00,2015-04-12,11:00,12.8
2015-04-12T10:00:00,2015-04-12,12:00,9.3
2015-04-12T11:00:00,2015-04-12,13:00,6.3
2015-04-12T12:00:00,2015-04-12,14:00,10.4
2015-04-12T13:00:00,2015-04-12,15:00,9.1
2015-04-12T14:00:00,2015-04-12,16:00,8.6
2015-04-12T15:00:00,2015-04-12,17:00,9.0
2015-04-12T16:00:00,2015-04-12,18:00,5.3
2015-04-12T19:00:00,2015-04-12,21:00,1.0
2015-04-12T20:00:00,2015-04-12,22:00,-0.3
2015-04-12T21:00:00,2015-04-12,23:00,-1.5
2015-04-12T22:00:00,2015-04-13,00:00,-2.2
2015-04-12T23:00:00,2015-04-13,01:00,-1.8
2015-04-13T00:00:00,2015-04-13,02:00,-1.9
2015-04-13T01:00:00,2015-04-13,03:00,-2.1
2015-04-13T02:00:00,2015-04-13,04:00,-0.9
2015-04-13T03:00:00,2015-04-13,05:00,-0.9
2015-04-13T04:00:00,2015-04-13,06:00,-0.5
2015-04-13T05:00:00,2015-04-13,07:00,1.8
2015-04-13T06:00:00,2015-04-13,08:00,3.1
2015-04-13T07:00:00,2015-04-13,09:00,9.2
2015-04-13T08:00:00,2015-04-13,10:00,11.0
2015-04-13T09:00:00,2015-04-13,11:00,10.3
2015-04-13T10:00:00,2015-04-13,12:00,7.9
2015-04-13T11:00:00,2015-04-13,13:00,4.7
2015-04-13T12:00:00,2015-04-13,14:00,8.3
2015-04-13T13:00:00,2015-04-13,15:00,8.1
2015-04-13T14:00:00,2015-04-13,16:00,7.4
2015-04-13T15:00:00,2015-04-13,17:00,6.2
2015-04-13T16:00:00,2015-04-13,18:00,6.1
2015-04-13T17:00:00,2015-04-13,19:00,3.6
2015-04-13T18:00:00,2015-04-13,20:00,0.7
2015-04-13T19:00:00,2015-04-13,21:00,-0.4
2015-04-13T20:00:00,2015-04-13,22:00,-0.4
2015-04-13T21:00:00,2015-04-13,23:00,-0.6
2015-04-13T22:00:00,2015-04-14,00:00,-0.8
2015-04-13T23:00:00,2015-04-14,01:00,-1.8
2015-04-14T00:00:00,2015-04-14,02:00,-2.3
2015-04-14T01:00:00,2015-04-14,03:00,-2.4
2015-04-14T02:00:00,2015-04-14,04:00,-2.0
2015-04-14T03:00:00,2015-04-14,05:00,-1.4
2015-04-14T04:00:00,2015-04-14,06:00,-1.0
2015-04-14T05:00:00,2015-04-14,07:00,-1.4
2015-04-14T06:00:00,2015-04-14,08:00,-1.2
2015-04-14T07:00:00,2015-04-14,09:00,-0.9
2015-04-14T08:00:00,2015-04-14,10:00,-0.3
2015-04-14T09:00:00,2015-04-14,11:00,1.7
2015-04-14T10:00:00,2015-04-14,12:00,2.8
2015-04-14T11:00:00,2015-04-14,13:00,3.9
2015-04-14T12:00:00,2015-04-14,14:00,8.0
2015-04-14T13:00:00,2015-04-14,15:00,11.3
2015-04-14T14:00:00,2015-04-14,16:00,10.8
2015-04-14T15:00:00,2015-04-14,17:00,12.5
2015-04-14T16:00:00,2015-04-14,18:00,10.9
2015-04-14T17:00:00,2015-04-14,19:00,9.0
2015-04-14T18:00:00,2015-04-14,20:00,6.7
2015-04-14T19:00:00,2015-04-14,21:00,3.3
2015-04-14T20:00:00,2015-04-14,22:00,0.8
2015-04-14T21:00:00,2015-04-14,23:00,-0.6
2015-04-14T22:00:00,2015-04-15,00:00,-1.7
2015-04-14T23:00:00,2015-04-15,01:00,-1.8
2015-04-15T00:00:00,2015-04-15,02:00,-1.9
2015-04-15T01:00:00,2015-04-15,03:00,-2.3
2015-04-15T02:00:00,2015-04-15,04:00,-2.1
2015-04-15T03:00:00,2015-04-15,05:00,-1.5
2015-04-15T04:00:00,2015-04-15,06:00,-0.5
2015-04-15T05:00:00,2015-04-15,07:00,1.4
2015-04-15T06:00:00,2015-04-15,08:00,4.3
2015-04-15T07:00:00,2015-04-15,09:00,4.9
2015-04-15T08:00:00,2015-04-15,10:00,5.9
2015-04-15T09:00:00,2015-04-15,11:00,5.7
2015-04-15T10:00:00,2015-04-15,12:00,6.7
2015-04-15T11:00:00,2015-04-15,13:00,7.9
2015-04-15T12:00:00,2015-04-15,14:00,8.3
2015-04-15T13:00:00,2015-04-15,15:00,8.3
2015-04-15T14:00:00,2015-04-15,16:00,8.3
2015-04-15T15:00:00,2015-04-15,17:00,8.8
2015-04-15T16:00:00,2015-04-15,18:00,7.9
2015-04-15T17:00:00,2015-04-15,19:00,5.9
2015-04-15T18:00:00,2015-04-15,20:00,3.9
2015-04-15T19:00:00,2015-04-15,21:00,3.5
2015-04-15T20:00:00,2015-04-15,22:00,3.2
2015-04-15T21:00:00,2015-04-15,23:00,3.2
2015-04-15T22:00:00,2015-04-16,00:00,1.6
2015-04-15T23:00:00,2015-04-16,01:00,-0.7
2015-04-16T00:00:00,2015-04-16,02:00,-1.4
2015-04-16T01:00:00,2015-04-16,03:00,-1.0
2015-04-16T02:00:00,2015-04-16,04:00,-1.6
2015-04-16T03:00:00,2015-04-16,05:00,-0.9
2015-04-16T04:00:00,2015-04-16,06:00,-0.1
2015-04-16T05:00:00,2015-04-16,07:00,2.8
2015-04-16T06:00:00,2015-04-16,08:00,4.5
2015-04-16T07:00:00,2015-04-16,09:00,9.0
2015-04-16T08:00:00,2015-04-16,10:00,11.0
2015-04-16T09:00:00,2015-04-16,11:00,11.8
2015-04-16T10:00:00,2015-04-16,12:00,10.3
2015-04-16T11:00:00,2015-04-16,13:00,7.1
2015-04-16T12:00:00,2015-04-16,14:00,9.4
2015-04-16T13:00:00,2015-04-16,15:00,9.0
2015-04-16T14:00:00,2015-04-16,16:00,8.1
2015-04-16T15:00:00,2015-04-16,17:00,7.8
2015-04-16T16:00:00,2015-04-16,18:00,8.7
2015-04-16T17:00:00,2015-04-16,19:00,6.1
2015-04-16T18:00:00,2015-04-16,20:00,3.8
2015-04-16T19:00:00,2015-04-16,21:00,1.8
2015-04-16T20:00:00,2015-04-16,22:00,0.8
2015-04-16T21:00:00,2015-04-16,23:00,-1.2
2015-04-16T22:00:00,2015-04-17,00:00,-2.3
2015-04-16T23:00:00,2015-04-17,01:00,-1.7
2015-04-17T00:00:00,2015-04-17,02:00,-1.5
2015-04-17T01:00:00,2015-04-17,03:00,-2.5
2015-04-17T02:00:00,2015-04-17,04:00,-3.0
2015-04-17T03:00:00,2015-04-17,05:00,-0.5
2015-04-17T04:00:00,2015-04-17,06:00,0.7
2015-04-17T05:00:00,2015-04-17,07:00,1.9
2015-04-17T06:00:00,2015-04-17,08:00,4.3
2015-04-17T07:00:00,2015-04-17,09:00,11.4
2015-04-17T08:00:00,2015-04-17,10:00,12.1
2015-04-17T09:00:00,2015-04-17,11:00,14.0
2015-04-17T10:00:00,2015-04-17,12:00,14.3
2015-04-17T11:00:00,2015-04-17,13:00,9.9
2015-04-17T12:00:00,2015-04-17,14:00,13.2
2015-04-17T13:00:00,2015-04-17,15:00,15.3
2015-04-17T14:00:00,2015-04-17,16:00,14.5
2015-04-17T15:00:00,2015-04-17,17:00,14.8
2015-04-17T16:00:00,2015-04-17,18:00,14.2
2015-04-17T17:00:00,2015-04-17,19:00,12.0
2015-04-17T18:00:00,2015-04-17,20:00,6.4
2015-04-17T19:00:00,2015-04-17,21:00,2.9
2015-04-17T20:00:00,2015-04-17,22:00,0.4
2015-04-17T21:00:00,2015-04-17,23:00,-0.8
2015-04-17T22:00:00,2015-04-18,00:00,-2.0
2015-04-17T23:00:00,2015-04-18,01:00,-2.6
2015-04-18T00:00:00,2015-04-18,02:00,-3.2
2015-04-18T01:00:00,2015-04-18,03:00,-3.7
2015-04-18T02:00:00,2015-04-18,04:00,-4.1
2015-04-18T03:00:00,2015-04-18,05:00,-4.5
2015-04-18T04:00:00,2015-04-18,06:00,-4.6
2015-04-18T05:00:00,2015-04-18,07:00,-1.3
2015-04-18T06:00:00,2015-04-18,08:00,2.7
2015-04-18T07:00:00,2015-04-18,09:00,9.6
2015-04-18T08:00:00,2015-04-18,10:00,13.6
2015-04-18T09:00:00,2015-04-18,11:00,16.8
2015-04-18T10:00:00,2015-04-18,12:00,17.0
2015-04-18T11:00:00,2015-04-18,13:00,12.1
2015-04-18T12:00:00,2015-04-18,14:00,17.1
2015-04-18T14:00:00,2015-04-18,16:00,16.5
2015-04-18T15:00:00,2015-04-18,17:00,13.7
2015-04-18T16:00:00,2015-04-18,18:00,12.2
2015-04-18T17:00:00,2015-04-18,19:00,10.5
2015-04-18T18:00:00,2015-04-18,20:00,8.5
2015-04-18T19:00:00,2015-04-18,21:00,7.8
2015-04-18T20:00:00,2015-04-18,22:00,6.1
2015-04-18T21:00:00,2015-04-18,23:00,5.2
2015-04-18T22:00:00,2015-04-19,00:00,4.4
2015-04-18T23:00:00,2015-04-19,01:00,4.3
2015-04-19T00:00:00,2015-04-19,02:00,4.3
2015-04-19T01:00:00,2015-04-19,03:00,1.4
2015-04-19T02:00:00,2015-04-19,04:00,-0.9
2015-04-19T03:00:00,2015-04-19,05:00,-1.8
2015-04-19T04:00:00,2015-04-19,06:00,-2.2
2015-04-19T05:00:00,2015-04-19,07:00,-0.3
2015-04-19T06:00:00,2015-04-19,08:00,3.6
2015-04-19T07:00:00,2015-04-19,09:00,6.6
2015-04-19T08:00:00,2015-04-19,10:00,9.7
2015-04-19T09:00:00,2015-04-19,11:00,12.6
2015-04-19T10:00:00,2015-04-19,12:00,16.1
2015-04-19T11:00:00,2015-04-19,13:00,13.6
2015-04-19T12:00:00,2015-04-19,14:00,18.7
2015-04-19T13:00:00,2015-04-19,15:00,19.8
2015-04-19T14:00:00,2015-04-19,16:00,19.2
2015-04-19T15:00:00,2015-04-19,17:00,19.5
2015-04-19T16:00:00,2015-04-19,18:00,19.5
2015-04-19T17:00:00,2015-04-19,19:00,17.9
2015-04-19T18:00:00,2015-04-19,20:00,9.8
2015-04-19T19:00:00,2015-04-19,21:00,6.4
2015-04-19T20:00:00,2015-04-19,22:00,4.7
2015-04-19T21:00:00,2015-04-19,23:00,3.6
2015-04-19T22:00:00,2015-04-20,00:00,2.8
2015-04-19T23:00:00,2015-04-20,01:00,1.5
2015-04-20T00:00:00,2015-04-20,02:00,0.4
2015-04-20T01:00:00,2015-04-20,03:00,0.2
2015-04-20T02:00:00,2015-04-20,04:00,-0.8
2015-04-20T03:00:00,2015-04-20,05:00,-1.6
2015-04-20T04:00:00,2015-04-20,06:00,-1.7
2015-04-20T05:00:00,2015-04-20,07:00,1.1
2015-04-20T06:00:00,2015-04-20,08:00,6.1
2015-04-20T07:00:00,2015-04-20,09:00,18.3
2015-04-20T08:00:00,2015-04-20,10:00,22.2
2015-04-20T09:00:00,2015-04-20,11:00,26.7
2015-04-20T10:00:00,2015-04-20,12:00,23.6
2015-04-20T11:00:00,2015-04-20,13:00,19.3
2015-04-20T12:00:00,2015-04-20,14:00,19.4
2015-04-20T13:00:00,2015-04-20,15:00,19.2
2015-04-20T14:00:00,2015-04-20,16:00,17.9
2015-04-20T15:00:00,2015-04-20,17:00,17.4
2015-04-20T16:00:00,2015-04-20,18:00,17.5
2015-04-20T17:00:00,2015-04-20,19:00,15.5
2015-04-20T18:00:00,2015-04-20,20:00,12.7
2015-04-20T19:00:00,2015-04-20,21:00,10.3
2015-04-20T20:00:00,2015-04-20,22:00,6.8
2015-04-20T21:00:00,2015-04-20,23:00,5.0
2015-04-20T22:00:00,2015-04-21,00:00,2.6
2015-04-20T23:00:00,2015-04-21,01:00,1.6
2015-04-21T00:00:00,2015-04-21,02:00,0.2
2015-04-21T01:00:00,2015-04-21,03:00,0.2
2015-04-21T02:00:00,2015-04-21,04:00,-0.4
2015-04-21T03:00:00,2015-04-21,05:00,-1.5
2015-04-21T04:00:00,2015-04-21,06:00,-1.7
2015-04-21T05:00:00,2015-04-21,07:00,2.0
2015-04-21T06:00:00,2015-04-21,08:00,5.9
2015-04-21T07:00:00,2015-04-21,09:00,17.2
2015-04-21T08:00:00,2015-04-21,10:00,18.6
2015-04-21T09:00:00,2015-04-21,11:00,19.6
2015-04-21T10:00:00,2015-04-21,12:00,19.7
2015-04-21T11:00:00,2015-04-21,13:00,15.1
2015-04-21T12:00:00,2015-04-21,14:00,19.4
2015-04-21T13:00:00,2015-04-21,15:00,19.9
2015-04-21T14:00:00,2015-04-21,16:00,17.9
2015-04-21T15:00:00,2015-04-21,17:00,16.1
2015-04-21T16:00:00,2015-04-21,18:00,14.9
2015-04-21T17:00:00,2015-04-21,19:00,13.8
2015-04-21T18:00:00,2015-04-21,20:00,10.6
2015-04-21T19:00:00,2015-04-21,21:00,8.0
2015-04-21T20:00:00,2015-04-21,22:00,6.9
2015-04-21T21:00:00,2015-04-21,23:00,2.8
2015-04-21T22:00:00,2015-04-22,00:00,2.5
2015-04-21T23:00:00,2015-04-22,01:00,1.0
2015-04-22T00:00:00,2015-04-22,02:00,0.2
2015-04-22T01:00:00,2015-04-22,03:00,-0.7
2015-04-22T02:00:00,2015-04-22,04:00,-1.8
2015-04-22T03:00:00,2015-04-22,05:00,-2.2
2015-04-22T04:00:00,2015-04-22,06:00,-1.8
2015-04-22T05:00:00,2015-04-22,07:00,2.1
2015-04-22T06:00:00,2015-04-22,08:00,7.1
2015-04-22T07:00:00,2015-04-22,09:00,14.6
2015-04-22T08:00:00,2015-04-22,10:00,20.6
2015-04-22T09:00:00,2015-04-22,11:00,20.5
2015-04-22T10:00:00,2015-04-22,12:00,19.9
2015-04-22T11:00:00,2015-04-22,13:00,14.8
2015-04-22T12:00:00,2015-04-22,14:00,18.3
2015-04-22T13:00:00,2015-04-22,15:00,17.4
2015-04-22T14:00:00,2015-04-22,16:00,16.0
2015-04-22T15:00:00,2015-04-22,17:00,15.3
2015-04-22T16:00:00,2015-04-22,18:00,15.1
2015-04-22T17:00:00,2015-04-22,19:00,13.4
2015-04-22T18:00:00,2015-04-22,20:00,11.0
2015-04-22T19:00:00,2015-04-22,21:00,8.9
2015-04-22T20:00:00,2015-04-22,22:00,8.8
2015-04-22T21:00:00,2015-04-22,23:00,8.2
2015-04-22T22:00:00,2015-04-23,00:00,8.1
2015-04-22T23:00:00,2015-04-23,01:00,8.5
2015-04-23T00:00:00,2015-04-23,02:00,8.8
2015-04-23T01:00:00,2015-04-23,03:00,8.6
2015-04-23T02:00:00,2015-04-23,04:00,8.6
2015-04-23T03:00:00,2015-04-23,05:00,8.4
2015-04-23T04:00:00,2015-04-23,06:00,7.8
2015-04-23T05:00:00,2015-04-23,07:00,8.2
2015-04-23T06:00:00,2015-04-23,08:00,8.9
2015-04-23T07:00:00,2015-04-23,09:00,12.9
2015-04-23T08:00:00,2015-04-23,10:00,15.0
2015-04-23T09:00:00,2015-04-23,11:00,16.1
2015-04-23T10:00:00,2015-04-23,12:00,14.9
2015-04-23T11:00:00,2015-04-23,13:00,11.0
2015-04-23T12:00:00,2015-04-23,14:00,13.9
2015-04-23T13:00:00,2015-04-23,15:00,13.4
2015-04-23T14:00:00,2015-04-23,16:00,12.4
2015-04-23T15:00:00,2015-04-23,17:00,11.9
2015-04-23T16:00:00,2015-04-23,18:00,11.1
2015-04-23T17:00:00,2015-04-23,19:00,9.3
2015-04-23T18:00:00,2015-04-23,20:00,6.4
2015-04-23T19:00:00,2015-04-23,21:00,4.5
2015-04-23T20:00:00,2015-04-23,22:00,3.1
2015-04-23T21:00:00,2015-04-23,23:00,0.9
2015-04-23T22:00:00,2015-04-24,00:00,0.4
2015-04-23T23:00:00,2015-04-24,01:00,0.5
2015-04-24T00:00:00,2015-04-24,02:00,1.6
2015-04-24T01:00:00,2015-04-24,03:00,2.3
2015-04-24T02:00:00,2015-04-24,04:00,2.3
2015-04-24T03:00:00,2015-04-24,05:00,2.4
2015-04-24T04:00:00,2015-04-24,06:00,2.6
2015-04-24T05:00:00,2015-04-24,07:00,2.9
2015-04-24T06:00:00,2015-04-24,08:00,5.2
2015-04-24T07:00:00,2015-04-24,09:00,6.8
2015-04-24T08:00:00,2015-04-24,10:00,8.0
2015-04-24T09:00:00,2015-04-24,11:00,7.8
2015-04-24T10:00:00,2015-04-24,12:00,8.8
2015-04-24T11:00:00,2015-04-24,13:00,9.3
2015-04-24T12:00:00,2015-04-24,14:00,9.5
2015-04-24T13:00:00,2015-04-24,15:00,10.0
2015-04-24T14:00:00,2015-04-24,16:00,10.2
2015-04-24T15:00:00,2015-04-24,17:00,10.9
2015-04-24T16:00:00,2015-04-24,18:00,8.8
2015-04-24T17:00:00,2015-04-24,19:00,7.8
2015-04-24T18:00:00,2015-04-24,20:00,6.7
2015-04-24T19:00:00,2015-04-24,21:00,5.5
2015-04-24T20:00:00,2015-04-24,22:00,5.1
2015-04-24T21:00:00,2015-04-24,23:00,5.0
2015-04-24T22:00:00,2015-04-25,00:00,3.6
2015-04-24T23:00:00,2015-04-25,01:00,1.4
2015-04-25T00:00:00,2015-04-25,02:00,2.1
2015-04-25T01:00:00,2015-04-25,03:00,1.0
2015-04-25T02:00:00,2015-04-25,04:00,1.9
2015-04-25T03:00:00,2015-04-25,05:00,1.3
2015-04-25T04:00:00,2015-04-25,06:00,2.8
2015-04-25T05:00:00,2015-04-25,07:00,3.4
2015-04-25T06:00:00,2015-04-25,08:00,3.7
2015-04-25T07:00:00,2015-04-25,09:00,3.6
2015-04-25T08:00:00,2015-04-25,10:00,4.2
2015-04-25T09:00:00,2015-04-25,11:00,4.8
2015-04-25T10:00:00,2015-04-25,12:00,5.0
2015-04-25T11:00:00,2015-04-25,13:00,5.8
2015-04-25T12:00:00,2015-04-25,14:00,5.9
2015-04-25T13:00:00,2015-04-25,15:00,6.1
2015-04-25T14:00:00,2015-04-25,16:00,6.8
2015-04-25T15:00:00,2015-04-25,17:00,7.4
2015-04-25T16:00:00,2015-04-25,18:00,7.5
2015-04-25T17:00:00,2015-04-25,19:00,7.3
2015-04-25T18:00:00,2015-04-25,20:00,6.8
2015-04-25T19:00:00,2015-04-25,21:00,5.9
2015-04-25T20:00:00,2015-04-25,22:00,4.4
2015-04-25T21:00:00,2015-04-25,23:00,1.8
2015-04-25T22:00:00,2015-04-26,00:00,-0.6
2015-04-25T23:00:00,2015-04-26,01:00,-0.9
2015-04-26T00:00:00,2015-04-26,02:00,-0.9
2015-04-26T01:00:00,2015-04-26,03:00,-1.8
2015-04-26T02:00:00,2015-04-26,04:00,-1.7
2015-04-26T03:00:00,2015-04-26,05:00,-2.3
2015-04-26T04:00:00,2015-04-26,06:00,-1.9
2015-04-26T05:00:00,2015-04-26,07:00,1.0
2015-04-26T06:00:00,2015-04-26,08:00,2.6
2015-04-26T07:00:00,2015-04-26,09:00,9.9
2015-04-26T08:00:00,2015-04-26,10:00,12.5
2015-04-26T09:00:00,2015-04-26,11:00,13.2
2015-04-26T10:00:00,2015-04-26,12:00,11.6
2015-04-26T11:00:00,2015-04-26,13:00,10.2
2015-04-26T12:00:00,2015-04-26,14:00,13.2
2015-04-26T13:00:00,2015-04-26,15:00,11.2
2015-04-26T14:00:00,2015-04-26,16:00,11.7
2015-04-26T15:00:00,2015-04-26,17:00,11.2
2015-04-26T16:00:00,2015-04-26,18:00,10.5
2015-04-26T17:00:00,2015-04-26,19:00,8.2
2015-04-26T18:00:00,2015-04-26,20:00,4.4
2015-04-26T19:00:00,2015-04-26,21:00,0.4
2015-04-26T20:00:00,2015-04-26,22:00,-1.5
2015-04-26T21:00:00,2015-04-26,23:00,-2.6
2015-04-26T22:00:00,2015-04-27,00:00,-3.2

Docker

To run this module as a service use the docker image.

At the moment the docker version only supports getLiveData.

Change the ENV parts of the Dockerfile or use docker.env

Build

$ docker build -t osanywhereweather .

Run a container

$ docker run --rm osanywhereweather 

or

$ docker run --env-file=docker.env --rm osanywhereweather 

This will spin up a container. Do the job. Shut it down and remove it.

Disclaimer

This is not an official API from Oregon Scientific.

License

MIT

Package Sidebar

Install

npm i osanywhereweather

Weekly Downloads

18

Version

3.0.2

License

MIT

Unpacked Size

60.8 kB

Total Files

30

Last publish

Collaborators

  • zrrrzzt