ENS210 Humidity & Temperature sensor component (#1745)

This commit is contained in:
Ingo Theiss 2022-05-09 07:23:40 +02:00 committed by GitHub
parent 5e6870fb2f
commit c3d2635f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,57 @@
ENS210 Temperature+Humidity Sensor
==================================
.. seo::
:description: Instructions for setting up ENS210 temperature and humidity sensors
:image: ens210.jpg
:keywords: ENS210
The ``ENS210`` Temperature+Humidity sensor allows you to use your ENS210
(`datasheet <https://www.sciosense.com/wp-content/uploads/2021/01/ENS210.pdf>`__) i2c-based sensor with ESPHome.
.. figure:: images/ens210.jpg
:align: center
:width: 80.0%
ENS210 Temperature & Humidity Sensor.
.. figure:: images/temperature-humidity.png
:align: center
:width: 80.0%
.. code-block:: yaml
# Example configuration entry
sensor:
- platform: ENS210
temperature:
name: "Living Room Temperature"
humidity:
name: "Living Room Humidity"
update_interval: 60s
Configuration variables:
------------------------
- **temperature** (**Required**): The information for the temperature sensor.
- **name** (**Required**, string): The name for the temperature sensor.
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
- All other options from :ref:`Sensor <config-sensor>`.
- **humidity** (**Required**): The information for the humidity sensor
- **name** (**Required**, string): The name for the humidity sensor.
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
- All other options from :ref:`Sensor <config-sensor>`.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
See Also
--------
- :ref:`sensor-filters`
- :apiref:`ENS210/ENS210.h`
- `ENS210 Library <https://github.com/maarten-pennings/ENS210>`__ by `Maarten Pennings <https://github.com/maarten-pennings>`__
- :ghedit:`Edit`

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
images/ens210.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -293,6 +293,7 @@ Environmental
Dallas DS18B20, components/sensor/dallas, dallas.jpg, Temperature
DHT, components/sensor/dht, dht.jpg, Temperature & Humidity
DHT12, components/sensor/dht12, dht12.jpg, Temperature & Humidity
ENS210, components/sensor/ens210, ens210.jpg, Temperature & Humidity
HDC1080, components/sensor/hdc1080, hdc1080.jpg, Temperature & Humidity
Honeywell ABP, components/sensor/honeywellabp, honeywellabp.jpg, Pressure & Temperature
HTU21D / Si7021 / SHT21, components/sensor/htu21d, htu21d.jpg, Temperature & Humidity