AWAIR Local Sensor for Home Assistant.
Version | Date | Contents |
---|---|---|
v1.0.0 | 2020.06.30 | First version |
v1.0.1 | 2020.07.02 | Add unit_of_measurement |
v1.1.0 | 2020.07.29 | Add air-data attribute |
v1.1.0.1 | 2020.12.31 | Changed domain to avoid conflict |
- Put the file in custom_components under the HA installation path.
<config directory>/custom_components/awair/__init__.py
<config directory>/custom_components/awair/manifest.json
<config directory>/custom_components/awair/sensor.py
- Add the settings to the configuration.yaml file.
- Restart Home-Assistant
- Add awair sensor to your HA setup.
sensor:
- platform: awair
scan_interval: 60
devices:
- id: '[Your AWAIR Device ID]'
name: '[Your AWAIR Device Name]'
ip: '[Your AWAIR Device IP]'
Option | Contents |
---|---|
name | (Option) Name / default(awair) |
devices | (Required) AWAIR Devices |
scan_interval | (Option) Sensor Update Interval / default(10s) |
Option | Contents |
---|---|
id | (Required) AWAIR ID |
name | (Required) AWAIR Nickname |
ip | (Required) AWAIR Local IP |
Code | Value | Score | Temperature | Humidity | VOC | CO2 | PM2.5 | Light | Noise |
---|---|---|---|---|---|---|---|---|---|
S | 2nd Edition | O | O | O | O | O | O | X | X |
M | Mint | O | O | O | O | X | O | O | O |
O | Omni | O | O | O | O | O | O | O | O |
E | Element | O | O | O | O | O | O | X | X |