GithubHelp home page GithubHelp logo

cyrussuen / homebridge-mi-air-purifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seikan/homebridge-mi-air-purifier

0.0 1.0 0.0 6 KB

A Xiaomi Mi air purifier plugin for Homebridge.

License: Other

JavaScript 100.00%

homebridge-mi-air-purifier's Introduction

homebridge-mi-air-purifier

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.

mi-air-purifier

Features

  • Switch on / off.

  • Control modes:

    • Idle / Off: Lift fan speed to 0% from Home app.

    • Auto: Lift fan speed between 1 - 60%.

    • Silent: Lift fan speed between 61 - 80%.

    • Favorite / High: Lift fan speed great than 80%.

      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

  1. Install required packages.

    npm install -g homebridge-mi-air-purifier miio
    

  2. 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.

  3. Restart Homebridge, and your Mi air purifier will be discovered automatically.

License

See the LICENSE file for license rights and limitations (MIT).

homebridge-mi-air-purifier's People

Contributors

seikan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.