https://github.com/iler/node-airthings-waveplus
Node.js module for reading data from a Airthings Wave Plus indoor air quality monitor.
https://github.com/iler/node-airthings-waveplus
airthings-wave-plus co2 humidity javascript nodejs radon sensor temperature
Last synced: 8 months ago
JSON representation
Node.js module for reading data from a Airthings Wave Plus indoor air quality monitor.
- Host: GitHub
- URL: https://github.com/iler/node-airthings-waveplus
- Owner: iler
- License: isc
- Created: 2020-05-03T11:33:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T09:13:06.000Z (almost 6 years ago)
- Last Synced: 2025-02-28T14:44:42.409Z (over 1 year ago)
- Topics: airthings-wave-plus, co2, humidity, javascript, nodejs, radon, sensor, temperature
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 4
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-airthings-waveplus
Node.js module for reading data from a [Airthings Wave Plus](https://www.airthings.com/wave-plus)
indoor air quality monitor.
Tested on Raspberry Pi 3. Depends on [noble](https://github.com/abandonware/noble). See [instructions](https://github.com/abandonware/noble) on
how to enable BLE on RasPi and how to run without root.
### Installation
```
npm install airthings-waveplus
```
### Usage example
### Events
Module ```wavePlus``` emits a ```found``` event, when a new Wave Plus device
is discovered. Event's payload is a ```wavePlus``` object (see below)
### API
### ```wavePlus``` object
Is an ```eventEmitter``` .
**Properties:**
* ```id```: id of beacon
* ```address```: address of beacon
* ```serialNumber```: serial number of device
* ```connectable```: flag if beacon is connectable
**Events:**
```updated```: emitted when air quality data is received.
Object ```data``` has following properties:
* ```rssi```
* ```humidity```
* ```temperature```
* ```pressure```
* ```co2```
* ```voc```
* ```radonLtAvg```
* ```radonStAvg```
Kudos for inspiration and example to [pakastin](https://github.com/pakastin/node-ruuvitag/)!