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.
Switch on / off.
Control modes:
Notes: Alternatively, you can ask Siri to change the temperature within the range to adjust the ac partner mode. Example:
Hey Siri, change the ac partner temperature to 23.
Install required packages.
npm install -g homebridge-mi-ac-partner miio
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"
}
]
media
preset_no 1
, brand gree
preset_no 1
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).