Skip to content

Lyubomir-Todorov/node-red-contrib-sgp30

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Node-RED node providing access to the SGP30 Air Quality Sensor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published