mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-18 11:15:36 +01:00
65 lines
2.2 KiB
ReStructuredText
65 lines
2.2 KiB
ReStructuredText
HDC1080 Temperature+Humidity Sensor
|
||
===================================
|
||
|
||
The HDC1080 Temperature+Humidity sensor allows you to use your HDC1080
|
||
(`datasheet <http://www.ti.com/lit/ds/symlink/hdc1080.pdf>`__,
|
||
`adafruit <https://www.adafruit.com/product/2635>`__) sensors with
|
||
esphomelib. The `I²C bus </esphomeyaml/components/i2c.html>`__) is
|
||
required to be set up in your configuration for this sensor to work.
|
||
|
||
.. figure:: /esphomeyaml/components/sensor/hdc1080-full.jpg
|
||
:align: center
|
||
:target: `Adafruit`_
|
||
:width: 50.0%
|
||
|
||
HDC1080 Temperature & Humidity Sensor. Image by `Adafruit`_.
|
||
|
||
.. _Adafruit: https://www.adafruit.com/product/2635
|
||
|
||
|image0|
|
||
|
||
.. |image0| image:: /esphomeyaml/components/sensor/temperature-humidity.png
|
||
:class: align-center
|
||
:width: 80.0%
|
||
|
||
.. code:: yaml
|
||
|
||
# Example configuration entry
|
||
sensor:
|
||
- platform: hdc1080
|
||
temperature:
|
||
name: "Living Room Temperature"
|
||
humidity:
|
||
name: "Living Room Pressure"
|
||
update_interval: 15s
|
||
|
||
Configuration variables:
|
||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
||
- **temperature** (**Required**): The information for the temperature
|
||
sensor
|
||
|
||
- **name** (**Required**, string): The name for the temperature
|
||
sensor.
|
||
- All other options from
|
||
`Sensor </esphomeyaml/components/sensor/index.html#base-sensor-configuration>`__
|
||
and `MQTT
|
||
Component </esphomeyaml/components/mqtt.html#mqtt-component-base-configuration>`__.
|
||
|
||
- **humidity** (**Required**): The information for the humidity sensor
|
||
|
||
- **name** (**Required**, string): The name for the humidity sensor.
|
||
- All other options from
|
||
`Sensor </esphomeyaml/components/sensor/index.html#base-sensor-configuration>`__
|
||
and `MQTT
|
||
Component </esphomeyaml/components/mqtt.html#mqtt-component-base-configuration>`__.
|
||
|
||
- **update_interval** (*Optional*, `time </esphomeyaml/configuration-types.html#time>`__): The interval to check the
|
||
sensor. Defaults to ``15s``.
|
||
- **id** (*Optional*, `id </esphomeyaml/configuration-types.html#id>`__): Manually specify the ID used for code
|
||
generation.
|
||
|
||
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.
|