node-red-contrib-sgp30 0.0.6
A Node-RED node that provides access to the SGP30 air quality sensor
node-red-contrib-sgp30
A Node-RED node that provides access to the SGP30 air quality sensor.
This package uses Xoblite's Breakout Gardener library to access the SGP30
The package was tested with the SGP30 Air Quality Sensor Breakout from Pimoroni
Table of Contents
Install
Install through Node-RED's pallete manager, or
Run the following command in your Node-RED user directory - most likely at ~/.node-red/
:
npm install node-red-contrib-sgp30
Usage
Outputs total volatile organic compounds (TVOC) and equivalent CO2 (eCO2) readings. Also provides an overall score of the air quality based on the eCO2 reading.
Air Quality | Description |
---|---|
1 | Excellent |
2 | Good |
3 | Moderate |
4 | Poor |
5 | Unhealthy |
Example
Name
The name displayed on the node in the editor
I2C Address
The device address. By default, this value is 0x58
I2C Bus
The I2C bus used by the device. By default, this value is 1
Bugs / Feature request
Please report any issues here
License
This project is licensed under the MIT license.