syssi / xiaomi_airqualitymonitor

Xiaomi Mi Air Quality Monitor (PM2.5) integration for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xiaomi Mi Air Quality Monitor (PM2.5)

This is a custom component for home assistant to integrate the Xiaomi Mi Air Quality Monitor (PM2.5).

Please follow the instructions on Retrieving the Access Token to get the API token to use in the configuration.yaml file.

Credits: Thanks to Rytilahti for all the work.

Features

Air Quality Monitor

  • Air Quality Index (AQI)
  • Attributes
    • power
    • charging
    • battery
    • time_state

Setup

# configuration.yaml

sensor:
  - platform: xiaomi_miio
    name: Xiaomi Air Quality Monitor
    host: 192.168.130.73
    token: 56197337f51f287d69a8a16cf0677379

Configuration variables:

  • host (Required): The IP of your light.
  • token (Required): The API token of your light.
  • name (Optional): The name of your light.

About

Xiaomi Mi Air Quality Monitor (PM2.5) integration for Home Assistant

License:Apache License 2.0


Languages

Language:Python 100.0%