mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-05 02:28:56 +00:00
1.4 KiB
1.4 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_iot_class | ha_release |
---|---|---|---|---|---|---|---|---|---|---|---|
page | Xiaomi Air Quality Monitor | Instructions how to integrate your Xiaomi Mi Air Quality Monitor within Home Assistant. | 2018-02-28 08:35 | true | false | true | true | xiaomi.png | Health | Local Polling | 0.66 |
The xiaomi_miio
sensor platform is observing your Xiaomi Mi Air Quality Monitor (PM2.5) and reporting the air quality index.
Currently, the supported features are:
- Air Quality Index (AQI)
- Attributes
- power
- charging
- battery
- time_stat
Please follow the instructions on Retrieving the Access Token to get the API token.
{% linkable_title Configuration %}
To add a Xiaomi Mi Air Quality Monitor to your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: xiaomi_miio
name: Xiaomi Air Quality Monitor
host: 192.168.130.73
token: YOUR_TOKEN
{% configuration %} host: description: The IP address of your miio device. required: true type: string token: description: The API token of your miio device. required: true type: string name: description: The name of your miio device. required: false type: string default: Xiaomi Miio Sensor {% endconfiguration %}