Giter Club home page Giter Club logo

homebridge-xiaomi-air-purifier's Introduction

homebridge-xiaomi-air-purifier

This project is forked from homebridge-mi-air-purifier.

This is Xiaomi Mi Air Purifier plugin for Homebridge. Since Apple Homekit doesn't support air purifier on iOS 10, you need to upgrade your iOS devices to iOS 11 or above.

mi-air-purifier

Features

  • Switch on / off.
  • Control modes:
    • Auto: Auto Mode on Mi Air Purifier.
    • Manual: Favourite Mode on Mi Air Purifier.
  • Change Favourite Mode speed.
  • Switch LED and brightness
  • Display temperature.
  • Display humidity.
  • Display air quality.
  • Support latest version of miio.

Installation

  1. Install required packages.

    npm install -g homebridge-xiaomi-air-purifier miio
    
  2. Add following accessory to the config.json.

      "accessories": [
        {
          "accessory": "XiaoMiAirPurifier",
          "name": "Air Purifier",
          "showTemperature": true,
          "showHumidity": true,
          "showAirQuality": true,
          "address": "10.0.0.2",
          "token": "a829f4cd88765425ce1ca8eb2cfed74f",
          "model": "zhimi.airpurifier.m1"
        }
      ]
    

    Use miio --discover to find out all mi devices, with their address, identifiers, models and tokens. Visit this website for more information.

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

Known Issues

  • Stuck on 'turning off' after turn off the air purifier. It seem to be a bug of homebridge.

License

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

homebridge-xiaomi-air-purifier's People

Contributors

seikan avatar

Watchers

James Cloos 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.