[sensor] Tidy up name/id (#4150)
* [sensor] Tidy up name/id * Add missing line * Add missing line to sen5x
@ -6,7 +6,7 @@ A01NYUB Waterproof Ultrasonic Sensor
|
||||
:image: a01nyub.jpg
|
||||
:keywords: ultrasonic, DFRobot, A01NYUB
|
||||
|
||||
This sensor allows you to use A01NYUB waterproof ultrasonic sensor by DFRobot
|
||||
This sensor allows you to use A01NYUB waterproof ultrasonic sensor by DFRobot
|
||||
(`datasheet <https://wiki.dfrobot.com/A01NYUB%20Waterproof%20Ultrasonic%20Sensor%20SKU:%20SEN0313>`__)
|
||||
with ESPHome to measure distances. This sensor can measure
|
||||
ranges between 28 centimeters and 750 centimeters with a resolution of 1 milimeter.
|
||||
@ -27,12 +27,11 @@ To use the sensor, first set up an :ref:`uart` with a baud rate of 9600 and conn
|
||||
sensor:
|
||||
- platform: "a01nyub"
|
||||
name: "Distance"
|
||||
|
||||
|
||||
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **uart_id** (*Optional*, :ref:`config-id`): The ID of the :ref:`UART bus <uart>` you wish to use for this sensor.
|
||||
Use this if you want to use multiple UART buses at once.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
@ -6,7 +6,7 @@ A02YYUW Waterproof Ultrasonic Sensor
|
||||
:image: a02yyuw.jpg
|
||||
:keywords: ultrasonic, DFRobot, A02YYUW
|
||||
|
||||
This sensor allows you to use A02YYUW waterproof ultrasonic sensor by DFRobot
|
||||
This sensor allows you to use A02YYUW waterproof ultrasonic sensor by DFRobot
|
||||
(`datasheet <https://wiki.dfrobot.com/_A02YYUW_Waterproof_Ultrasonic_Sensor_SKU_SEN0311>`__)
|
||||
with ESPHome to measure distances. This sensor can measure
|
||||
ranges between 3 centimeters and 450 centimeters with a resolution of 1 milimeter.
|
||||
@ -27,12 +27,11 @@ To use the sensor, first set up an :ref:`uart` with a baud rate of 9600 and conn
|
||||
sensor:
|
||||
- platform: "a02yyuw"
|
||||
name: "Distance"
|
||||
|
||||
|
||||
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **uart_id** (*Optional*, :ref:`config-id`): The ID of the :ref:`UART bus <uart>` you wish to use for this sensor.
|
||||
Use this if you want to use multiple UART buses at once.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
@ -30,7 +30,6 @@ See the links at the bottom of the page for details on absolute humidity and the
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the absolute humidity sensor.
|
||||
- **temperature** (**Required**, :ref:`config-id`): The sensor that is used to measure the current temperature, in °C.
|
||||
- **humidity** (**Required**, :ref:`config-id`): The sensor that is used to measure the current relative humidity, in %.
|
||||
- **equation** (*Optional*): The saturated vapor pressure equation to use (see below).
|
||||
|
@ -31,14 +31,12 @@ Configuration variables:
|
||||
|
||||
- **pin** (**Required**, :ref:`config-pin`): The pin to measure the voltage on.
|
||||
Or on the ESP8266 or Raspberry Pi Pico it could alternatively be set to ``VCC``, see :ref:`adc-vcc`.
|
||||
- **name** (**Required**, string): The name of the voltage sensor.
|
||||
- **attenuation** (*Optional*): Only on ESP32. Specify the ADC
|
||||
attenuation to use. See :ref:`adc-esp32_attenuation`. Defaults to ``0db``.
|
||||
- **raw** (*Optional*): Allows to read the raw ADC output without any conversion or calibration. See :ref:`adc-raw`. Defaults to ``false``.
|
||||
- **samples** (*Optional*): The amount of ADC readings to take per sensor update. On the ESP32 this value is ignored if ``attenuation`` is set to ``auto``. Defaults to ``1``.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval
|
||||
to check the sensor. Defaults to ``60s``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
.. note::
|
||||
|
@ -88,17 +88,16 @@ Configuration variables:
|
||||
- **multiplexer** (**Required**): The multiplexer channel of this sensor. Effectively means between which pins you
|
||||
want to measure voltage.
|
||||
- **gain** (**Required**, float): The gain of this sensor.
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **ads1115_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the
|
||||
:ref:`ADS1115 Hub <ads1115-component>` you want to use this sensor.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval
|
||||
to check the sensor. Defaults to ``60s``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **resolution** (*Optional*, string): the resolution of this sensor. Defaults to ``16 bits``.
|
||||
|
||||
- ``16 bits``
|
||||
- ``12 bits``
|
||||
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
Multiplexer and Gain
|
||||
--------------------
|
||||
|
@ -47,15 +47,11 @@ 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>`.
|
||||
- All 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
|
@ -40,15 +40,11 @@ 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>`.
|
||||
- All 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
|
@ -45,14 +45,11 @@ Configuration variables:
|
||||
- **ble_client_id** (**Required**, :ref:`config-id`): The id of the ``ble_client`` entry associated with the device.
|
||||
- **battery_level** (*Optional*): The information for the battery level sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the battery level sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **illuminance** (*Optional*): The information for the light level sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the light level sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
|
@ -69,7 +69,6 @@ measurements.
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **type** (**Required**, string): The type of sensor measurement. One of
|
||||
|
||||
- ``CLEAR``
|
||||
@ -78,7 +77,6 @@ Configuration variables:
|
||||
- ``BLUE``
|
||||
- ``PROXIMITY``
|
||||
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
Binary Sensor
|
||||
@ -89,7 +87,6 @@ measurements.
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **name** (**Required**, string): The name for the binary sensor.
|
||||
- **direction** (**Required**, string): The direction to measure. One of:
|
||||
|
||||
- ``UP``
|
||||
@ -97,7 +94,6 @@ Configuration variables:
|
||||
- ``LEFT``
|
||||
- ``RIGHT``
|
||||
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Binary Sensor <config-binary_sensor>`.
|
||||
|
||||
Troubleshooting:
|
||||
|
@ -42,24 +42,23 @@ Configuration variables
|
||||
- **mac_address** (**Required**): The MAC address of the device.
|
||||
- **temperature** (*Optional*): Air temperature in Celsius.
|
||||
|
||||
- **name** (**Required**): Sensor name.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (*Optional*): Relative air humidity in %.
|
||||
|
||||
- **name** (**Required**): Sensor name.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **moisture** (*Optional*): Soil moisture in %.
|
||||
|
||||
- **name** (**Required**): Sensor name.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **battery_voltage** (*Optional*): Battery voltage in volts.
|
||||
|
||||
- **name** (**Required**): Sensor name.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **illuminance** (*Optional*): Illuminance in lux.
|
||||
|
||||
- **name** (**Required**): Sensor name.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
@ -35,14 +35,11 @@ your configuration for this sensor to work.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor.
|
||||
Defaults to ``0x23`` (address if address pin is pulled low). If the address pin is pulled high,
|
||||
the address is ``0x5C``.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code
|
||||
generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -121,7 +121,6 @@ The maximum amount of observations/channels supported is 64.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **type** (**Required**, string): The sensor type. Should be one of: ``BAYESIAN``, ``GROUP``, or ``SUM``.
|
||||
- **channels** (**Required for GROUP or SUM types**): A list of channels that are mapped to certain values.
|
||||
|
||||
|
@ -49,7 +49,6 @@ instructions for setting up this platform.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **mac_address** (*Optional*, MAC Address): The MAC address to track for this
|
||||
sensor. Note that exactly one of ``mac_address``, ``irk``, ``service_uuid`` or ``ibeacon_uuid``
|
||||
must be present.
|
||||
@ -67,7 +66,6 @@ Configuration variables:
|
||||
same building.
|
||||
- **ibeacon_minor** (*Optional*, int): The iBeacon minor identifier of the beacon that needs
|
||||
to be tracked. Usually used to identify beacons within an iBeacon group.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -41,33 +41,25 @@ Configuration variables:
|
||||
|
||||
- **temperature** (*Optional*): The information for the temperature sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- **oversampling** (*Optional*): The oversampling parameter for the temperature sensor.
|
||||
See :ref:`bme680-oversampling`.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pressure** (*Optional*): The information for the pressure sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the pressure sensor.
|
||||
- **oversampling** (*Optional*): The oversampling parameter for the temperature sensor.
|
||||
See :ref:`bme680-oversampling`.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (*Optional*): The information for the humidity sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the humidity sensor.
|
||||
- **oversampling** (*Optional*): The oversampling parameter for the temperature sensor.
|
||||
See :ref:`bme680-oversampling`.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **gas_resistance** (*Optional*): The information for the gas sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the gas resistance sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of
|
||||
the sensor. Defaults to ``0x76``. Another address can be ``0x77``.
|
||||
@ -132,7 +124,7 @@ Add indoor air quality (IAQ) calculation and IAQ label, based on the values in t
|
||||
name: "BME680 Indoor Air Quality"
|
||||
id: iaq
|
||||
icon: "mdi:gauge"
|
||||
# calculation: comp_gas = log(R_gas[ohm]) + 0.04 log(Ohm)/%rh * hum[%rh]
|
||||
# calculation: comp_gas = log(R_gas[ohm]) + 0.04 log(Ohm)/%rh * hum[%rh]
|
||||
lambda: |-
|
||||
return log(id(gas_resistance).state) + 0.04 * id(humidity).state;
|
||||
state_class: "measurement"
|
||||
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 5.6 KiB |
@ -125,54 +125,38 @@ Configuration variables:
|
||||
|
||||
- **temperature** (*Optional*): 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.
|
||||
- **sample_rate** (*Optional*, string): Optional sample rate override for this sensor. Can be ``lp`` for low power consumption, sampling every 3 seconds or ``ulp`` for ultra-low power, sampling every 5 minutes.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pressure** (*Optional*): The information for the pressure sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the pressure sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- **sample_rate** (*Optional*, string): Optional sample rate override for this sensor. Can be ``lp`` for low power consumption, sampling every 3 seconds or ``ulp`` for ultra-low power, sampling every 5 minutes.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (*Optional*): 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.
|
||||
- **sample_rate** (*Optional*, string): Optional sample rate override for this sensor. Can be ``lp`` for low power consumption, sampling every 3 seconds or ``ulp`` for ultra-low power, sampling every 5 minutes.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **gas_resistance** (*Optional*): The information for the gas sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the gas resistance sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **iaq** (*Optional*): The information for the IAQ sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the IAQ sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **iaq_accuracy** (*Optional*): The information for the numeric IAQ accuracy sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the IAQ accuracy sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **co2_equivalent** (*Optional*): The information for the CO₂ equivalent sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the CO₂ equivalent sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **breath_voc_equivalent** (*Optional*): The information for the Breath VOC equivalent humidity sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the Breath VOC equivalent sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
Text Sensor
|
||||
-----------
|
||||
@ -186,9 +170,7 @@ Configuration variables:
|
||||
- **iaq_accuracy** (*Optional*): The information for the IAQ accuracy sensor. Shows: Stabilizing,
|
||||
Uncertain, Calibrating, Calibrated.
|
||||
|
||||
- **name** (**Required**, string): The name for the IAQ accuracy sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`TextSensor <config-text_sensor>`.
|
||||
- All options from :ref:`TextSensor <config-text_sensor>`.
|
||||
|
||||
.. figure:: images/bme680-bsec-ui.png
|
||||
:align: center
|
||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
@ -40,16 +40,11 @@ Configuration variables:
|
||||
|
||||
- **temperature** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pressure** (*Optional*): The information for the pressure sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the pressure sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of
|
||||
the sensor. Defaults to ``0x77``.
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.9 KiB |
@ -38,19 +38,14 @@ Configuration variables:
|
||||
- **temperature** (*Optional*): The information for the temperature.
|
||||
sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature
|
||||
sensor.
|
||||
- **oversampling** (*Optional*): The oversampling parameter for the temperature sensor.
|
||||
See :ref:`Oversampling Options <bmp280-oversampling>`.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pressure** (*Optional*): The information for the pressure sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the pressure sensor.
|
||||
- **oversampling** (*Optional*): The oversampling parameter for the pressure sensor.
|
||||
See :ref:`Oversampling Options <bmp280-oversampling>`.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of
|
||||
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.7 KiB |
@ -10,10 +10,10 @@ The ``ccs811`` sensor platform allows you to use CCS811 eCO_2 and volatile organ
|
||||
|
||||
.. note::
|
||||
|
||||
Most CCS811 modules require the WAK pin to be pulled low to wake up the sensor, as outlined in the data sheets.
|
||||
Outside low-power scenarios, connecting WAK to ground is the recommended configuration. For low power installations,
|
||||
Most CCS811 modules require the WAK pin to be pulled low to wake up the sensor, as outlined in the data sheets.
|
||||
Outside low-power scenarios, connecting WAK to ground is the recommended configuration. For low power installations,
|
||||
pulling WAK low should happen in software prior to taking the measures.
|
||||
|
||||
|
||||
.. figure:: images/ccs811-full.jpg
|
||||
:align: center
|
||||
:width: 50.0%
|
||||
@ -46,23 +46,19 @@ Configuration variables:
|
||||
|
||||
- **eco2** (**Required**): The eCO_2 data from the sensor in parts per million (ppm).
|
||||
|
||||
- **name** (**Required**, string): The name for the CO_2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **tvoc** (**Required**): The information for the total volatile organic compound sensor in
|
||||
parts per billion (ppb).
|
||||
|
||||
- **name** (**Required**, string): The name for the tvoc sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
|
||||
- **version** (*Optional*): This sensor reports the firmware ('application') version in text, with the internal hex representation of the version number behind it, so version 1.0.0 will be reported as '1.0.0 (0x1000)'.
|
||||
|
||||
- **name** (**Required**, string): The name for the version sensor.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
Advanced:
|
||||
|
||||
|
@ -35,13 +35,11 @@ as an introduction to the working principle of CT clamp sensors and how to hook
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **sensor** (**Required**, :ref:`config-id`): The source sensor to measure voltage values from.
|
||||
- **sample_duration** (*Optional*, :ref:`config-time`): The time duration to sample the current clamp
|
||||
with. Higher values can increase accuracy. Defaults to ``200ms`` which would be 10 whole cycles on a 50Hz system.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval
|
||||
to check the sensor. Defaults to ``60s``. The **update_interval** for ``ct_clamp`` has to be greater than **sample_duration**.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
Calibration
|
||||
|
@ -51,15 +51,11 @@ Configuration variables:
|
||||
- **pin** (**Required**, :ref:`config-pin`): The pin where the DHT bus is connected.
|
||||
- **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>`.
|
||||
- All 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
|
||||
- **model** (*Optional*, int): Manually specify the DHT model, can be
|
||||
|
@ -38,15 +38,11 @@ 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>`.
|
||||
- All 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
|
@ -33,17 +33,12 @@ Configuration variables:
|
||||
|
||||
- **pressure** (**Required**): The information for the pressure sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the pressure sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of
|
||||
the sensor. Defaults to ``0x77``.
|
||||
|
@ -71,205 +71,139 @@ Configuration variables:
|
||||
|
||||
- **energy_delivered_tariff1** (*Optional*): Energy Consumed Tariff 1.
|
||||
|
||||
- **name** (**Required**, string): The name for the energy_delivered_tariff1 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **energy_delivered_tariff2** (*Optional*): Energy Consumed Tariff 2.
|
||||
|
||||
- **name** (**Required**, string): The name for the energy_delivered_tariff2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **energy_returned_tariff1** (*Optional*): Energy Produced Tariff 1.
|
||||
|
||||
- **name** (**Required**, string): The name for the energy_returned_tariff1 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **energy_returned_tariff2** (*Optional*): Energy Produced Tariff 2.
|
||||
|
||||
- **name** (**Required**, string): The name for the energy_returned_tariff2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **power_delivered** (*Optional*): Power Consumed.
|
||||
|
||||
- **name** (**Required**, string): The name for the power_delivered sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **power_returned** (*Optional*): Power Produced.
|
||||
|
||||
- **name** (**Required**, string): The name for the power_returned sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **electricity_failures** (*Optional*): Electricity Failures.
|
||||
|
||||
- **name** (**Required**, string): The name for the electricity_failures sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **electricity_long_failures** (*Optional*): Long Electricity Failures.
|
||||
|
||||
- **name** (**Required**, string): The name for the electricity_long_failures sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **electricity_sags_l1** (*Optional*): Number of voltage sags in phase L1.
|
||||
|
||||
- **name** (**Required**, string): The name for the electricity_sags_l1 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **electricity_sags_l2** (*Optional*): Number of voltage sags in phase L2.
|
||||
|
||||
- **name** (**Required**, string): The name for the electricity_sags_l2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **electricity_sags_l3** (*Optional*): Number of voltage sags in phase L3.
|
||||
|
||||
- **name** (**Required**, string): The name for the electricity_sags_l3 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **electricity_swells_l1** (*Optional*): Number of voltage swells in phase L1.
|
||||
|
||||
- **name** (**Required**, string): The name for the electricity_swells_l1 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **electricity_swells_l2** (*Optional*): Number of voltage swells in phase L2.
|
||||
|
||||
- **name** (**Required**, string): The name for the electricity_swells_l2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **electricity_swells_l3** (*Optional*): Number of voltage swells in phase L3.
|
||||
|
||||
- **name** (**Required**, string): The name for the electricity_swells_l3 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **voltage_l1** (*Optional*): Voltage Phase 1.
|
||||
|
||||
- **name** (**Required**, string): The name for the voltage_l1 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **voltage_l2** (*Optional*): Voltage Phase 2.
|
||||
|
||||
- **name** (**Required**, string): The name for the voltage_l2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **voltage_l3** (*Optional*): Voltage Phase 3.
|
||||
|
||||
- **name** (**Required**, string): The name for the voltage_l3 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **current_l1** (*Optional*): Current Phase 1.
|
||||
|
||||
- **name** (**Required**, string): The name for the current_l1 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **current_l2** (*Optional*): Current Phase 2.
|
||||
|
||||
- **name** (**Required**, string): The name for the current_l2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **current_l3** (*Optional*): Current Phase 3.
|
||||
|
||||
- **name** (**Required**, string): The name for the current_l3 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **power_delivered_l1** (*Optional*): Power Consumed Phase 1.
|
||||
|
||||
- **name** (**Required**, string): The name for the power_delivered_l1 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **power_delivered_l2** (*Optional*): Power Consumed Phase 2.
|
||||
|
||||
- **name** (**Required**, string): The name for the power_delivered_l2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **power_delivered_l3** (*Optional*): Power Consumed Phase 3.
|
||||
|
||||
- **name** (**Required**, string): The name for the power_delivered_l3 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **power_returned_l1** (*Optional*): Power Produced Phase 1.
|
||||
|
||||
- **name** (**Required**, string): The name for the power_returned_l1 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **power_returned_l2** (*Optional*): Power Produced Phase 2.
|
||||
|
||||
- **name** (**Required**, string): The name for the power_returned_l2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **power_returned_l3** (*Optional*): Power Produced Phase 3.
|
||||
|
||||
- **name** (**Required**, string): The name for the power_returned_l3 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **gas_delivered** (*Optional*): Gas Consumed.
|
||||
|
||||
- **name** (**Required**, string): The name for the gas_delivered sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
Belgium
|
||||
|
||||
- **gas_delivered_be** (*Optional*): Gas Consumed Belgium.
|
||||
|
||||
- **name** (**Required**, string): The name for the gas_delivered_be sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **active_energy_import_current_average_demand** (*Optional*): Current Average Quarterly Demand for Peak Tarrif Belgium.
|
||||
|
||||
- **name** (**Required**, string): The name for the active_energy_import_current_average_demand sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **active_energy_import_maximum_demand_running_month** (*Optional*): Current Month's Maximum Quarterly Demand for Peak Tarrif Belgium.
|
||||
|
||||
- **name** (**Required**, string): The name for the active_energy_import_maximum_demand_running_month sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **active_energy_import_maximum_demand_last_13_months** (*Optional*): 13 Month Maximum Quarterly Demand for Peak Tarrif Belgium.
|
||||
|
||||
- **name** (**Required**, string): The name for the active_energy_import_maximum_demand_last_13_months sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
Luxembourg
|
||||
|
||||
- **energy_delivered_lux** (*Optional*): Energy Consumed Luxembourg
|
||||
|
||||
- **name** (**Required**, string): The name for the energy_delivered_lux sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **energy_returned_lux** (*Optional*): Energy Produced Luxembourg
|
||||
|
||||
- **name** (**Required**, string): The name for the energy_returned_lux sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
Text Sensor
|
||||
-----------
|
||||
@ -278,79 +212,55 @@ Configuration variables:
|
||||
|
||||
- **identification** (*Optional*): DSMR Identification
|
||||
|
||||
- **name** (**Required**, string): The name for the identification text sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
- **p1_version** (*Optional*): DSMR Version
|
||||
|
||||
- **name** (**Required**, string): The name for the p1_version text sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
- **timestamp** (*Optional*): Timestamp
|
||||
|
||||
- **name** (**Required**, string): The name for the timestamp sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
- **electricity_tariff** (*Optional*): The current tariff. According to the specs value
|
||||
'0001' means 'normal tariff' and value '0002' means 'low tariff'. Your meter may report differently.
|
||||
|
||||
- **name** (**Required**, string): The name for the electricity_tariff sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
- **electricity_failure_log** (*Optional*): Electricity Failure Log
|
||||
|
||||
- **name** (**Required**, string): The name for the electricity_failure_log sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
- **message_short** (*Optional*): Message Short
|
||||
|
||||
- **name** (**Required**, string): The name for the message_short sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
- **message_long** (*Optional*): Message Long
|
||||
|
||||
- **name** (**Required**, string): The name for the message_long sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
- **gas_equipment_id** (*Optional*): Gas Equipment ID.
|
||||
|
||||
- **name** (**Required**, string): The name for the gas_equipment_id sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
- **water_equipment_id** (*Optional*): Water Equipment ID
|
||||
|
||||
- **name** (**Required**, string): The name for the water_equipment_id sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
- **sub_equipment_id** (*Optional*): Sub Equipment ID
|
||||
|
||||
- **name** (**Required**, string): The name for the sub_equipment_id sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
- **gas_delivered_text** (*Optional*): A text sensor which unformatted gas data. You need to
|
||||
apply a custom parsing of this value depending on your meter format.
|
||||
|
||||
- **name** (**Required**, string): The name for the p1_version text sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
Belgium
|
||||
|
||||
- **p1_version_be** (*Optional*): DSMR Version Belgium
|
||||
|
||||
- **name** (**Required**, string): The name for the p1_version_be text sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
- All options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
||||
Older DSMR meters support
|
||||
-------------------------
|
||||
|
@ -38,21 +38,15 @@ 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **co2** (**Required**): The information for the CO₂ sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the CO₂eq sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pressure** (**Required**): The information for the Pressure sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the Pressure sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor.
|
||||
Defaults to ``0x5F``.
|
||||
|
@ -6,15 +6,15 @@ ENS160 Sensor
|
||||
:keywords: ENS160
|
||||
|
||||
The ``ens160`` sensor platform allows you to use your ENS160
|
||||
(`datasheet <https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf>`__) air-quality sensors with ESPHome.
|
||||
(`datasheet <https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf>`__) air-quality sensors with ESPHome.
|
||||
The :ref:`I²C <i2c>` or :ref:`SPI <spi>` is required to be set up in your configuration for this sensor to work.
|
||||
|
||||
.. note::
|
||||
|
||||
On first power-up of the ENS160 sensor, there is a 1 hour initial startup delay before readings will be available.
|
||||
For subsequent starts or reboots, there is a 3 minute warm up period before readings are available. Also, be aware that the
|
||||
For subsequent starts or reboots, there is a 3 minute warm up period before readings are available. Also, be aware that the
|
||||
ENS160 can take up to 1 second for sucessive data measurements to be ready.
|
||||
|
||||
|
||||
.. figure:: images/ens160.jpg
|
||||
:align: center
|
||||
:width: 80.0%
|
||||
@ -33,7 +33,7 @@ The :ref:`I²C <i2c>` or :ref:`SPI <spi>` is required to be set up in your confi
|
||||
aqi:
|
||||
id: ens160_air_quality_index
|
||||
name: "ENS160 Air Quality Index"
|
||||
update_interval: 60s
|
||||
update_interval: 60s
|
||||
address: 0x53
|
||||
compensation:
|
||||
temperature: id_temperature_sensor
|
||||
@ -48,7 +48,7 @@ The :ref:`I²C <i2c>` or :ref:`SPI <spi>` is required to be set up in your confi
|
||||
name: "ENS160 Total Volatile Organic Compounds"
|
||||
aqi:
|
||||
name: "ENS160 Air Quality Index"
|
||||
update_interval: 60s
|
||||
update_interval: 60s
|
||||
cs_pin: GPIO5
|
||||
compensation:
|
||||
temperature: id_temperature_sensor
|
||||
@ -60,21 +60,15 @@ Configuration variables:
|
||||
|
||||
- **eco2** (**Required**): Configuration for the eCO2 sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the eCO2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **tvoc** (**Required**): Configuration for the TVOC sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the TVOC sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **aqi** (*Optional*): Configuration for the air quality index sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the AQI sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``. The update interval should be greater than the measurement
|
||||
@ -88,20 +82,20 @@ Configuration variables:
|
||||
|
||||
Advanced:
|
||||
|
||||
- **compensation** (*Optional*): The block containing sensors used for compensation.
|
||||
- **compensation** (*Optional*): The block containing sensors used for compensation.
|
||||
Temperature and humidity compensation improves the accuracy of sensor readings. Without compensation, the
|
||||
ENS160 internally assumes 25°C temperature and 50% humidity, with readings noticeably diverting from real changes without compensation in temperature and humidity.
|
||||
|
||||
|
||||
- **temperature** (**Required**, :ref:`config-id`): The ID of an external temperature sensor.
|
||||
- **humidity** (**Required**, :ref:`config-id`): The ID of an external humidity sensor.
|
||||
|
||||
|
||||
Example Text Sensor configuration
|
||||
---------------------------------
|
||||
|
||||
The Air Quality Index(AQI) from this sensor is a number between 1 and 5. The ENS160
|
||||
(`datasheet <https://www.sciosense.com/wp-content/uploads/documents/SC-001224-DS-7-ENS160-Datasheet.pdf>`__) states that
|
||||
"The AQI-UBA air quality index is derived from a guideline by the German Federal Environmental
|
||||
Agency based on a TVOC sum signal". The following is an example configuration to convert the numeric ENS160 AQI to the rating text.
|
||||
Agency based on a TVOC sum signal". The following is an example configuration to convert the numeric ENS160 AQI to the rating text.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
@ -114,7 +108,7 @@ Agency based on a TVOC sum signal". The following is an example configuration to
|
||||
case 2: return {"Good"};
|
||||
case 3: return {"Moderate"};
|
||||
case 4: return {"Poor"};
|
||||
case 5: return {"Unhealthy"};
|
||||
case 5: return {"Unhealthy"};
|
||||
default: return {"Not Available"};
|
||||
}
|
||||
|
||||
|
@ -35,15 +35,11 @@ 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>`.
|
||||
- All 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
|
@ -30,10 +30,8 @@ by the hall sensor.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the hall effect sensor.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval
|
||||
to check the sensor. Defaults to ``60s``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
.. warning::
|
||||
|
@ -42,7 +42,6 @@ Configuration variables:
|
||||
- **address** (**Required**, int): Specify the I²C address of the sensor.
|
||||
- **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>`.
|
||||
|
||||
Automation triggers:
|
||||
|
@ -41,15 +41,11 @@ 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>`.
|
||||
- All 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
|
@ -33,27 +33,19 @@ Configuration variables:
|
||||
|
||||
- **pm_1_0** (*Optional*): Use the concentration of particulates of size less than 1.0µm in µg per cubic meter.
|
||||
|
||||
- **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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_2_5** (*Optional*): Use the concentration of particulates of size less than 2.5µm in µg per cubic meter.
|
||||
|
||||
- **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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_10_0** (*Optional*): Use the concentration of particulates of size less than 10.0µm in µg per cubic meter.
|
||||
|
||||
- **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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **aqi** (*Optional*): AQI sensor. Requires the ``pm_2_5`` and ``pm_10_0`` sensors defined. See below.
|
||||
|
||||
- **calculation_type** (**Required**): One of: ``AQI`` or ``CAQI``.
|
||||
- **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>`.
|
||||
|
||||
Air Quality Sensor:
|
||||
|
@ -39,11 +39,9 @@ Entity state attributes can also be imported:
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **entity_id** (**Required**, string): The entity ID to import from Home Assistant.
|
||||
- **attribute** (*Optional*, string): The name of the state attribute to import from the
|
||||
specified entity. The entity state is used when this option is omitted.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
|
||||
|
@ -49,9 +49,7 @@ datasheet indicates that the sensor does not measure temperature.
|
||||
|
||||
- **temperature** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
|
||||
- **cs_pin** (**Required**, :ref:`SPI <spi>`): Chip select pin.
|
||||
|
@ -33,15 +33,11 @@ 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>`.
|
||||
- All 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor.
|
||||
Defaults to ``0x40``.
|
||||
|
@ -36,7 +36,6 @@ and ``CLK`` (or ``SCK``) to free GPIO pins.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the load cell sensor.
|
||||
- **dout_pin** (**Required**, :ref:`Pin Schema <config-pin_schema>`): The DOUT (or DAT) pin.
|
||||
- **clk_pin** (**Required**, :ref:`Pin Schema <config-pin_schema>`): The CLK pin.
|
||||
- **gain** (*Optional*, enum): The gain. Implicitly selects the channel. Defaults to ``128``.
|
||||
@ -47,7 +46,6 @@ Configuration variables:
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
|
||||
|
@ -74,42 +74,30 @@ Configuration variables:
|
||||
|
||||
- **moisture** (*Optional*): Rain intensity level from 0-7 (`more detail <https://rainsensors.com/support/rg-9-rg-15-faq/#RG-9RValue>`__). Only on RG-9.
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature** (*Optional*): Device internal temperature in Celsius. Accuracy is ±5°C. Only on RG-9 firmware version 1.100-onwards.
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **resolution** (*Optional*, string): Specify rain sensor resolution. Must be either ``low`` or ``high``. Default resolution is ``high``.
|
||||
Only applies to RG-15.
|
||||
|
||||
- **acc** (*Optional*): Amount of rain since last message (see ``update_interval``), in ``mm``. Only on RG-15.
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **event_acc** (*Optional*): Amount of rain for this event (i.e. since it last stopped raining), in ``mm``. Only on RG-15.
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **total_acc** (*Optional*): Total amount of rain this sensor has ever measured, in ``mm``. Only on RG-15.
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **r_int** (*Optional*): Current rain intensity in ``mm/h``. Only on RG-15.
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
|
@ -6,7 +6,7 @@ HYT271 Temperature & Humidity Sensor
|
||||
:image: hyt271.jpg
|
||||
:keywords: HYT271
|
||||
|
||||
The HYT271 Temperature & Humidity sensors with ESPHome.
|
||||
The HYT271 Temperature & Humidity sensors with ESPHome.
|
||||
The :ref:`I²C Bus <i2c>` is required to be set up in your configuration for this sensor to work.
|
||||
|
||||
Example sensors:
|
||||
@ -27,15 +27,11 @@ 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>`.
|
||||
- All 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
|
@ -54,27 +54,19 @@ Configuration variables:
|
||||
- **mac_address** (**Required**, MAC Address): The MAC address of the Inkbird IBS-TH1 device.
|
||||
- **temperature** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **external_temperature** (*Optional*): The information for the external temperature sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the external 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **battery_level** (*Optional*): The information for the battery level sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the battery level sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
|
||||
Setting Up Devices
|
||||
|
@ -29,7 +29,6 @@ Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **sensor** (**Required**, :ref:`config-id`): The ID of the sensor to integrate over time.
|
||||
- **name** (**Required**, string): The name of the integration sensor.
|
||||
- **time_unit** (**Required**, string): The time unit to integrate with, one of
|
||||
``ms``, ``s``, ``min``, ``h`` or ``d``.
|
||||
- **integration_method** (*Optional*, string): The integration method to use. One of
|
||||
@ -37,7 +36,6 @@ Configuration variables:
|
||||
- **restore** (*Optional*, boolean): Whether to store the intermediate result on the device so
|
||||
that the value can be restored upon power cycle or reboot.
|
||||
Warning: this option can wear out your flash. Defaults to ``false``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
.. _sensor-integration-reset_action:
|
||||
|
@ -28,10 +28,8 @@ temperature sensor of the ESP32, RP2040 and BK72XX chip.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the temperature sensor.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval
|
||||
to check the sensor. Defaults to ``60s``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -6,7 +6,7 @@ JSN-SR04T Waterproof Ultrasonic Range Finder
|
||||
:image: jsn-sr04t-v3.jpg
|
||||
:keywords: JSN-SR04T
|
||||
|
||||
This sensor allows you to use the JSN-SR04T Waterproof Ultrasonic Range Finder **in Mode 1 and 2**
|
||||
This sensor allows you to use the JSN-SR04T Waterproof Ultrasonic Range Finder **in Mode 1 and 2**
|
||||
with ESPHome to measure distances. This sensor can measure
|
||||
ranges between 25 centimeters and 600 centimeters with a resolution of 1 millimeter.
|
||||
|
||||
@ -24,10 +24,10 @@ Configure the JSN-SR04T for mode 2:
|
||||
|
||||
JSN-SR04T Waterproof Ultrasonic Range Finder Mode Select Pads.
|
||||
|
||||
In mode 1 the module continuously takes measurements approximately every 100mS and outputs the distance on the TX pin at 9600 baud.
|
||||
In mode 1 the module continuously takes measurements approximately every 100mS and outputs the distance on the TX pin at 9600 baud.
|
||||
In this mode :ref:`sensor-filters` are highly recommended.
|
||||
|
||||
In mode 2 the module takes a measurement only when a trigger command of 0x55 is sent to the RX pin on the module.
|
||||
In mode 2 the module takes a measurement only when a trigger command of 0x55 is sent to the RX pin on the module.
|
||||
The module then outputs the distance on its TX pin. The frequency of the measurements can be set with the **update_interval** option.
|
||||
|
||||
To use the sensor, first set up an :ref:`uart` with a baud rate of 9600 and connect the sensor to the specified pin.
|
||||
@ -45,12 +45,11 @@ To use the sensor, first set up an :ref:`uart` with a baud rate of 9600 and conn
|
||||
- platform: "jsn_sr04t"
|
||||
name: "Distance"
|
||||
update_interval: 1s
|
||||
|
||||
|
||||
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``. Not applicable in mode 1.
|
||||
- **uart_id** (*Optional*, :ref:`config-id`): The ID of the :ref:`UART bus <uart>` you wish to use for this sensor.
|
||||
|
@ -34,12 +34,13 @@ Connect ``GND`` to ``GND``, ``VCC`` to ``3.3V`` and the other three ``MISO`` (or
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- **cs_pin** (**Required**, :ref:`Pin Schema <config-pin_schema>`): The Chip Select pin of the SPI interface.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
- **reference_temperature** (*Optional*, :ref:`config-id`): Access the internal temperature sensor of the MAX31855. Requires a **name** and/or **id**.
|
||||
- **reference_temperature** (*Optional*, :ref:`config-id`): Access the internal temperature sensor of the MAX31855.
|
||||
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **spi_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the :ref:`SPI Component <spi>` if you want to use multiple SPI buses.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -46,7 +46,6 @@ to have an :ref:`spi bus <spi>` in your configuration with both **miso_pin** and
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- **cs_pin** (**Required**, :ref:`Pin Schema <config-pin_schema>`): The Chip Select pin of the SPI interface.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
- **reference_resistance** (**Required**, float): Reference resistor on the PCB. Adafruit's PT100 (#3328) uses 430 Ω, their PT1000 (#3648) uses 4300 Ω.
|
||||
@ -54,7 +53,6 @@ Configuration variables:
|
||||
- **mains_filter** (*Optional*, string): The mains power frequency to reject (``50 Hz`` or ``60 Hz``). Defaults to ``60 Hz``.
|
||||
- **rtd_wires** (*Optional*, int): The number of RTD wires. Be sure to solder board jumpers to match! Defaults to ``4``.
|
||||
- **spi_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the :ref:`SPI Component <spi>` if you want to use multiple SPI buses.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -8,8 +8,8 @@ MAX44009 Ambient Light Sensor
|
||||
|
||||
The ``max44009`` sensor platform allows you to use your MAX44009
|
||||
(`datasheet <https://datasheets.maximintegrated.com/en/ds/MAX44009.pdf>`__)
|
||||
ambient light sensor with ESPHome. This sensor features an ultra-wide 22-bit dynamic range
|
||||
from 0.045 lux to 188,000 lux. The :ref:`I²C bus <i2c>` is required to be set up in your
|
||||
ambient light sensor with ESPHome. This sensor features an ultra-wide 22-bit dynamic range
|
||||
from 0.045 lux to 188,000 lux. The :ref:`I²C bus <i2c>` is required to be set up in your
|
||||
configuration for this sensor to work.
|
||||
|
||||
The ``max44009`` sensor can operate in two modes: ``low_power`` (default) and ``continuous``:
|
||||
@ -28,12 +28,10 @@ The ``max44009`` sensor can operate in two modes: ``low_power`` (default) and ``
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor. Defaults to ``0x4A``.
|
||||
- **mode** (*Optional*, string): Measurement mode. One of ``auto``, ``low_power``, ``continuous``.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -42,13 +42,11 @@ Connect ``GND`` to ``GND``, ``VCC`` to ``3.3V`` and the other three ``MISO`` (or
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- **cs_pin** (**Required**, :ref:`Pin Schema <config-pin_schema>`): The Chip Select pin of the SPI interface.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
- **spi_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the :ref:`SPI Component <spi>` if you want
|
||||
to use multiple SPI buses.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -47,23 +47,19 @@ Configuration variables:
|
||||
|
||||
- **voltage** (*Optional*): The information for the voltage sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the voltage sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **current** (*Optional*): The information for the current sensor, scaled by the gain factor and multiplied by voltage
|
||||
|
||||
- **name** (**Required**, string): The name for the current sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **power** (*Optional*): The information for the power sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the power sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature** (*Optional*): The information for the temperature sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of
|
||||
|
@ -41,16 +41,11 @@ Configuration variables:
|
||||
|
||||
- **hot_junction** (*Optional*): The information for the Hot Junction 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **cold_junction** (*Optional*): The information for the Cold Junction 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **thermocouple_type** (*Optional*): Set the thermocouple type. Options are:
|
||||
K, J, T, N, S, E, B and R type thermocouple. Defaults to ``K``.
|
||||
|
@ -32,8 +32,6 @@ required to be set up in your configuration for this sensor to work.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor. Defaults to ``0x18``.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
@ -37,8 +37,6 @@ Configuration variables:
|
||||
|
||||
- **x_axis** (*Optional*): The information for the x-axis.
|
||||
|
||||
- **name** (**Required**, string): The name for the x-axis sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- **resolution** (*Optional*, int): Set resolution. Defaults to ``19BIT``. Must be one of:
|
||||
|
||||
- ``16BIT``
|
||||
@ -50,8 +48,6 @@ Configuration variables:
|
||||
|
||||
- **y_axis** (*Optional*): The information for the y-axis.
|
||||
|
||||
- **name** (**Required**, string): The name for the y-axis sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- **resolution** (*Optional*, int): Set resolution. Defaults to ``19BIT``. Must be one of:
|
||||
|
||||
- ``16BIT``
|
||||
@ -63,8 +59,6 @@ Configuration variables:
|
||||
|
||||
- **z_axis** (*Optional*): The information for the z-axis.
|
||||
|
||||
- **name** (**Required**, string): The name for the z-axis sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- **resolution** (*Optional*, int): Set resolution. Defaults to ``16BIT``. Must be one of:
|
||||
|
||||
- ``16BIT``
|
||||
@ -76,8 +70,6 @@ Configuration variables:
|
||||
|
||||
- **temperature** (*Optional*): Built-in 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.
|
||||
- **oversampling** (*Optional*, int): On-chip oversampling for the temperature sensor. Defaults to ``0``. Must be between ``0`` and ``3``.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
|
@ -11,8 +11,6 @@ and requires :doc:`/components/modbus_controller` to be configured.
|
||||
|
||||
Configuration variables:
|
||||
------------------------
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **register_type** (**Required**): type of the modbus register.
|
||||
|
||||
- ``coil``: Coils are 1-bit registers (ON/OFF values) that are used to control discrete outputs. They may be read and/or written. Modbus *Function Code 1 (Read Coil Status)* will be used.
|
||||
|
@ -37,21 +37,15 @@ sensor is configured.
|
||||
|
||||
- **pressure** (*Optional*): The information for the pressure sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the pressure sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **altitude** (*Optional*): The information for the altitude sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the altitude sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of
|
||||
the sensor. Defaults to ``0x60``.
|
||||
|
@ -26,10 +26,8 @@ text sensor for importing arbitrary text into the ESPHome ecosystem.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **topic** (**Required**, string): The MQTT topic to listen for numeric messages.
|
||||
- **qos** (*Optional*, int): The MQTT QoS to subscribe with. Defaults to ``0``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -39,17 +39,12 @@ Configuration variables:
|
||||
|
||||
- **pressure** (**Required**): The information for the pressure sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the pressure sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of
|
||||
the sensor. Defaults to ``0x77``.
|
||||
|
@ -54,7 +54,6 @@ See :doc:`/components/display/nextion` for setting up the display
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **nextion_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the Nextion display.
|
||||
- **component_name** (*Optional*, string): Manually specify the name of the Nextion component.
|
||||
- **variable_name** (*Optional*, string): Manually specify the name of the Nextion variable.
|
||||
|
@ -73,12 +73,10 @@ calibration parameter:
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **sensor** (**Required**, :ref:`config-id`): The sensor to read the resistance values from
|
||||
to convert to temperature readings.
|
||||
- **calibration** (**Required**, float): The calibration parameters of the sensor - see above
|
||||
for more details.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
Self-Heating
|
||||
|
@ -28,7 +28,6 @@ Configuration variables
|
||||
------------------------
|
||||
|
||||
- **pin** (**Required**, :ref:`config-pin`): The pin to count pulses on.
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **count_mode** (*Optional*): Configure how the counter should behave
|
||||
on a detected rising edge/falling edge.
|
||||
|
||||
@ -40,18 +39,12 @@ Configuration variables
|
||||
Defaults to ``DISABLE``.
|
||||
|
||||
- **use_pcnt** (*Optional*, boolean): Use hardware ``PCNT`` pulse counter. Only supported on ESP32. Defaults to ``true``.
|
||||
|
||||
- **internal_filter** (*Optional*, :ref:`config-time`): If a pulse shorter than this
|
||||
time is detected, it’s discarded and no pulse is counted. Defaults to ``13us``. On the ESP32, when using the hardware pulse counter
|
||||
this value can not be higher than ``13us``, for the ESP8266 or with ``use_pcnt: false`` you can use larger intervals too.
|
||||
If you enable this, set up the ``count_mode`` to increase on the falling edge, not leading edge. For S0 pulse meters that are used to meter power consumption 50-100 ms is a reasonable value.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
|
||||
- **total** (*Optional*): Report the total number of pulses.
|
||||
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
.. note::
|
||||
|
@ -29,7 +29,6 @@ Configuration variables
|
||||
------------------------
|
||||
|
||||
- **pin** (**Required**, :ref:`config-pin`): The pin to count pulses on.
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
|
||||
- **internal_filter** (*Optional*, :ref:`config-time`): If a pulse shorter than this time is detected, it is discarded. Defaults to ``13us``.
|
||||
|
||||
|
@ -38,19 +38,14 @@ Configuration variables:
|
||||
|
||||
- **temperature** (*Optional*): The information for the temperature sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature
|
||||
sensor.
|
||||
- **oversampling** (*Optional*): The oversampling parameter for the temperature sensor.
|
||||
See :ref:`Oversampling Options <qmp6988-oversampling>`.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pressure** (*Optional*): The information for the pressure sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the pressure sensor.
|
||||
- **oversampling** (*Optional*): The oversampling parameter for the temperature sensor.
|
||||
See :ref:`Oversampling Options <qmp6988-oversampling>`.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of
|
||||
@ -73,9 +68,9 @@ configure this amount. Possible oversampling values:
|
||||
- ``2x``
|
||||
- ``4x``
|
||||
- ``8x`` (default)
|
||||
- ``16x``
|
||||
- ``32x``
|
||||
- ``64x``
|
||||
- ``16x``
|
||||
- ``32x``
|
||||
- ``64x``
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
@ -60,7 +60,6 @@ Some boards like NodeMCUv2 needs to multiply ADC reading by 3.3 to provide accur
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **sensor** (**Required**, :ref:`config-id`): The sensor to read the voltage values from
|
||||
to convert to resistance readings.
|
||||
- **configuration** (**Required**, string): The type of circuit, one of ``DOWNSTREAM`` or
|
||||
@ -68,7 +67,6 @@ Configuration variables:
|
||||
- **resistor** (**Required**, float): The value of the resistor with a constant value.
|
||||
|
||||
- **reference_voltage** (*Optional*, float): The reference voltage. Defaults to ``3.3V``.
|
||||
- **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
|
||||
|
@ -55,7 +55,6 @@ Configuration variables:
|
||||
The first pin for determining the step value. Must not be a pin from an external I/O expander.
|
||||
- **pin_b** (**Required**, :ref:`Pin Schema <config-pin_schema>`):
|
||||
The second pin for determining the step value. Must not be a pin from an external I/O expander.
|
||||
- **name** (**Required**, string): The name of the rotary encoder sensor.
|
||||
- **pin_reset** (*Optional*, :ref:`Pin Schema <config-pin_schema>`):
|
||||
An optional pin that resets the step value. This is useful with rotary encoders that have a
|
||||
third pin. Defaults to no reset pin.
|
||||
@ -66,7 +65,6 @@ Configuration variables:
|
||||
- ``2``
|
||||
- ``4``
|
||||
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **min_value** (*Optional*, int): The minimum value this rotary encoder will go to, turning
|
||||
the knob further will not decrease the number. Defaults to no minimum.
|
||||
- **max_value** (*Optional*, int): The maximum value this rotary encoder will go to, turning
|
||||
|
@ -61,91 +61,57 @@ Configuration variables:
|
||||
device.
|
||||
- **humidity** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pressure** (*Optional*): The information for the pressure sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the pressure sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use
|
||||
in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **acceleration** (*Optional*): The information for the acceleration
|
||||
sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the acceleration sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use
|
||||
in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **acceleration_x** (*Optional*): The information for the acceleration x
|
||||
sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the acceleration x sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use
|
||||
in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **acceleration_y** (*Optional*): The information for the acceleration y
|
||||
sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the acceleration y sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use
|
||||
in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **acceleration_z** (*Optional*): The information for the acceleration z
|
||||
sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the acceleration z sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use
|
||||
in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **battery_voltage** (*Optional*): The information for the battery voltage
|
||||
sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the battery voltage sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use
|
||||
in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **tx_power** (*Optional*): The information for the transmit power
|
||||
sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the transmit power sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use
|
||||
in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
- Only available if RAWv2 protocol is used.
|
||||
|
||||
- **movement_counter** (*Optional*): The information for the movement count
|
||||
sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the movement count sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use
|
||||
in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
- Only available if RAWv2 protocol is used.
|
||||
|
||||
- **measurement_sequence_number** (*Optional*): The information for the
|
||||
measurement sequence number sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the measurement sequence
|
||||
number sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use
|
||||
in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
- Only available if RAWv2 protocol is used.
|
||||
|
||||
Setting Up Devices
|
||||
|
@ -36,21 +36,15 @@ Configuration variables:
|
||||
|
||||
- **co2** (*Optional*): The information for the CO₂ sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the CO₂eq sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature_offset** (*Optional*, float): Temperature and humidity
|
||||
offsets may occur when operating the sensor in end-customer
|
||||
@ -90,7 +84,7 @@ Manual calibration:
|
||||
then:
|
||||
- scd30.force_recalibration_with_reference:
|
||||
value: !lambda 'return id(co2_cal).state;'
|
||||
|
||||
|
||||
number:
|
||||
- platform: template
|
||||
name: "CO2 calibration value"
|
||||
|
@ -31,22 +31,16 @@ Configuration variables:
|
||||
|
||||
- **co2** (*Optional*): The information for the CO₂ sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the CO₂eq sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
|
||||
- **humidity** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature_offset** (*Optional*, float): The temperature offset can depend
|
||||
on various factors such as the SCD4x measurement mode, self-heating of close
|
||||
|
@ -32,8 +32,6 @@ To use the sensor, set up an :ref:`I²C Bus <i2c>` and connect the sensor to the
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for lambdas/multiple sensors.
|
||||
- **address** (*Optional*, int): The I²C address of the sensor. Defaults to ``0x21``.
|
||||
- **measurement_mode** (*Optional*): The measurement mode of the sensor. Valid options are ``differential_pressure`` and ``mass_flow``. Defaults to ``differential_pressure``.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
@ -66,42 +66,31 @@ Configuration variables:
|
||||
|
||||
- **pm_1_0** (*Optional*): The information for the **Weight Concentration** sensor for fine particles up to 1μm. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_2_5** (*Optional*): The information for the **Weight Concentration** sensor for fine particles up to 2.5μm. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_4_0** (*Optional*): The information for the **Weight Concentration** sensor for coarse particles up to 4μm. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_10_0** (*Optional*): The information for the **Weight Concentration** sensor for coarse particles up to 10μm. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **auto_cleaning_interval** (*Optional*): Reads/Writes the interval in seconds of the periodic fan-cleaning.
|
||||
|
||||
- **temperature** (*Optional*): Temperature.Note only available with Sen54 or Sen55. The sensor will be ignored on unsupported models.
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (*Optional*): Relative Humidity. Note only available with Sen54 or Sen55. The sensor will be ignored on unsupported models.
|
||||
|
||||
- **voc** (*Optional*): VOC Index. Note only available with Sen54 or Sen55. The sensor will be ignored on unsupported models.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **voc** (*Optional*): VOC Index. Note only available with Sen54 or Sen55. The sensor will be ignored on unsupported models.
|
||||
|
||||
- **algorithm_tuning** (*Optional*): The VOC algorithm can be customized by tuning 6 different parameters. For more details see `Engineering Guidelines for SEN5x <https://sensirion.com/media/documents/25AB572C/62B463AA/Sensirion_Engineering_Guidelines_SEN5x.pdf>`__
|
||||
|
||||
@ -116,9 +105,6 @@ Configuration variables:
|
||||
|
||||
- **nox** (*Optional*): NOx Index. Note: Only available with Sen55. The sensor will be ignored on unsupported models.
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
|
||||
- **algorithm_tuning** (*Optional*): The NOx algorithm can be customized by tuning 5 different parameters.For more details see `Engineering Guidelines for SEN5x <https://sensirion.com/media/documents/25AB572C/62B463AA/Sensirion_Engineering_Guidelines_SEN5x.pdf>`__
|
||||
|
||||
- **index_offset** (*Optional*): NOx index representing typical (average) conditions. Allowed values are in range 1..250. The default value is 100.
|
||||
|
@ -42,9 +42,7 @@ Configuration variables:
|
||||
|
||||
- **co2** (**Required**): The CO_2 data from the sensor in parts per million (ppm).
|
||||
|
||||
- **name** (**Required**, string): The name for the CO_2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
|
@ -33,15 +33,11 @@ Configuration variables:
|
||||
|
||||
- **eco2** (**Required**): The information for the CO₂eq. sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the CO₂eq sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **tvoc** (**Required**): The information for the total Volatile Organic Compounds sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the TVOC sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **store_baseline** (*Optional*, boolean): Store the sensor baselines persistently when calculated or updated.
|
||||
Defaults to yes.
|
||||
@ -62,15 +58,11 @@ Advanced:
|
||||
|
||||
- **eco2_baseline** (*Optional*): The information for the CO₂eq. baseline value sensor. Baseline value is published in decimals.
|
||||
|
||||
- **name** (**Required**, string): The name for the CO₂eq baseline value sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **tvoc_baseline** (*Optional*): The information for the TVOC baseline value sensor. Baseline value is published in decimals.
|
||||
|
||||
- **name** (**Required**, string): The name for the TVOC baseline value sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **compensation** (*Optional*): The block containing sensors used for compensation. Both values must be supplied in order to be able to generate the absolute humidity to be reported to the sensor.
|
||||
|
||||
|
@ -39,8 +39,6 @@ Configuration variables:
|
||||
|
||||
- **voc** (*Optional*): VOC Index
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **algorithm_tuning** (*Optional*): The VOC algorithm can be customized by tuning 6 different parameters. For more details see `Engineering Guidelines for SEN5x <https://sensirion.com/media/documents/25AB572C/62B463AA/Sensirion_Engineering_Guidelines_SEN5x.pdf>`__
|
||||
|
||||
- **index_offset** (*Optional*): VOC index representing typical (average) conditions. Allowed values are in range 1..250. The default value is 100.
|
||||
@ -55,8 +53,6 @@ Configuration variables:
|
||||
|
||||
- **nox** (*Optional*): NOx Index. Only available with SGP41. If a SGP40 sensor is detected this sensor will be ignored
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **algorithm_tuning** (*Optional*): The NOx algorithm can be customized by tuning 5 different parameters.For more details see `Engineering Guidelines for SEN5x <https://sensirion.com/media/documents/25AB572C/62B463AA/Sensirion_Engineering_Guidelines_SEN5x.pdf>`__
|
||||
|
||||
- **index_offset** (*Optional*): NOx index representing typical (average) conditions. Allowed values are in range 1..250. The default value is 100.
|
||||
|
@ -35,15 +35,11 @@ Configuration variables:
|
||||
|
||||
- **temperature** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor.
|
||||
Defaults to ``0x44``. For SHT3x, an alternate address can be ``0x45`` while SHT85 supports only address ``0x44``
|
||||
|
@ -30,15 +30,11 @@ Configuration variables:
|
||||
|
||||
- **temperature** (*Optional*): Temperature.
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (*Optional*): Relative Humidity.
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **precision** (*Optional*, string): The measurement precision, either ``High``, ``Med`` or ``Low``. Default is ``High``.
|
||||
- **heater_max_duty** (*Optional*, float): The maximum duty cycle of the heater (limited to ``0.05``). Default is ``0.0``, i.e. heater off.
|
||||
|
@ -37,15 +37,11 @@ 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>`.
|
||||
- All 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor.
|
||||
Defaults to ``0x70``.
|
||||
|
@ -64,45 +64,31 @@ Configuration variables:
|
||||
|
||||
- **co2** (**Required**): The information for the CO₂ sensor. Readings in parts per million (ppm).
|
||||
|
||||
- **name** (**Required**, string): The name of the CO₂ sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **formaldehyde** (**Required**): The information for the formaldehyde sensor. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name of the formaldehyde sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **tvoc** (**Required**): The information for the total volatile organic compounds (TVOC) sensor. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name of the TVOC sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_2_5** (**Required**): The information for the **Weight Concentration** sensor for fine particles up to 2.5μm. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name of the PM2.5 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_10_0** (**Required**): The information for the **Weight Concentration** sensor for coarse particles up to 10μm. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name of the PM10 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature** (**Required**): The information for the temperature sensor. Readings in degrees celsius (°C).
|
||||
|
||||
- **name** (**Required**, string): The name of 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (**Required**): The information for the relative humidity sensor. Readings in %.
|
||||
|
||||
- **name** (**Required**, string): The name of 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
@ -129,7 +115,7 @@ Configuration variables:
|
||||
to connect the UART ``5V`` pin to the ESP's ``VIN`` and then power everything through either the LCD module or the
|
||||
ESP module, with a single power cable. If you choose to power the ESP separately from the sensor board, leave the
|
||||
UART ``5V`` pin unconnected.
|
||||
|
||||
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
@ -46,28 +46,23 @@ Configuration variables:
|
||||
|
||||
- **counts** (*Optional*): Raw measurement data from the sensor electronics (dimensionless quantity). Higher counts mean less moisture. May be used for material specific calibrations.
|
||||
|
||||
- **name** (**Required**): Sensor name.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **dielectric_constant** (*Optional*): Dielectric coefficient or permittivity of the material to be measured (dimensionless quantity). Higher permittivity means higher water content. May be used for material specific calibration.
|
||||
|
||||
- **name** (**Required**): Sensor name.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature** (*Optional*): Soil temperature in degrees Celsius. Please note that the temperature sensor is inside the black sensor enclosure and requires some time to equilibrate with the soil temperature.
|
||||
|
||||
- **name** (**Required**): Sensor name.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **moisture** (*Optional*): Soil moisture (volumetric water content in %).
|
||||
|
||||
- **name** (**Required**): Sensor name.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **voltage** (*Optional*): Supply voltage of the sensor in Volt.
|
||||
|
||||
- **name** (**Required**): Sensor name.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **uart_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the :ref:`UART Component <uart>` if you want
|
||||
to use multiple UART buses.
|
||||
|
@ -59,63 +59,43 @@ Configuration variables:
|
||||
|
||||
- **pm_1_0** (*Optional*): The information for the **Weight Concentration** sensor for fine particles up to 1μm. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_2_5** (*Optional*): The information for the **Weight Concentration** sensor for fine particles up to 2.5μm. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_4_0** (*Optional*): The information for the **Weight Concentration** sensor for coarse particles up to 4μm. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_10_0** (*Optional*): The information for the **Weight Concentration** sensor for coarse particles up to 10μm. Readings in µg/m³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pmc_0_5** (*Optional*): The information for the **Number Concentration** sensor for ultrafine particles up to 0.5μm. Readings in particles/cm³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pmc_1_0** (*Optional*): The information for the **Number Concentration** sensor for fine particles up to 1μm. Readings in particles/cm³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pmc_2_5** (*Optional*): The information for the **Number Concentration** sensor for fine particles up to 2.5μm. Readings in particles/cm³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pmc_4_0** (*Optional*): The information for the **Number Concentration** sensor for coarse particles up to 4μm. Readings in particles/cm³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pmc_10_0** (*Optional*): The information for the **Number Concentration** sensor for coarse particles up to 10μm. Readings in particles/cm³.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **pm_size** (*Optional*): Typical particle size in μm.
|
||||
|
||||
- **name** (**Required**, string): The name for this sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **auto_cleaning_interval** (*Optional*): The interval in seconds of the periodic fan-cleaning.
|
||||
|
||||
|
@ -27,12 +27,10 @@ required to be set up in your configuration for this sensor to work.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- **address** (*Optional*, int): Manually specify the I²C 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
|
||||
|
@ -27,12 +27,10 @@ required to be set up in your configuration for this sensor to work.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor.
|
||||
Defaults to ``0x48``.
|
||||
- **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
|
||||
|
@ -32,12 +32,10 @@ Possible return values for the lambda:
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **lambda** (*Optional*, :ref:`lambda <config-lambda>`):
|
||||
Lambda to be evaluated every update interval to get the new value of the sensor
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Set to ``never`` to disable updates. Defaults to ``60s``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
.. _sensor-template-publish_action:
|
||||
|
@ -32,11 +32,9 @@ configuration for this sensor to work.
|
||||
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. Defaults to ``0x48``.
|
||||
See :ref:`I²C Addresses <tmp117_i2c_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 <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -45,8 +45,6 @@ to the specified pins.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for lambdas/multiple sensors.
|
||||
- **address** (*Optional*, int): The I²C address of the sensor.
|
||||
See :ref:`I²C Addresses <tmp1075_i2c_addresses>` for more information. Defaults to ``0x48``.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check
|
||||
@ -57,12 +55,13 @@ Configuration variables:
|
||||
checks the sensor. Possible values are ``27.5ms``, ``55ms``, ``110ms``, and
|
||||
``220ms``. Defaults to ``27.5ms``.
|
||||
- **alert** (*Optional*): Configure the alert pin behaviour.
|
||||
|
||||
|
||||
- **function** (*Optional*, enum): Function of the alert pin, either ``comparator`` or ``interrupt``. Defaults to ``comparator``.
|
||||
- **polarity** (*Optional*, enum): Polarity of the alert pin, either ``active_high`` or ``active_low``. Defaults to ``active_high``.
|
||||
- **limit_low** (*Optional*, int): Lower temperature limit, in °C. Defaults to ``-128`` (the lowest possible limit value).
|
||||
- **limit_high** (*Optional*, int): Higher temperature limit, in °C. Defaults to ``127.9375`` (the highest possible limit value).
|
||||
- **fault_count** (*Optional*, int): Number of measurements. required for the alert pin to act. Must be between ``1`` and ``4``, inclusive. Defaults to ``1``.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
.. _tmp1075_i2c_addresses:
|
||||
|
||||
|
@ -37,11 +37,10 @@ If accuracy is a must, see section 8.2.2.2 of the `datasheet <https://www.ti.com
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for lambdas/multiple sensors.
|
||||
- **address** (*Optional*, int): The I²C address of the sensor.
|
||||
See :ref:`I²C Addresses <tmp117_i2c_addresses>` for more information.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``. The sensor component sets the maximum possible averaging in the sensor based on this.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
.. _tmp117_i2c_addresses:
|
||||
|
||||
|
@ -37,11 +37,9 @@ required to be set up in your configuration for this sensor to work.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
- **address** (*Optional*, int): Manually specify the I^2C address of the sensor. Defaults to ``0x52``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -43,8 +43,6 @@ Configuration variables:
|
||||
|
||||
- **power_id** (**Required**, :ref:`config-id`): The ID of the power sensor
|
||||
to integrate over time.
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **restore** (*Optional*, boolean): Whether to store the intermediate result on the device so
|
||||
that the value can be restored upon power cycle or reboot.
|
||||
Defaults to ``true``.
|
||||
|
@ -36,7 +36,6 @@ your configuration for this sensor to work.
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor. Defaults to ``0x39``.
|
||||
- **integration_time** (*Optional*, :ref:`config-time`):
|
||||
The time the sensor will take for each measurement. Longer means more accurate values. One of
|
||||
@ -48,7 +47,6 @@ Configuration variables:
|
||||
package. Defaults to ``false``.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
See Also
|
||||
|
@ -154,28 +154,23 @@ Each configured sensor is reported separately on each ``update_interval``.
|
||||
|
||||
- **full_spectrum** (*Optional*): The reading for the full spectrum sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **infrared** (*Optional*): The reading for the infrared sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **visible** (*Optional*): The reading for visible light.
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **calculated_lux** (*Optional*): The value of the calculated lux.
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **actual_gain** (*Optional*): The value of gain used for reported values. Particularly useful when gain is set to "auto".
|
||||
|
||||
- **name** (**Required**, string): The name for the sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
Power save mode
|
||||
...............
|
||||
|
@ -35,8 +35,6 @@ Based on this, you can create the sensor as follows:
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **sensor_datapoint** (**Required**, int): The datapoint id number of the sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
|
@ -46,7 +46,6 @@ Configuration variables:
|
||||
periodically send the trigger pulse to.
|
||||
- **echo_pin** (**Required**, :ref:`Pin Schema <config-pin_schema>`): The input pin on which to
|
||||
wait for the echo.
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
@ -7,11 +7,11 @@ VEML7700 and VEML6030 Ambient Light Sensors
|
||||
:keywords: VEML7700, VEML6300
|
||||
|
||||
The ``veml7700`` sensor platform allows you to use the Vishay VEML7700 and VEML6030 ambient light sensors with ESPHome.
|
||||
Communication with the device is over :ref:`I²C <i2c>`, which must be present in your configuration. VEML7700 and VEML6030
|
||||
are basically the same but in different packages. The VEML7700 uses a fixed address of ``0x10``, while the smaller VEML6030
|
||||
Communication with the device is over :ref:`I²C <i2c>`, which must be present in your configuration. VEML7700 and VEML6030
|
||||
are basically the same but in different packages. The VEML7700 uses a fixed address of ``0x10``, while the smaller VEML6030
|
||||
can be configured to use either ``0x10`` or ``0x48``.
|
||||
|
||||
The VEML 7700/6030 devices are available on breakout boards from a number of vendors including `Adafruit`_, `SparkFun`_,
|
||||
The VEML 7700/6030 devices are available on breakout boards from a number of vendors including `Adafruit`_, `SparkFun`_,
|
||||
`DFRobot`_, and others.
|
||||
|
||||
.. _Adafruit: http://www.adafruit.com/products/4162
|
||||
@ -20,7 +20,7 @@ The VEML 7700/6030 devices are available on breakout boards from a number of ven
|
||||
|
||||
|
||||
.. figure:: images/veml7700-full.jpg
|
||||
:align: center
|
||||
:align: center
|
||||
:width: 70.0%
|
||||
|
||||
VEML7700 Ambient Light Sensor on a board and standalone sensors.
|
||||
@ -33,7 +33,7 @@ The VEML 7700/6030 devices are available on breakout boards from a number of ven
|
||||
|
||||
The sensor is a high accuracy ambient light digital 16-bit resolution sensor with dynamic range from 0 lux to about 120,000 lux.
|
||||
Its wide range of measurements is enabled by four configurable *gain* levels and six different *integration time* options.
|
||||
Higher gain values are typically used for lower light conditions.
|
||||
Higher gain values are typically used for lower light conditions.
|
||||
|
||||
The sensor has two photodiodes with different spectral response represented by two channels: an *ALS* channel and a *WHITE* channel.
|
||||
The *ALS*, or *Ambient light* channel follows a so-called human eye curve very closely. The *WHITE* channel covers a much wider wavelength/spectrum, capturing quite a lot of near-infrared radiance.
|
||||
@ -50,12 +50,12 @@ taking several measurements. To do so, it follows a process recommended by the
|
||||
|
||||
Should you desire to manually control those parameters - please note that:
|
||||
|
||||
- Gain levels of 1/8 and 1/4 shall be used in most cases.
|
||||
- Gain levels of 1/8 and 1/4 shall be used in most cases.
|
||||
- Gain levels of 1 an 2 are only intended to be used in low light conditions < 100 lux. For very high illuminations it shows high non-linearity.
|
||||
- In the range of 0 lux - 1000 lux the sensor measurements are stricly linear for Gain 1/4 and 1/8, after 1000 lux it shows non-linearity.
|
||||
- In the range of 0 lux - 1000 lux the sensor measurements are stricly linear for Gain 1/4 and 1/8, after 1000 lux it shows non-linearity.
|
||||
|
||||
|
||||
A lux compensation formula is used to get better readings in bright conditions.
|
||||
A lux compensation formula is used to get better readings in bright conditions.
|
||||
However, it gives quite high error in very bright direct sunlight (instead of 100-120 kilolux it might give 150-200k+).
|
||||
|
||||
This Wikipedia `article <https://en.wikipedia.org/wiki/Lux>`__ has a table of some lux values for comparison.
|
||||
@ -63,9 +63,9 @@ This Wikipedia `article <https://en.wikipedia.org/wiki/Lux>`__ has a table of so
|
||||
Automatic measurement mode
|
||||
--------------------------
|
||||
|
||||
In automatic measurement mode the component starts from Gain 1/8 and 100 ms (*default*).
|
||||
In automatic measurement mode the component starts from Gain 1/8 and 100 ms (*default*).
|
||||
|
||||
- If illuminance is higher than 46 lx (100 counts) it gradually reduces integration time to get good reading (best in range 100 - 10,000 counts).
|
||||
- If illuminance is higher than 46 lx (100 counts) it gradually reduces integration time to get good reading (best in range 100 - 10,000 counts).
|
||||
- In case of low illuminance (less than 46 lx) it tries to gradually increase gain and only then increase integration time.
|
||||
|
||||
Please note, that in low light conditions measurement process might take several seconds due to long exposure periods and sensor reconfigurations.
|
||||
@ -119,11 +119,11 @@ Example configuration
|
||||
- platform: veml7700
|
||||
address: 0x10
|
||||
update_interval: 60s
|
||||
|
||||
|
||||
# short variant of sensor definition:
|
||||
ambient_light: "Ambient light"
|
||||
# longer variant of sensor definition:
|
||||
actual_gain:
|
||||
actual_gain:
|
||||
name: "Actual gain"
|
||||
|
||||
|
||||
@ -134,24 +134,24 @@ Configuration variables:
|
||||
- **integration_time** (*Optional*, :ref:`config-time`):
|
||||
The amount of time the sensor is exposed. Valid values are ``25ms``, ``50ms``, ``100ms`` *(default)*,
|
||||
``200ms``, ``400ms``, ``800ms``. *In automatic mode it sets starting value*.
|
||||
- **gain** (*Optional*, string): The gain the device will use for the internal ADC. Valid values are
|
||||
- **gain** (*Optional*, string): The gain the device will use for the internal ADC. Valid values are
|
||||
``1/8x`` *(default)*, ``1/4x``, ``1x``, ``2x``. Higher values are better in low-light conditions.
|
||||
*In automatic mode it sets starting gain value*.
|
||||
- **lux_compensation** (*Optional*, boolean): Lux compensation formula is used as per manufacturer.
|
||||
Defaults to ``True``.
|
||||
- **glass_attenuation_factor** (*Optional*): The attenuation factor of glass if it's behind some glass
|
||||
- **glass_attenuation_factor** (*Optional*): The attenuation factor of glass if it's behind some glass
|
||||
or plastic facia. Default is ``1.0`` means ``100%`` transmissivity. ``2`` means ``50%`` transmissivity etc.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval for checking the sensors.
|
||||
Defaults to ``60s``.
|
||||
- All other options for I²C devices described at :ref:`I²C Bus <i2c>`.
|
||||
- All other options for I²C devices described at :ref:`I²C Bus <i2c>`.
|
||||
The sensor supports bus modes "standard" and "fast": 10 kHz to 400 kHz.
|
||||
|
||||
Sensors
|
||||
.......
|
||||
|
||||
You can configure all or any subset of the sensors described earlier.
|
||||
Each configured sensor is reported separately on each ``update_interval``. **name** (**Required**, string) is required for
|
||||
every sensor. All other options from :ref:`Sensor <config-sensor>`.
|
||||
Each configured sensor is reported separately on each ``update_interval``.
|
||||
All options from :ref:`Sensor <config-sensor>` are supported.
|
||||
|
||||
However, if you don't need any other options, you can just use shorthands like this: ``ambient_light: Ambient light``.
|
||||
|
||||
|
@ -34,7 +34,7 @@ To additionally display signal strength in percentage use the :ref:`copy-sensor`
|
||||
id: wifi_signal_db
|
||||
update_interval: 60s
|
||||
entity_category: "diagnostic"
|
||||
|
||||
|
||||
- platform: copy # Reports the WiFi signal strength in %
|
||||
source_id: wifi_signal_db
|
||||
name: "WiFi Signal Percent"
|
||||
@ -47,10 +47,8 @@ To additionally display signal strength in percentage use the :ref:`copy-sensor`
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the WiFi signal sensor.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval
|
||||
to check the sensor. Defaults to ``60s``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
.. warning::
|
||||
|
@ -539,7 +539,7 @@ Required:
|
||||
- **mac_address** (MAC Address): The MAC address of the device.
|
||||
- **bindkey** (string, 32 characters, case insensitive): The key to decrypt the BLE advertisements for encrypted sensor types
|
||||
|
||||
Optional with **name**, **id** (:ref:`config-id`) and all other options from :ref:`Sensor <config-sensor>`:
|
||||
All options from :ref:`Sensor <config-sensor>` are supported for:
|
||||
|
||||
- **temperature**
|
||||
- **humidity**
|
||||
|
@ -38,13 +38,11 @@ Configuration variables:
|
||||
- **mac_address** (**Required**, MAC Address): The MAC address of the scale.
|
||||
- **weight** (*Optional*): The information for the weight sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the weight sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **impedance** (*Optional*): The information for the impedance sensor. **Only available on MiScale2**
|
||||
|
||||
- **name** (**Required**, string): The name for the impedance sensor.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **clear_impedance** (*Optional*): Clear the impedance information if a weight reading without impedance is received. Defaults to ``false``. **Only available on MiScale2**
|
||||
|
||||
|
@ -46,21 +46,15 @@ Configuration variables:
|
||||
- **data_pin** (**Required**, :ref:`config-pin`): The pin where the data bus is connected.
|
||||
- **co2** (*Optional*): The information for the CO2 sensor.
|
||||
|
||||
- **name** (**Required**, string): The name for the CO2 sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **temperature** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **humidity** (*Optional*): 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>`.
|
||||
- All options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
|