Socket
Socket
Sign inDemoInstall

airrohr-prediction

Package Overview
Dependencies
12
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    airrohr-prediction

Airrohr sensor lower boundary predictions


Version published
Weekly downloads
3
decreased by-70%
Maintainers
1
Install size
617 kB
Created
Weekly downloads
 

Readme

Source

airrohr-prediction

Predicts the next observation made by a given airrohr sensor using the lower bound of the prediction interval in order to provide a more robust threshold monitoring, e. g. in feinstaub-bot. Thanks to @dirkschumacher. Work in progress.

npm version Build Status dependency status dev dependency status license chat on gitter

Installation

npm install --save airrohr-prediction

Usage

const prediction = require('airrohr-prediction')

prediction(1438) // sensor ID
.then(…)

Returns a Promise that will resolve in something like this:

{
    "PM10": {
        "lower": 9.416389708062244,
        "upper": 12.069610291937757,
        "expected": 10.743
    },
    "PM2.5": {
        "lower": 8.471014962809521,
        "upper": 10.416985037190477,
        "expected": 9.443999999999999
    }
}

See also

  • feinstaub-bot - Twitter bot that monitors fine dust pollution for a given site or area via airrohr sensors.

Contributing

If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.

Keywords

FAQs

Last updated on 28 Aug 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc