oxystin / homebridge-haier-air-conditioner

MIT License
6 stars 1 forks source link

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

Supported Models:

Since I have the opportunity to test only one model of air conditioner, please indicate here your model if it works.

Release notes:

0.4.1

0.4.0