1.1.2 • Published 4 years ago

homebridge-haieracbridge-platform v1.1.2

Weekly downloads
15
License
GPL-3.0
Repository
github
Last release
4 years ago

homebridge-haieracbridge-platform

homebridge-haieracbridge-platform is plugin for homebridge which allows you to control Haier AC devices from HomeKit! It should work with all AC devices controlled by SmartAir2 app.

Features

  • HomeKit automation
  • Automatic detection of Haier devices added in your SmartAir2 app
  • Turn AC on / off
  • Show temperature values
  • Show relative humidity if AC supports it
  • Set every available mode COOL, HEAT, SMART, DRY, FAN
  • Control fan speed, even auto
  • Ability to control swing mode in every axis
  • Syncing values with AC's remote
  • Ability to force health mode
  • Ability to turn on\off option to enable fan mode
  • Ability to turn on\off option to enable dry mode
  • After disabling automatic fan speed plugin will restore previously set value
  • Custom language options

Drawbacks

To use this plugin you will need HaierACBridge app made by me. My solution requires having a dedicated Android device with app running in background in the same subnet as homebridge instance. If you want to access devices directly please use bstuff/haier-ac-remote instead.

Installation

  1. Download HaierACBridge app
  2. Install and login in HaierACBridge app
  3. Get token and IP address from app
  4. Install this plugin by running npm install -g homebridge-haieracbridge-platform or by finding it in homebridge-config-ui-x
  5. Update your homebridge config.json (refer to config section) or configure plugin in homebridge-config-ui-x

NOTE: This plugin is supported by homebridge-config-ui-x plugin

Config

Example config

{
  "platform": "HaierACBridge",
  "ip": "192.168.0.1",
  "token": "nuxr2qNzdMb9OJX",
  "polling": 4,
  "useFanMode": true,
  "useDryMode": true,
  "healthModeType": "FORCE",
  "swingType": "BOTH",
  "lang": {
    "acdevice_name": "Klimatyzacja",
    "acdevice_fan": "Wentylator",
    "acdevice_fan_rightleft": "Prawo-Lewo",
    "acdevice_fan_updown": "Góra-Dół",
    "acdevice_healthmode": "Tryb zdrowia",
    "acdevice_drymode": "Tryb suszenia"
  }
}

Values

OptionAvailable valuesRequiredMeaning
ipipv4 valueyesIP address displayed in Android Bridge app
token15 character stringyesToken generated by Android Bridge app
pollinginteger from 1 to 60yesPolling interval in seconds
useFanModebooleanyesWhen enabled, turning on Fan first in Home app, when AC is turned off, will set Fan mode on device
useDryModebooleanyesWhen enabled, switch controlling Dry Mode will appear within accessory
healthModeType"SHOW" or "FORCE" or "OFF"yesWhen 'Show' is selected, switch controlling Health Mode will appear within accessory. When 'Force' is selected, switch controlling Health Mode will NOT appear within accessory, but instead Health Mode will be always enabled
swingType"BOTH" or "INDIVIDUAL" or "OFF"yesWhen 'Individual' is selected, both switches controlling Up-Down swing and Right-Left will appear within accessory.\n When 'Both' is selected, fan accessory will have oscillate option instead
langobjectnoLanguage settings (refer to lang settings)

Lang values

OptionAvailable valuesRequiredMeaning
acdevice_namestringnoBase name of accessory
acdevice_fanstringnoName of fan subaccessory
acdevice_fan_rightleftstringnoName of RightLeft Swing subaccessory
acdevice_fan_updownstringnoName of UpDown Swing subaccessory
acdevice_healthmodestringnoName of Health Mode subaccessory
acdevice_drymodestringnoName of Dry Mode subaccessory

FAQ

How to turn on FAN mode

Remember that you need useFanMode enabled to use that functionality. To enable fan mode, first make sure that AC is turned off (Target mode = Off). After that set desired speed on Fan accessory. AC should turn on in FAN mode

How forcing health mode works

When healthModeType is set to FORCE, every time some action is being made plugin enables health mode in AC.

Note: You can still disable this mode on remote, but after using HomeKit it will be set back to enabled.

After setting new language values in config HomeKit don't show changes

Make sure you set desired language values BEFORE starting plugin for the first time or BEFORE adding new device in SmartAir2.

How to install it on without having an Android device?

See wiki

100% working Haier AC models

  • AS25S2SF1FA-BC
1.1.1

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.1.2

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago