mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
New documentation for AHT10/AHT20 sensors (#3221)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
eb8ee0bcab
commit
d1b1d2a3d6
@ -4,10 +4,10 @@ AHT10 Temperature+Humidity Sensor
|
||||
.. seo::
|
||||
:description: Instructions for setting up AHT10 temperature and humidity sensors
|
||||
:image: aht10.jpg
|
||||
:keywords: aht10 aht20 aht21 dht20
|
||||
:keywords: aht10 aht20 dht20
|
||||
|
||||
The ``aht10`` Temperature+Humidity sensor allows you to use your AHT10
|
||||
(`datasheet <http://www.aosong.com/userfiles/files/media/aht10%E8%A7%84%E6%A0%BC%E4%B9%A6v1_1%EF%BC%8820191015%EF%BC%89.pdf>`__), AHT20 (`datasheet <https://cdn-learn.adafruit.com/assets/assets/000/091/676/original/AHT20-datasheet-2020-4-16.pdf?1591047915>`__), AHT21 (`datasheet <https://asairsensors.com/wp-content/uploads/2021/09/Data-Sheet-AHT21-Humidity-and-Temperature-Sensor-ASAIR-V1.0.03.pdf>`__) :ref:`I²C <i2c>`-based sensor with ESPHome.
|
||||
(`datasheet <http://www.aosong.com/userfiles/files/media/aht10%E8%A7%84%E6%A0%BC%E4%B9%A6v1_1%EF%BC%8820191015%EF%BC%89.pdf>`__) or AHT20 (`datasheet <https://cdn-learn.adafruit.com/assets/assets/000/091/676/original/AHT20-datasheet-2020-4-16.pdf?1591047915>`__) :ref:`I²C <i2c>`-based sensor with ESPHome.
|
||||
|
||||
The DHT20 (`datasheet <https://cdn.sparkfun.com/assets/8/a/1/5/0/DHT20.pdf>`__) sensor has the packaging of the :doc:`dht` series, but has the AHT20 inside and is speaking :ref:`I²C <i2c>` as well.
|
||||
|
||||
@ -30,6 +30,7 @@ The DHT20 (`datasheet <https://cdn.sparkfun.com/assets/8/a/1/5/0/DHT20.pdf>`__)
|
||||
# Example configuration entry
|
||||
sensor:
|
||||
- platform: aht10
|
||||
variant: AHT10
|
||||
temperature:
|
||||
name: "Living Room Temperature"
|
||||
humidity:
|
||||
@ -39,6 +40,11 @@ The DHT20 (`datasheet <https://cdn.sparkfun.com/assets/8/a/1/5/0/DHT20.pdf>`__)
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **variant** (*Optional*, enum): Set the variant of the device in use. Defaults to ``AHT10``.
|
||||
|
||||
- ``AHT10`` - For AHT10 devices.
|
||||
- ``AHT20`` - For AHT20 devices.
|
||||
|
||||
- **temperature** (**Required**): The information for the temperature sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
|
Loading…
Reference in New Issue
Block a user