HDC1080 Temperature+Humidity Sensor

The HDC1080 Temperature+Humidity sensor allows you to use your HDC1080 (datasheet, Adafruit) sensors with ESPHome. The I²C Bus is required to be set up in your configuration for this sensor to work.

../../_images/hdc1080-full.jpg

HDC1080 Temperature & Humidity Sensor. Image by Adafruit.

../../_images/temperature-humidity.png
# Example configuration entry
sensor:
  - platform: hdc1080
    temperature:
      name: "Living Room Temperature"
    humidity:
      name: "Living Room Humidity"
    update_interval: 60s

Configuration variables:

  • temperature (Required): The information for the temperature sensor.

    • name (Required, string): The name for the temperature sensor.

    • id (Optional, ID): Set the ID of this sensor for use in lambdas.

    • All other options from Sensor.

  • humidity (Required): The information for the humidity sensor

    • name (Required, string): The name for the humidity sensor.

    • id (Optional, ID): Set the ID of this sensor for use in lambdas.

    • All other options from Sensor.

  • update_interval (Optional, Time): The interval to check the sensor. Defaults to 60s.

Currently, the platform doesn’t support activating the built-in heater, as it seems to only be rarely of use. If you need it, please open an issue.

Notes

This library also appears to the compatible with the DFRobot CHT8305 I2C Temperature and Humidity Sensor) on address 0x40.

# Example configuration entry
sensor:
  - platform: hdc1080
    temperature:
      name: "Outside Temperature"
    humidity:
      name: "Outside Humidity"
    address: 0x40
    update_interval: 60s

See Also