mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-04-16 20:29:01 +02:00
Documentation for AM2320 component (#249)
* Added documentation for AM2320 * Added new files for AM2320 * Fixed too long row * Update am2320.rst Co-authored-by: Mikkonen Teemu <teemu.mikkonen@iki.fi> Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
parent
a4b3066fd6
commit
ed800a9fa0
67
components/sensor/am2320.rst
Normal file
67
components/sensor/am2320.rst
Normal file
@ -0,0 +1,67 @@
|
||||
AM2320 Temperature+Humidity Sensor
|
||||
==================================
|
||||
|
||||
.. seo::
|
||||
:description: Instructions for setting up AM2320 temperature and humidity sensors
|
||||
:image: am2320.jpg
|
||||
:keywords: am2320
|
||||
|
||||
The ``am2320`` Temperature+Humidity sensor allows you to use your am2320
|
||||
(`datasheet <https://akizukidenshi.com/download/ds/aosong/AM2320.pdf>`__) i2c-based sensor with ESPHome.
|
||||
|
||||
.. figure:: images/am2320-full.jpg
|
||||
:align: center
|
||||
:width: 50.0%
|
||||
|
||||
AM2320 Temperature & Humidity Sensor.
|
||||
|
||||
.. figure:: images/temperature-humidity.png
|
||||
:align: center
|
||||
:width: 80.0%
|
||||
|
||||
.. note::
|
||||
|
||||
Logs might include some warnings about receiving a NACK from the sensor.
|
||||
This is due to a wake call to the sensor which the sensor never acknowledges by design.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
# Example configuration entry
|
||||
sensor:
|
||||
- platform: am2320
|
||||
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*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (**Required**): The information for the humidity sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the humidity sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
||||
- :ref:`sensor-filters`
|
||||
- :doc:`dht`
|
||||
- :doc:`dht12`
|
||||
- :doc:`hdc1080`
|
||||
- :doc:`htu21d`
|
||||
- :doc:`sht3xd`
|
||||
- :apiref:`am2320/am2320.h`
|
||||
- `AM2320 Library <https://github.com/EngDial/AM2320>`__ by `Aleksey <https://github.com/EngDial>`__
|
||||
- :ghedit:`Edit`
|
BIN
components/sensor/images/am2320-full.jpg
Normal file
BIN
components/sensor/images/am2320-full.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
BIN
images/am2320.jpg
Normal file
BIN
images/am2320.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -88,6 +88,7 @@ Sensor Components
|
||||
Sensor Core, components/sensor/index, folder-open.svg
|
||||
ADC, components/sensor/adc, flash.svg
|
||||
ADS1115, components/sensor/ads1115, ads1115.jpg
|
||||
AM2320, components/sensor/am2320, am2320.jpg
|
||||
APDS9960, components/sensor/apds9960, apds9960.jpg
|
||||
BH1750, components/sensor/bh1750, bh1750.jpg
|
||||
BLE RSSI, components/sensor/ble_rssi, bluetooth.svg
|
||||
|
Loading…
Reference in New Issue
Block a user