Please ⭐ this repo if you find it useful
This component allows you to evaluate the air quality in any room, using data from various sensors installed there. Such as temperature, humidity, carbon dioxide sensors, etc.
The index is calculating in accordance with the IAQ UK organization methodology.
I also suggest you visit the support topic on the community forum.
- Have HACS installed, this will allow you to easily manage and track updates.
- Search for "Indoor Air Quality UK Index".
- Click Install below the found integration.
- Configure using the configuration instructions below.
- Restart Home-Assistant.
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder callediaquk
. - Download all the files from the
custom_components/iaquk/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Configure using the configuration instructions below.
- Restart Home-Assistant.
Using your HA configuration directory (folder) as a starting point you should now also have this:
custom_components/iaquk/__init__.py
custom_components/iaquk/const.py
custom_components/iaquk/manifest.json
custom_components/iaquk/sensor.py
* * *
I put a lot of work into making this repo and component available and updated to inspire and help others! I will be glad to receive thanks from you — it will give me new strength and add enthusiasm:
or support via Bitcoin or Etherium:
16yfCfz9dZ8y8yuSwBFVfiAa3CNYdMh7Ts
To use this component in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
iaquk:
kitchen:
sources:
temperature: sensor.kitchen_temperature
humidity: sensor.kitchen_humidity
co2: sensor.kitchen_eco2
tvoc: sensor.kitchen_tvoc
sensors:
- iaq_level
livingroom:
name: "Living Room"
sources:
temperature: sensor.livingroom_temperature
humidity: sensor.livingroom_humidity
co2: sensor.livingroom_eco2
tvoc: sensor.livingroom_tvoc
Each room in the settings is defined by its own named group of parameters. You can specify the friendly name of this group (room), the sensors involved in the calculations, and which sensors you need to create for the output.
You can create as many groups as you need. But each group must have an unique name.
name:
(string) (Optional)
Friendly name to use in the frontend.
Default value: deslugified group name
sources:
(dictionary) (Required)
Dictionary of sensors involved in the calculations. At least one sensor must be specified.
temperature:
(string) (Optional)
Room temperature sensor entity ID.
Required sensor's unit of measurement: °C or °Fhumidity:
(string) (Optional)
Room humidity sensor entity ID.
Required sensor's unit of measurement: %co2:
(string) (Optional)
Room Carbon Dioxide (CO2) sensor entity ID.
Required sensor's unit of measurement: ppmco:
(string) (Optional)
Room Carbon Monoxide (CO) sensor entity ID.
Required sensor's unit of measurement: ppmno2:
(string) (Optional)
Room Nitrogen Dioxide (NO2) sensor entity ID.
Required sensor's unit of measurement: ppbtvoc:
(string) (Optional)
Room tVOC sensor entity ID.
Required sensor's unit of measurement: ppbhcho:
(string) (Optional)
Room Formaldehyde (HCHO; CH2O) sensor entity ID.
Required sensor's unit of measurement: ppmpm:
(string | list) (Optional)
Room particulate matter sensors entity IDs.
Required sensor's unit of measurement: µg/m3
sensors:
(list) (Optional)
List of sensors you need to create for the output. The following sensors can be added:
Default value: all sensors below
iaq_index:
The sensor displays the air quality in numerical form from 1 to 65. The higher the value, the better the air quality.iaq_level:
The sensor shows the air quality in a human-readable form. Possible values: Excellent, Good, Fair, Poor, Inadequate.Note:
The icon ofiaq_level
sensor changes its image depending on the value of the sensor.
If you want to contribute to this please read the Contribution guidelines
You can automatically track new versions of this component and update it by custom-updater (deprecated) or HACS.
For custom-updater to initiate tracking add this lines to you configuration.yaml
file:
# Example configuration.yaml entry
custom_updater:
track:
- components
component_urls:
- https://raw.githubusercontent.com/Limych/ha-iaquk/master/tracker.json