Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

UNMAINTAINED AND PROBABLY NOT WORKING ANYMORE. Airrohr sensor lower boundary predictions (work in progress)

License

Notifications You must be signed in to change notification settings

juliuste/airrohr-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

UNMAINTAINED AND PROBABLY NOT WORKING ANYMORE. Airrohr sensor lower boundary predictions (work in progress)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published