Documentation

Humidity Sensor (Node)

Read humidity and temperature from DHT11, DHT21, or DHT22 sensors connected to Arduino nodes.

Overview

Humidity and temperature can be important for a number of applications such as regulating environmental controls. Using a commercially available sensor (DHT11 or DHT22) you can take a digital read of humidity and temperature (in °F) from your Arduino node devices.

Note

The core can be expanded to support sensors of other models as well.

Configuration

JSON
{
  "sensors": [
    {
      "pin": 3,
      "type": "Humidity",
      "model": "11",
      "name": "Node Humidity"
    }
  ]
}

Settings

Property Value Description
type Humidity Sensor type identifier
model 11, 21, or 22 DHT model number (default: 11)

Returns

Object — Contains humidity and temperature readings:

Response
{
  "humidity": 65.2,
  "temperature": 72.4
}