@thehighestbit/node-red-contrib-hdc302x 1.0.0

Node-RED node for Texas Instruments HDC302x temperature and humidity sensor

npm install @thehighestbit/node-red-contrib-hdc302x

node-red-contrib-hdc302x

A Node-RED node for reading temperature and humidity data from Texas Instruments HDC302x sensors over I2C.

Supported Sensors

  • HDC3020
  • HDC3021
  • HDC3022

Installation

cd ~/.node-red
npm install @thehighestbit/node-red-contrib-hdc302x

Configuration

Property Description
I2C Address Sensor address: 0x44, 0x45, 0x46, or 0x47
I2C Bus I2C bus number (default: 1)
Read Interval Polling interval in ms (minimum 1000ms). Leave blank to disable polling.

Usage

The node outputs temperature and humidity readings as a JSON payload:

{
    "payload": {
        "temperature": 25.5,
        "humidity": 45.2
    },
    "topic": "hdc302x/0x44"
}

Triggering Reads

  • Automatic polling: Set a read interval to poll the sensor automatically
  • Manual trigger: Send any message to the node input to trigger an immediate read

Node Info

Version: 1.0.0
Updated 1 week, 2 days ago
License: ISC
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • hdc302x

Keywords

  • node-red
  • hdc302x
  • hdc3020
  • hdc3021
  • hdc3022
  • temperature
  • humidity
  • i2c
  • raspberry
  • iot

Maintainers