Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 2.48 KB

aht10.rst

File metadata and controls

67 lines (46 loc) · 2.48 KB

AHT10 Temperature+Humidity Sensor

.. seo::
    :description: Instructions for setting up AHT10 temperature and humidity sensors
    :image: aht10.jpg
    :keywords: aht10 aht20 dht20 aht30

The aht10 Temperature+Humidity sensor allows you to use your AHT10 (datasheet), AHT20 (datasheet) or AHT30 (datasheet) :ref:`I²C <i2c>`-based sensor with ESPHome.

The DHT20 (datasheet) sensor has the packaging of the :doc:`dht` series, but has the AHT20 inside and is speaking :ref:`I²C <i2c>` as well.

images/aht10-full.jpg

AHT10 Temperature & Humidity Sensor.

images/temperature-humidity.png

Note

When configured for humidity, the log 'Components should block for at most 20-30ms in loop().' will be generated in verbose mode. This is due to technical specs of the sensor and can not be avoided.

# Example configuration entry
sensor:
  - platform: aht10
    variant: AHT10
    temperature:
      name: "Living Room Temperature"
    humidity:
      name: "Living Room Humidity"
    update_interval: 60s

Configuration variables:

  • variant (Optional, enum): Set the variant of the device in use. Defaults to AHT10.
    • AHT10 - For AHT10 devices.
    • AHT20 - For AHT20 and AHT30 devices.
  • temperature (Required): The information for the temperature sensor.
  • humidity (Required): The information for the humidity sensor
  • update_interval (Optional, :ref:`config-time`): The interval to check the sensor. Defaults to 60s.

See Also