Skip to main content

No project description provided

Project description

# Airer

Airer is a utility designed to read the Nova SDS011 particulate matter sensor.

## Vision

While at the moment Airer only supports the SDS011 sensor, the vision is to grow Airer to include support for other air quality sensors, enabling anyone to rapidly produce applications to monitor air quality.

If you are interested in helping bring this vision closer to reality, please consider [contributing](CONTRIBUTING.md)!

## Usage

### SDS011

The SDS011 particulate matter sensor is supported through the sds011 module. This module acts as both a library for interfacing with your application, but a command-line interface is also provided to manually manage your sensor.

Once installed, the CLI can rapidly be used:

`bash $ python -m airer.sds011 usage: sds011.py [-h] [-d DEVICE] [-s SPEED] {read,mode} ... `

Factory-shipped, the SDS011 will run in the active mode, where it will frequently take readings when powered, regardless of anything receiving or using these. This, together with the limited lifetime of the laser (around 8,000 hours), may make it desirable to take readings on demand using query mode.

To check what mode your SDS011 is currently set to using the CLI:

`bash $ python -m airer.sds011 mode Device ID: 61697 Reporting Mode: active `

To put the SDS011 into query mode, and persist this change between power cycles:

`bash $ python -m airer.sds011 mode query Device ID: 61697 Reporting Mode: query `

To take a reading of the sensor with the CLI while in query mode:

`bash $ python -m airer.sds011 read --query Device ID: 61697 PM2.5 (µg/m³): 1.5 PM10 (µg/m³): 1.7 `

In active mode, omitting –query is all that is required.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Airer-0.1.1.dev0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

Airer-0.1.1.dev0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file Airer-0.1.1.dev0.tar.gz.

File metadata

  • Download URL: Airer-0.1.1.dev0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for Airer-0.1.1.dev0.tar.gz
Algorithm Hash digest
SHA256 34abd654016460b5f585af466c6fb0182ccf1f91dd7c2bc2d0a2c67d1229b526
MD5 bf15c4d4696c0d13345c01c221f7ea8e
BLAKE2b-256 26bf3b430d41007599ed1c9491e4966467c07b0aa4d12f08266d50177d1b3d14

See more details on using hashes here.

File details

Details for the file Airer-0.1.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: Airer-0.1.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for Airer-0.1.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 71f9c3fb1f09dce53afcdbfb56ad301999ba5238b7fb3fd7cb99a2e295a0c378
MD5 7defd0919b221da822c87d54ed47e1f6
BLAKE2b-256 ec046dd23751ac7e0cb9bd515859e12ed73f3a8565ecb58362c5ebc83a4acb3e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page