Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takatost/homebridge-mi-ac-partner
[DEPRECATED] A Xiaomi Mi ac partner plugin for Homebridge.
https://github.com/takatost/homebridge-mi-ac-partner
deprecated
Last synced: 25 days ago
JSON representation
[DEPRECATED] A Xiaomi Mi ac partner plugin for Homebridge.
- Host: GitHub
- URL: https://github.com/takatost/homebridge-mi-ac-partner
- Owner: takatost
- License: mit
- Created: 2017-07-28T16:13:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T01:36:10.000Z (over 6 years ago)
- Last Synced: 2024-12-26T19:03:53.565Z (about 1 month ago)
- Topics: deprecated
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 27
- Watchers: 4
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PLEASE NOTE, THIS PROJECT IS NO LONGER BEING MAINTAINED
-----
# homebridge-mi-ac-partner
[![npm version](https://badge.fury.io/js/homebridge-mi-ac-partner.svg)](https://badge.fury.io/js/homebridge-mi-ac-partner)This is Xiaomi Mi Ac Partner plugin for [Homebridge](https://github.com/nfarina/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
* Switch on / off.
* Control modes:
- Lift ac partner temperature between 17 - 30.
**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.
```### Installation
1. Install required packages.
```
npm install -g homebridge-mi-ac-partner miio
```
2. Add following accessory to the `config.json`.
Follow the [Document](https://github.com/aholstenson/miio/blob/master/docs/management.md#getting-the-token-of-a-device) 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"
}
]
```- Supports: brand `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).