1-Wire DHT22

Feature Support
Sending no
Receiving yes
Config yes

Supported Brands

Brand Protocol
1-Wire DHT11 dht11
1-Wire DHT22 dht22
1-Wire AM2302 am2302

Sender Arguments

None

Config

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
{
  "devices": {
    "weather": {
      "protocol": [ "dht22" ],
      "id": [{
        "gpio": 7
      }],
      "temperature": 5.2,
      "humidity": 1.7,
      "poll-interval": 5
    }
  },
  "gui": {
    "temperature": {
      "name": "Temperature Sensor",
      "group": [ "Misc" ],
      "media": [ "all" ]
    }
  }
}
Option Value
gpio 0 - 255
temperature -40 - 80
humidity 0 - 100

Note

The gpio value should be a valid GPIO for the platform used

Optional Settings

Device Settings

Setting Default Format Description
poll-interval 5 seconds What should be the poll interval of the sensors
humidity-offset 0 number Correct humidity value
temperature-offset 0 number Correct temperature value

GUI Settings

Setting Default Format Description
temperature-decimals 1 number How many decimals the GUIs should display for temperature
humidity-decimals 1 number How many decimals the GUIs should display for humidity
show-temperature 1 1 or 0 Don’t display the temperature value
show-humidity 1 1 or 0 Don’t display the humidity value