Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 2.18 KB

README.md

File metadata and controls

70 lines (46 loc) · 2.18 KB

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

SGP30 Datasheet

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

Screenshot 2021-11-14 203212 Screenshot 2022-02-20 114914

Example setup using this node to trigger a reading once every second.

For the best results, readings should be taken once every second

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.