Add documentation for STS3x Temperature sensors (#300)

* Add documentation for STS3x Temperature sensors

* Updated formatting

* Updated index and other temperature sensors with link to STS3x sensor

* Added STS31 sensor photo

* Updated documentation with flattened config.

* Remove from some pages

Those sensors aren't really similar to this one, so removing them

* Remove references

Same, plus I don't want to fix all the merge conflicts


Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
Nad 2019-10-19 21:35:14 +02:00 committed by Otto Winter
parent 2552e8070e
commit b8edd462b7
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
3 changed files with 49 additions and 1 deletions

View File

@ -50,7 +50,6 @@ See Also
- :doc:`dallas`
- :doc:`dht`
- :doc:`adc`
- :doc:`sht3xd`
- :doc:`max6675`
- `MAX31855 Library <https://github.com/adafruit/Adafruit-MAX31855-library>`__ by `Adafruit <https://www.adafruit.com/>`__
- :apiref:`max31855/max31855.h`

View File

@ -0,0 +1,48 @@
STS3X Temperature Sensor
========================
.. seo::
:description: Instructions for setting up STS3x-DIS temperature sensors
:image: sts3x.jpg
The ``sts3x`` sensor platform Temperature sensor allows you to use your Sensiron STS30-DIS, STS31-DIS or STS35-DIS
(`datasheet <https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/0_Datasheets/Temperature/Sensirion_Temperature_Sensors_STS3x_Datasheet.pdf>`__,
`Sensirion STS3x <https://https://www.sensirion.com/sts3x/>`__) sensors with
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.
- **address** (*Optional*, int): Manually specify the i^2c address of the sensor.
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`

View File

@ -134,6 +134,7 @@ Sensor Components
SCD30, components/sensor/scd30, scd30.jpg
SHTCx, components/sensor/shtcx, shtc3.jpg
SHT3X-D, components/sensor/sht3xd, sht3xd.jpg
STS3X, components/sensor/sts3x, sts3x.jpg
SGP30, components/sensor/sgp30, sgp30.jpg
TCS34725, components/sensor/tcs34725, tcs34725.jpg
Template Sensor, components/sensor/template, description.svg