esphome-docs/components/sensor/sht3xd.rst

62 lines
1.9 KiB
ReStructuredText
Raw Normal View History

2018-05-14 21:15:49 +02:00
SHT3X-D Temperature+Humidity Sensor
2018-05-16 20:02:48 +02:00
===================================
2018-05-14 21:15:49 +02:00
2018-11-14 22:12:27 +01:00
.. seo::
:description: Instructions for setting up SHT31-D temperature and humidity sensors
:image: sht3xd.jpg
2018-05-14 21:15:49 +02:00
The ``sht3xd`` sensor platform Temperature+Humidity sensor allows you to use your Sensiron SHT31-D
(`datasheet <https://cdn-shop.adafruit.com/product-files/2857/Sensirion_Humidity_SHT3x_Datasheet_digital-767294.pdf>`__,
`Adafruit`_ ) sensors with
2019-02-16 23:25:23 +01:00
ESPHome. The :ref:`I²C Bus <i2c>` is
2018-05-14 21:15:49 +02:00
required to be set up in your configuration for this sensor to work.
.. _Adafruit: https://www.adafruit.com/product/2857
2018-06-01 18:10:00 +02:00
.. figure:: images/temperature-humidity.png
:align: center
:width: 80.0%
2018-05-14 21:15:49 +02:00
.. code-block:: yaml
2018-05-14 21:15:49 +02:00
# Example configuration entry
sensor:
- platform: sht3xd
temperature:
name: "Living Room Temperature"
humidity:
name: "Living Room Humidity"
address: 0x44
2019-01-06 18:56:14 +01:00
update_interval: 60s
2018-05-14 21:15:49 +02:00
Configuration variables:
2018-08-24 22:44:01 +02:00
------------------------
2018-05-14 21:15:49 +02:00
2018-06-01 18:10:00 +02:00
- **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.
2019-02-17 12:28:17 +01:00
- All other options from :ref:`Sensor <config-sensor>`.
2018-06-01 18:10:00 +02:00
- **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.
2019-02-17 12:28:17 +01:00
- All other options from :ref:`Sensor <config-sensor>`.
2018-06-01 18:10:00 +02:00
- **address** (*Optional*, int): Manually specify the I²C address of the sensor.
2018-06-07 14:26:06 +02:00
Defaults to ``0x44``.
2018-06-01 18:10:00 +02:00
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
2019-01-06 18:56:14 +01:00
sensor. Defaults to ``60s``.
2018-06-01 18:10:00 +02:00
See Also
2018-08-24 22:44:01 +02:00
--------
2018-06-01 18:10:00 +02:00
- :ref:`sensor-filters`
- :doc:`dht`
- :doc:`dht12`
- :doc:`hdc1080`
- :doc:`htu21d`
2019-05-12 22:44:59 +02:00
- :apiref:`sht3xd/sht3xd.h`
- :ghedit:`Edit`