takatost / homebridge-mi-ac-partner

[DEPRECATED] A Xiaomi Mi ac partner plugin for Homebridge.
MIT License
28 stars 1 forks source link
deprecated

PLEASE NOTE, THIS PROJECT IS NO LONGER BEING MAINTAINED


homebridge-mi-ac-partner

npm version

This is Xiaomi Mi Ac Partner plugin for Homebridge. Since Apple Homekit is not supporting ac partner device yet, this plugin will add the ac partner as Thermostat to your Home app.

Features

Installation

  1. Install required packages.

    npm install -g homebridge-mi-ac-partner miio

  2. Add following accessory to the config.json.

Follow the Document to get token of ac partner.

     "accessories": [
       {
          "accessory": "MiAcPartner",
          "token": "token-as-hex",
          "name": "Ac Partner",
          "brand": "your AC brand",
          "preset_no": "preset number of your AC in Mi App"
       }
     ]

Example:

 ```
 "accessories": [
   {
      "accessory": "MiAcPartner",
      "token": "eda2570a242a2e9f862b7d4ff1c93631",
      "name": "Ac Partner",
      "brand": "media",
      "preset_no": "1"
   }
 ]

   ​

3. Restart Homebridge, and your Mi ac partner will be discovered automatically.

### License

See the [LICENSE](https://github.com/takatost/homebridge-mi-ac-partner/blob/master/LICENSE.md) file for license rights and limitations (MIT).