npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-red-contrib-periph-humidity

v1.6.1

Published

Node-RED nodes for humidity sensor chips: DHT11, HDC1008, HDC1080, HS30XX, HS40XX, HTS221, HTU21DF, HTU31D, SHT31, SHTC3, SI7021

Readme

node-red-contrib-periph-humidity

Node-RED nodes for humidity sensor chips: DHT11, HDC1008, HDC1080, HS30XX, HS40XX, HTS221, HTU21DF, HTU31D, SHT31, SHTC3, SI7021 — part of the Periph library.

Supported chips (11): DHT11, HDC1008, HDC1080, HS30XX, HS40XX, HTS221, HTU21DF, HTU31D, SHT31, SHTC3, SI7021.

Each chip has a sensor/actuator node plus a shared -device config node that holds the bus settings. Importable example flows are in examples/.

Install

Open Node-RED, go to Manage Palette → Install and search for node-red-contrib-periph-humidity.

Or from the command line in your Node-RED user directory:

npm install node-red-contrib-periph-humidity

Nodes

| Node | Kind | Description | |------|------|-------------| | dht11-device | config | Bus configuration for a DHT11 | | dht11 | input | Reads temperature and humidity from a DHT11 sensor over a single GPIO data line. | | hdc1008-device | config | I²C bus and address for a HDC1008 | | hdc1008 | input | Reads temperature and relative humidity from a Texas Instruments HDC1008 over I²C (addresses 0x40–0x43) with one sequence measurement (temperature then humidity) per message. | | hdc1080-device | config | I²C bus and address for a HDC1080 | | hdc1080 | input | Reads temperature and relative humidity from a Texas Instruments HDC1080 over I²C (address 0x40) with one sequence measurement (temperature then humidity) per message. | | hs30xx-device | config | I²C bus and address for a HS30XX | | hs30xx | input | Reads temperature and relative humidity from a Renesas HS3001, HS3002 or HS3003 (the HS30xx family, one protocol) over I²C (fixed address 0x44) with one measurement per message. | | hs40xx-device | config | I²C bus and address for a HS40XX | | hs40xx | input | Reads temperature and relative humidity from a Renesas HS4001 or HS4003 (the HS40xx family, one protocol) over I²C (fixed address 0x54) with one no-hold measurement per message. HS4002 and the HS401x variants are physically different versions of the same part and are not offered separately. | | hts221-device | config | I²C bus and address for a HTS221 | | hts221 | input | Reads temperature and relative humidity from an STMicroelectronics HTS221 over I²C (address 0x5F) with one factory-calibrated one-shot measurement per message. | | htu21df-device | config | I²C bus and address for a HTU21DF | | htu21df | input | Reads temperature and relative humidity from a Measurement Specialties HTU21D-F over I²C (fixed address 0x40) with one temperature and one humidity measurement per message. The CRC of both results is verified. | | htu31d-device | config | I²C bus and address for a HTU31D | | htu31d | input | Reads temperature and relative humidity from a TE Connectivity HTU31D over I²C (address 0x40 or 0x41) with one CRC-checked conversion per message. | | sht31-device | config | I²C bus and address for a SHT31 | | sht31 | input | Reads temperature and relative humidity from a Sensirion SHT31 over I²C (0x44 with ADDR low, 0x45 with ADDR high) with one single-shot measurement per message. Both CRC bytes are verified. | | shtc3-device | config | I²C bus and address for a SHTC3 | | shtc3 | input | Reads temperature and relative humidity from a Sensirion SHTC3 over I²C (address 0x70). Each message wakes the sensor, runs one CRC-checked measurement and puts it back to sleep. | | si7021-device | config | I²C bus and address for a SI7021 | | si7021 | input | Reads relative humidity and temperature from a Silicon Labs Si7021 over I²C (fixed address 0x40) with one relative-humidity measurement per message; the temperature comes from the same conversion. The CRC of the humidity result is verified. |

Links