node-airthings-waveplus
v0.2.2
Published
Read data from Airthings Wave Plus air quality monitor
Downloads
10
Maintainers
Readme
node-airthings-waveplus
Node.js module for reading data from a Airthings Wave Plus indoor air quality monitor.
Tested on Raspberry Pi 3. Depends on noble. See instructions 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 beaconaddress
: address of beaconserialNumber
: serial number of deviceconnectable
: 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!