Xiaomi Air Quality Monitor


The xiaomi_miio sensor platform is observing your Xiaomi Mi Air Quality Monitor and reporting the air quality values.

Currently, the supported features are:

  • Particulate matter 2.5
  • Attributes
    • carbon_dioxide_equivalent
    • total_volatile_organic_compounds

Please follow the instructions on Retrieving the Access Token to get the API token.

Configuration

To add a Xiaomi Mi Air Quality Monitor to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
air_quality:
  - platform: xiaomi_miio
    host: IP_ADDRESS
    token: YOUR_TOKEN

Configuration Variables

host

(string)(Required)

The IP address of your miio device.

token

(string)(Required)

The API token of your miio device.

name

(string)(Optional)

The name of your miio device.

Default value:

Xiaomi Miio Air Quality Monitor