项目作者: bit3725

项目描述 :
XiaoMi Air Quality Monitor component for Home Assistant.
高级语言: Python
项目地址: git://github.com/bit3725/homeassistant-mi-air-quality-monitor.git


homeassistant-mi-air-quality-monitor

XiaoMi Air Quality Monitor(PM2.5 sensor) component for Home Assistant.

Screenshot

Installation

  1. Copy custom_components/sensor/mi_air_quality_moitor.py to .homeassistant/custom_components/sensor.
  2. Get the IP of your sensor.
  3. Follow Retrieving the Access Token guide to get the token of your sensor

Configuration

  1. sensor:
  2. - platform: mi_air_quality_monitor
  3. host: YOUR_SENSOR_IP
  4. token: YOUR_SENSOR_TOKEN
  5. name: YOUT_SENSOR_NAME