homebridge-haier-air-conditioner
TypeScript icon, indicating that this package has built-in type declarations

0.4.2 • Public • Published

homebridge-haier-air-conditioner

Homebridge plugin for controlling Haier Air Conditioner. Based on homebridge-haier-ac code.

Installation

  1. Install this plugin by running:
    npm install -g homebridge-haier-air-conditioner
    
    or use the terminal to install the developer version:
    npm install --save https://github.com/oxystin/homebridge-haier-air-conditioner.git#dev
    
  2. Assign static IP address to your AC (check your router settings to do that).
  3. Update your Homebridge config.json. Check config-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 format 0001325476AC
    • Optional parameters:
      • treatAutoHeatAs - fan/smart (default fan). Select mode binded to AUTO in homekit
      • fanSpeedControl - true/false (default true). Enables or disables FAN SPEED control in homekit
      • healthControl - true/false (default true). Enables or disables HEALTH MODE control in homekit
      • healthServiceType - switch/bulb (default switch). Select the type of service to control HEALTH MODE in homekit

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

Package Sidebar

Install

npm i homebridge-haier-air-conditioner

Weekly Downloads

6

Version

0.4.2

License

MIT

Unpacked Size

22.3 kB

Total Files

11

Last publish

Collaborators

  • oxystin