2019-10-19 21:35:14 +02:00
|
|
|
STS3X Temperature Sensor
|
|
|
|
========================
|
|
|
|
|
|
|
|
.. seo::
|
|
|
|
:description: Instructions for setting up STS3x-DIS temperature sensors
|
|
|
|
:image: sts3x.jpg
|
|
|
|
|
2021-05-19 22:17:39 +02:00
|
|
|
The ``sts3x`` sensor platform Temperature sensor allows you to use your Sensirion STS30-DIS, STS31-DIS or STS35-DIS
|
2023-05-31 14:34:53 +02:00
|
|
|
(`datasheet <https://sensirion.com/media/documents/1DA31AFD/61641F76/Sensirion_Temperature_Sensors_STS3x_Datasheet.pdf>`__,
|
2019-12-30 18:13:15 +01:00
|
|
|
`Sensirion STS3x <https://www.sensirion.com/sts3x/>`__) sensors with
|
2019-10-19 21:35:14 +02:00
|
|
|
ESPHome. The :ref:`I²C Bus <i2c>` is
|
|
|
|
required to be set up in your configuration for this sensor to work.
|
|
|
|
|
|
|
|
.. figure:: images/temperature.png
|
|
|
|
:align: center
|
|
|
|
:width: 80.0%
|
|
|
|
|
|
|
|
.. code-block:: yaml
|
|
|
|
|
|
|
|
# Example configuration entry
|
|
|
|
sensor:
|
|
|
|
- platform: sts3x
|
|
|
|
name: "Living Room Temperature"
|
|
|
|
address: 0x4A
|
|
|
|
update_interval: 60s
|
|
|
|
|
|
|
|
Configuration variables:
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
- **name** (**Required**, string): The name for the temperature sensor.
|
2020-11-09 02:22:55 +01:00
|
|
|
- **address** (*Optional*, int): Manually specify the I²C address of the sensor.
|
2019-10-19 21:35:14 +02:00
|
|
|
Defaults to ``0x4A``.
|
|
|
|
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
|
|
|
sensor. Defaults to ``60s``.
|
|
|
|
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
|
|
|
- All other options from :ref:`Sensor <config-sensor>`.
|
|
|
|
|
|
|
|
See Also
|
|
|
|
--------
|
|
|
|
|
|
|
|
- :ref:`sensor-filters`
|
|
|
|
- :doc:`dht`
|
|
|
|
- :doc:`dht12`
|
|
|
|
- :doc:`hdc1080`
|
|
|
|
- :doc:`htu21d`
|
|
|
|
- :doc:`sht3xd`
|
|
|
|
- :apiref:`sts3x/sts3x.h`
|
|
|
|
- :ghedit:`Edit`
|