Fetch sensor measurements from Airthings devices
Project description
airthings
airthings
is a simple python package that contains methods to
communicate with Airthings[1] devices. The package utilizies bluepy[2]
for the communication between python and the devices. The package
features can be found below.
Note: Some features are currently undocumented, and parts are untested/not yet implemented.
Features
- Autodiscover Airthings devices
- Find and search for Airthings devices by using MAC addresses and/or identifiers
- Fetch sensor measurements from various Airthings models, see sensor capability list below
Requirements
bluepy
only supports Linux, and is therefore currently the only
supported operating system. I have only tested with the
Wave Plus Gen 1 (2930)
. Other device models should in theory work
fine, but they are untested or might be unimplemented.
System requirements:
- libglib2.0-dev
Installation
------------
The current stable version of airthings is available on pypi and can be
installed by running:
``pip install airthings``
Other sources:
- pypi: http://pypi.python.org/pypi/airthings/
- github: https://github.com/kotlarz/airthings/
Usage
-----
Examples can be found in the `examples <./examples>`__ directory.
Supported devices
-----------------
*Note: “Model number” are the first 4 digits of the Airthings device
serial number*
Wave Gen 1 (Model number: 2900)
On 1st Gen Wave, temperature and humidity are updated every time we read the wave.
Sensor capabilities ^^^^^^^^^^^^^^^^^^^
- Humidity (%rH)
- Radon short term average (Bp/m3)
- Radon long term average (Bq/m3)
- Temperature (°C)
Wave Mini Gen 1 (Model number: 2920)
Sensor values are updated every 5 minutes.
.. _sensor-capabilities-1:
Sensor capabilities
^^^^^^^^^^^^^^^^^^^
- Humidity (%rH)
- Temperature (°C)
- VOC (ppb)
Wave Plus Gen 1 (Model number: 2930)
Except for the radon measurements, the Wave Plus updates its current sensor values once every 5 minutes. Radon measurements are updated once every hour.
.. _sensor-capabilities-2:
Sensor capabilities ^^^^^^^^^^^^^^^^^^^
- Humidity (%rH)
- Radon short term average (Bp/m3)
- Radon long term average (Bq/m3)
- Temperature (°C)
- Atmospheric pressure (hPa)
- CO2 (ppm)
- VOC (ppb)
Wave Gen 2 (Model number: 2950)
On 2nd Gen Wave, temperature and humidity are updated every 5 minutes.
On both devices, radon measurements are updated once every hour.
.. _sensor-capabilities-3:
Sensor capabilities
^^^^^^^^^^^^^^^^^^^
- Humidity (%rH)
- Radon short term average (Bp/m3)
- Radon long term average (Bq/m3)
- Temperature (°C)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file airthings-3.2.0.tar.gz
.
File metadata
- Download URL: airthings-3.2.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f965872f58a8d5b1800bff87bf2ae4fda2b51c0830bae4076242290f9cfae601 |
|
MD5 | 1e2a4ca2546fad4a3318bbe6f9772541 |
|
BLAKE2b-256 | e0fd0db596fba77d300f1519b4d002e4295fff3aee580e707647bb3b79eae52e |
File details
Details for the file airthings-3.2.0-py3-none-any.whl
.
File metadata
- Download URL: airthings-3.2.0-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31bad1931e81ee9062900f5422260ba67a6714c203d55d883074e86b8c888e5a |
|
MD5 | 837f254adba0517e90249e6aea01e3a8 |
|
BLAKE2b-256 | d7221ddc7e8b19a827e193e979ee2a9204b27922317e6309e6b3e723b3d2504a |