Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
This branch is 4 commits ahead, 23 commits behind seikan:master.
Files
Failed to load latest commit information.
This is Xiaomi Mi Air Purifier plugin for Homebridge. Since Apple Homekit is not supporting air purifier device yet, this plugin will add the air purifier as Fan and Air Quality Sensor to your Home app.
Features
-
Switch on / off.
-
Control modes:
-
On/Off
-
Fan speed from 0 to 100%
Notes: Alternatively, you can ask Siri to change the fan speed within the range to adjust the air purifier mode. Example:
Hey Siri, change the air purifier speed to 100.
-
-
Display temperature.
-
Display humidity.
-
Display air quality.
Installation
-
Install required packages.
npm install -g homebridge-mi-air-purifier2 miio
-
Add following accessory to the
config.json
."accessories": [ { "accessory": "MiAirPurifier", "name": "Air Purifier", "showTemperature": true, "showHumidity": true, "showAirQuality": true } ]
Notes: Set value for
showTemperature
,showHumidity
,showAirQuality
to true or false to show or hide these sensors in Home app.
-
Restart Homebridge, and your Mi air purifier will be discovered automatically.
License
See the LICENSE file for license rights and limitations (MIT).