homebridge-haier-air-conditioner
Homebridge plugin for controlling Haier Air Conditioner. Based on homebridge-haier-ac code.
Installation
- Install this plugin by running:
or use the terminal to install the developer version:npm install -g homebridge-haier-air-conditioner
npm install --save https://github.com/oxystin/homebridge-haier-air-conditioner.git#dev
- Assign static IP address to your AC (check your router settings to do that).
- Update your Homebridge
config.json
. Checkconfig-sample.json
for reference.- Required parameters:
-
accessory
- always "HaierAC" -
name
- Name of your device -
ip
- IP address of air conditioner -
mac
- MAC address of air conditioner in format0001325476AC
-
- Optional parameters:
-
treatAutoHeatAs
-fan
/smart
(defaultfan
). Select mode binded to AUTO in homekit -
fanSpeedControl
-true
/false
(defaulttrue
). Enables or disables FAN SPEED control in homekit -
healthControl
-true
/false
(defaulttrue
). Enables or disables HEALTH MODE control in homekit -
healthServiceType
-switch
/bulb
(defaultswitch
). Select the type of service to control HEALTH MODE in homekit
-
- Required parameters:
config.json
"accessories": [
{
"accessory": "HaierAC",
"ip": "192.168.250.102",
"mac": "0007A8E578A8",
"name": "Living Room Conditioner",
"treatAutoHeatAs": "fan",
"fanSpeedControl": true,
"healthControl": false,
"healthServiceType": "bulb"
}
]
Features
- Turning AC on and off
- Getting and setting target temperature
- Getting current temperature
- Getting and setting mode
- Getting and setting swing mode
- Getting and setting wind level
- Reacting to changes made by using AC's remote
Supported Models:
Since I have the opportunity to test only one model of air conditioner, please indicate here your model if it works.
- AS09QS2ERA-W
- AD35S2SS1FA
- HSU-07HT103/R2
Release notes:
0.4.1
- [NEW] Added support for GUI settings page (requires installation of Homebridge Config UI plugin)
0.4.0
- [FIX] Fixed a bug when the air conditioner did not turn on in some modes
- [NEW] New parameters that allow you to enable or disable services: fan speed, health mode
- [NEW] New parameter to select the type of service to enable or disable the health mode
- [NEW] Adding status change logs