mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
SHT3x-D remove accuracy
This commit is contained in:
parent
f7ae5a2f62
commit
d46fdd0d45
@ -18,10 +18,6 @@ Example Usage
|
|||||||
// Basic
|
// Basic
|
||||||
auto sht3xd = App.make_sht3xd_sensor("SHT31D Temperature", "SHT31D Humidity");
|
auto sht3xd = App.make_sht3xd_sensor("SHT31D Temperature", "SHT31D Humidity");
|
||||||
|
|
||||||
// Advanced
|
|
||||||
// default accuracy is high
|
|
||||||
sht3xd.sht3xd->set_accuracy(sensor::SHT3XD_ACCURACY_LOW);
|
|
||||||
|
|
||||||
.. cpp:namespace:: nullptr
|
.. cpp:namespace:: nullptr
|
||||||
|
|
||||||
See :cpp:func:`Application::make_sht3xd_sensor`.
|
See :cpp:func:`Application::make_sht3xd_sensor`.
|
||||||
@ -34,8 +30,6 @@ API Reference
|
|||||||
:protected-members:
|
:protected-members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
.. doxygenenum:: sensor::SHT3XDAccuracy
|
|
||||||
|
|
||||||
.. doxygenclass:: sensor::SHT3XDTemperatureSensor
|
.. doxygenclass:: sensor::SHT3XDTemperatureSensor
|
||||||
:members:
|
:members:
|
||||||
:protected-members:
|
:protected-members:
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 277 KiB |
@ -1,24 +1,12 @@
|
|||||||
SHT3X-D Temperature+Humidity Sensor
|
SHT3X-D Temperature+Humidity Sensor
|
||||||
===================================
|
===================================
|
||||||
|
|
||||||
.. warning::
|
|
||||||
|
|
||||||
This sensor is experimental has not been fully tested yet as I do not own all sensors. If you
|
|
||||||
can verify it works (or if it doesn't), please notify me on `discord <https://discord.gg/KhAMKrd>`__.
|
|
||||||
|
|
||||||
The ``sht3xd`` sensor platform Temperature+Humidity sensor allows you to use your Sensiron SHT31-D
|
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>`__,
|
(`datasheet <https://cdn-shop.adafruit.com/product-files/2857/Sensirion_Humidity_SHT3x_Datasheet_digital-767294.pdf>`__,
|
||||||
`Adafruit`_ ) sensors with
|
`Adafruit`_ ) sensors with
|
||||||
esphomelib. The :ref:`I²C Bus <i2c>` is
|
esphomelib. The :ref:`I²C Bus <i2c>` is
|
||||||
required to be set up in your configuration for this sensor to work.
|
required to be set up in your configuration for this sensor to work.
|
||||||
|
|
||||||
.. figure:: images/sht3xd-full.jpg
|
|
||||||
:align: center
|
|
||||||
:target: `Adafruit`_
|
|
||||||
:width: 50.0%
|
|
||||||
|
|
||||||
SHT3X-D Temperature & Humidity Sensor. Image by `Adafruit`_.
|
|
||||||
|
|
||||||
.. _Adafruit: https://www.adafruit.com/product/2857
|
.. _Adafruit: https://www.adafruit.com/product/2857
|
||||||
|
|
||||||
.. figure:: images/temperature-humidity.png
|
.. figure:: images/temperature-humidity.png
|
||||||
@ -34,7 +22,6 @@ required to be set up in your configuration for this sensor to work.
|
|||||||
name: "Living Room Temperature"
|
name: "Living Room Temperature"
|
||||||
humidity:
|
humidity:
|
||||||
name: "Living Room Humidity"
|
name: "Living Room Humidity"
|
||||||
accuracy: high
|
|
||||||
address: 0x44
|
address: 0x44
|
||||||
update_interval: 15s
|
update_interval: 15s
|
||||||
|
|
||||||
@ -54,9 +41,7 @@ Configuration variables:
|
|||||||
- All other options from :ref:`Sensor <config-sensor>` and :ref:`MQTT Component <config-mqtt-component>`.
|
- All other options from :ref:`Sensor <config-sensor>` and :ref:`MQTT Component <config-mqtt-component>`.
|
||||||
|
|
||||||
- **address** (*Optional*, int): Manually specify the i^2c address of the sensor.
|
- **address** (*Optional*, int): Manually specify the i^2c address of the sensor.
|
||||||
Defaults to ``0xff``.
|
Defaults to ``0x44``.
|
||||||
- **accuracy** (*Optional*, string): The accuracy of the sensor. One of ``low``, ``medium`` and ``high``.
|
|
||||||
Lower accuracies allow for faster update intervals. Defaults to ``high``.
|
|
||||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||||
sensor. Defaults to ``15s``. See :ref:`sensor-default_filter`.
|
sensor. Defaults to ``15s``. See :ref:`sensor-default_filter`.
|
||||||
|
|
||||||
|
@ -11,5 +11,6 @@ Version 1.7.0
|
|||||||
Breaking Changes
|
Breaking Changes
|
||||||
~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
- Fixed the :doc:`SHT3x-D </esphomeyaml/component/sensor/sht3xd>` component and removed the ``accuracy``
|
||||||
|
parameter. The accuracy now defaults to ``HIGH``.
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 33 KiB |
Loading…
Reference in New Issue
Block a user