diff --git a/components/sensor/images/tmp102-full.jpg b/components/sensor/images/tmp102-full.jpg new file mode 100644 index 000000000..b7ad38a59 Binary files /dev/null and b/components/sensor/images/tmp102-full.jpg differ diff --git a/components/sensor/tmp102.rst b/components/sensor/tmp102.rst new file mode 100644 index 000000000..0f61b657d --- /dev/null +++ b/components/sensor/tmp102.rst @@ -0,0 +1,52 @@ +TMP102 Temperature Sensor +========================= + +.. seo:: + :description: Instructions for setting up TMP102 temperature sensors. + :image: tmp102.jpg + :keywords: TMP102 + +The TMP102 Temperature sensor allows you to use your TMP102 +(`Sparkfun `__) sensors with +ESPHome. The :ref:`I²C Bus ` is required to be set up in your +configuration for this sensor to work. + +.. figure:: images/tmp102-full.jpg + :align: center + :width: 50.0% + + TMP102 Temperature Sensor. + +.. figure:: images/temperature.png + :align: center + :width: 80.0% + +.. code-block:: yaml + + # Example configuration entry + sensor: + - platform: tmp102 + name: "Living Room Temperature" + update_interval: 60s + +Configuration variables: +------------------------ + +- **name** (**Required**, string): The name for the temperature sensor. +- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``. +- **address** (*Optional*, int): The I²C address of the sensor. Defauls to ``0x48``. + See :ref:`I²C Addresses ` for more information. +- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas. +- All other options from :ref:`Sensor `. + +See Also +-------- + +- :ref:`sensor-filters` +- :doc:`dht` +- :doc:`dht12` +- :doc:`hdc1080` +- :doc:`sht3xd` +- :doc:`htu21d` +- :apiref:`tmp102/tmp102.h` +- :ghedit:`Edit` diff --git a/images/tmp102.jpg b/images/tmp102.jpg new file mode 100644 index 000000000..cc6b0c816 Binary files /dev/null and b/images/tmp102.jpg differ diff --git a/index.rst b/index.rst index f46f3e51c..69542f7d3 100644 --- a/index.rst +++ b/index.rst @@ -154,6 +154,7 @@ Sensor Components SGP30, components/sensor/sgp30, sgp30.jpg TCS34725, components/sensor/tcs34725, tcs34725.jpg Template Sensor, components/sensor/template, description.svg + TMP102, components/sensor/tmp102, tmp102.jpg TMP117, components/sensor/tmp117, tmp117.jpg Total Daily Energy, components/sensor/total_daily_energy, sigma.svg TSL2561, components/sensor/tsl2561, tsl2561.jpg