mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-06-26 10:34:54 +02:00
AQI calculator for HM3301 (#535)
* AQI calculator for HM3301 * Update components/sensor/hm3301.rst Co-authored-by: Guillermo Ruffino <glm.net@gmail.com> * Update hm3301.rst * pm1.0 not required * format to look consistent with dht11 Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
parent
d738a58a60
commit
81cfdec0ce
|
@ -24,16 +24,59 @@ The sensor communicate with board by ``I2C`` protocol, and requires 3.3v.
|
||||||
name: "PM2.5"
|
name: "PM2.5"
|
||||||
pm_10_0:
|
pm_10_0:
|
||||||
name: "PM10.0"
|
name: "PM10.0"
|
||||||
|
aqi:
|
||||||
|
name: "AQI"
|
||||||
|
type: "CAQI"
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
- **pm_1_0** (*Optional*): Use the concentration of particulates of size less than 1.0µm in µg per cubic meter.
|
- **pm_1_0** (*Optional*): Use the concentration of particulates of size less than 1.0µm in µg per cubic meter.
|
||||||
All options from :ref:`Sensor <config-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>`.
|
||||||
|
|
||||||
- **pm_2_5** (*Optional*): Use the concentration of particulates of size less than 2.5µm in µg per cubic meter.
|
- **pm_2_5** (*Optional*): Use the concentration of particulates of size less than 2.5µm in µg per cubic meter.
|
||||||
All options from :ref:`Sensor <config-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>`.
|
||||||
|
|
||||||
- **pm_10_0** (*Optional*): Use the concentration of particulates of size less than 10.0µm in µg per cubic meter.
|
- **pm_10_0** (*Optional*): Use the concentration of particulates of size less than 10.0µm in µg per cubic meter.
|
||||||
All options from :ref:`Sensor <config-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>`.
|
||||||
|
|
||||||
|
- **aqi** (*Optional*): AQI sensor. Requires the ``pm_2_5`` and ``pm_10_0`` sensors defined. See below.
|
||||||
|
|
||||||
|
- **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:
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
There is a sensor which calculates quality of air based on PM 2.5 and PM 10.0 values.
|
||||||
|
There are two implementations:
|
||||||
|
|
||||||
|
- AQI: USA air quality standard
|
||||||
|
- CAQI: Europe air quality standard
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: hm3301
|
||||||
|
pm_2_5:
|
||||||
|
name: "PM2.5"
|
||||||
|
pm_10_0:
|
||||||
|
name: "PM10.0"
|
||||||
|
aqi:
|
||||||
|
name: "AQI"
|
||||||
|
type: "CAQI"
|
||||||
|
|
||||||
|
|
||||||
See Also
|
See Also
|
||||||
--------
|
--------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user