ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
dht.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::dht::DHT
 Component for reading temperature/humidity measurements from DHT11/DHT22 sensors. More...
 

Namespaces

namespace  esphome
 
namespace  esphome::dht
 

Enumerations

enum  esphome::dht::DHTModel : uint8_t {
  esphome::dht::DHT_MODEL_AUTO_DETECT = 0 , esphome::dht::DHT_MODEL_DHT11 , esphome::dht::DHT_MODEL_DHT22 , esphome::dht::DHT_MODEL_AM2120 ,
  esphome::dht::DHT_MODEL_AM2302 , esphome::dht::DHT_MODEL_RHT03 , esphome::dht::DHT_MODEL_SI7021 , esphome::dht::DHT_MODEL_DHT22_TYPE2
}
 

Functions

int16_t esphome::dht::decode_dht22_temperature (uint16_t raw)
 Convert a DHT22-family temperature reading to tenths of a degree.