0.0.2 • Published 5 years ago

observe-weather v0.0.2

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
5 years ago

observe-weather

A plugin for remote-observer that interfaces with a weather station

This controller parses a weather file of the format:

temperature=64
dewTemperature=42
windSpeed=7.345
windDirection=284.0425
pressure=29.96
rainFall=0.000

Setup

Inside the observe-client config, add the controller:

module.exports = {
  firebase: {
    // ...
  },
  controllers: [
    {
      type: 'weather',
      package: 'observe-weather',
      filePath: '/an/absolute/observe-weather/example-weather-file.txt',
    }
  ]
}

Deploy a new version

  1. Execute npm version patch - preferrable a patch or minor relea
  2. Execute git push origin master --tags
  3. Execute npm publish
  4. Withing the remote-observe web client, initiate a reload