homebridge-ac-freedom
v2.3.8
Published
Homebridge plugin for AUX air conditioners via Broadlink (local UDP) and AUX Cloud API
Maintainers
Readme
Homebridge AC Freedom
A Homebridge plugin for controlling AUX-based air conditioners via Apple HomeKit. Works with any AC that uses the AC Freedom app. Supports Hybrid (AUX Cloud + optional local Broadlink UDP) and Local (Broadlink UDP only) connection modes — no extra hub required.
Features
- HeaterCooler tile — Auto, Heat, Cool modes
- Fan speed control — Auto / Low / Medium / High / Turbo (25% steps)
- Swing mode — vertical + horizontal
- Preset switches inside the climate card:
- Sleep Mode
- Health / Ionizer
- Eco / Mildew Prevention
- Self Clean
- Comfortable Wind
- Display switch — LED display on/off
- Auto-reset — fan resets to Auto and Sleep turns off when the AC is powered off
- Consistent tile order — Fan is always first, followed by Sleep, Display, Health, Clean, Eco, Comf. Wind
- Hybrid — single cloud login at platform level; optional IP + MAC per device for direct local Broadlink UDP (local preferred, cloud fallback)
- Local — direct Broadlink UDP only, no internet required
- Multi-device — configure as many ACs as needed
- Custom config UI — built-in Homebridge UI with Fetch Devices button
- Homebridge v1 & v2 compatible
Supported Brands
Any air conditioner compatible with the AC Freedom app is supported:
| | | | | |---|---|---|---| | AUX | Ballu | Centek | Dunham Bush | | Kenwood | Rinnai | Rcool | Tornado | | Akai | Hyundai | Hisense | Royal Clima |
Requirements
- Homebridge v1.6.0 or later (v2 supported)
- Node.js v18.0.0 or later
- An AUX-compatible AC with Wi-Fi (Broadlink module)
- Hybrid: AC Freedom app account (email registration)
- Local: AC's IP and MAC address on your local network
Installation
Via Homebridge UI (recommended):
- Open the Homebridge UI → Plugins
- Search for
homebridge-ac-freedom - Click Install
- Open plugin settings, enter your cloud credentials and press Fetch to auto-discover your devices
Via terminal:
npm install -g homebridge-ac-freedomConnection Modes
Hybrid (recommended)
Cloud credentials are configured once at platform level. All your devices are auto-discovered via the cloud. Optionally add an IP + MAC per device for direct local Broadlink UDP control — local is used when available and automatically falls back to cloud.
Local Only
Direct Broadlink UDP communication only. No cloud account needed, but Homebridge must be on the same network as the AC.
Configuration
The easiest way to configure is through the Homebridge UI — enter your credentials and press Fetch to auto-populate your devices.
For manual JSON configuration:
Hybrid Mode
{
"platforms": [
{
"platform": "AcFreedom",
"name": "AC Freedom",
"cloud": {
"email": "[email protected]",
"password": "your-password",
"region": "eu"
},
"devices": [
{
"name": "Living Room AC",
"connection": "hybrid",
"endpointId": "your-device-endpoint-id"
}
]
}
]
}Hybrid Mode with Local Override
{
"platforms": [
{
"platform": "AcFreedom",
"name": "AC Freedom",
"cloud": {
"email": "[email protected]",
"password": "your-password",
"region": "eu"
},
"devices": [
{
"name": "Living Room AC",
"connection": "hybrid",
"endpointId": "your-device-endpoint-id",
"local": {
"ip": "192.168.1.100",
"mac": "AA:BB:CC:DD:EE:FF"
}
}
]
}
]
}Local Only Mode
{
"platforms": [
{
"platform": "AcFreedom",
"name": "AC Freedom",
"devices": [
{
"name": "Bedroom AC",
"connection": "local",
"local": {
"ip": "192.168.1.100",
"mac": "AA:BB:CC:DD:EE:FF"
}
}
]
}
]
}Configuration Options
Platform-level Cloud Credentials (cloud object)
Required for Hybrid mode. Configured once, shared by all hybrid devices.
| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| email | string | Yes | — | AC Freedom app email |
| password | string | Yes | — | AC Freedom app password |
| region | string | No | "eu" | Server region: eu, usa, cn, rus |
Device Options
| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| name | string | Yes | — | Device name in HomeKit |
| connection | string | No | "hybrid" | "hybrid" or "local" |
| endpointId | string | No | — | Cloud device ID (auto-detected if empty) |
Local Settings (local object, per device)
| Option | Type | Required | Description |
|--------|------|----------|-------------|
| ip | string | Yes | AC unit's local IP address |
| mac | string | Yes | AC unit's MAC address (AA:BB:CC:DD:EE:FF) |
Feature Switches
| Option | Type | Default | Description |
|--------|------|---------|-------------|
| showFan | boolean | true | Fan speed slider |
| presets.sleep | boolean | true | Sleep Mode switch |
| presets.health | boolean | false | Health / Ionizer switch |
| presets.eco | boolean | false | Eco / Mildew Prevention switch |
| presets.clean | boolean | false | Self Clean switch |
| showComfWind | boolean | false | Comfortable Wind switch |
| showDisplay | boolean | false | Display (LED) switch |
Tip: For a clean HomeKit appearance, enable only the features you use. Fan and Sleep are enabled by default — most users need nothing else.
HomeKit Climate Card
Once configured, the AC appears as a HeaterCooler tile. Tapping it reveals:
- Temperature control (1 °C steps, 16–32 °C)
- Mode selector — Auto / Heat / Cool
- Fan speed slider — 0% Auto · 25% Low · 50% Medium · 75% High · 100% Turbo
- Swing toggle
- Linked service tiles in a fixed order: Fan → Sleep → Display → Health → Clean → Eco → Comf. Wind
Hybrid vs Local
| | Hybrid | Local Only | |---|---|---| | Internet required | For setup only¹ | No | | Setup | Easy — Fetch button auto-fills | Moderate (IP + MAC required) | | Response time | ~1–2 s (cloud) / ~0.5 s (local) | ~0.5 s | | Works remotely | Yes | No | | Local fallback | Yes (when IP + MAC configured) | — |
¹ Hybrid + IP/MAC: if internet is unavailable at Homebridge startup, the device starts in local-only mode automatically. Full hybrid resumes on the next restart when internet is available.
Troubleshooting
Cloud login fails
- Verify credentials work in the AC Freedom app
- Phone number login is not supported — use email registration
- Check the
regionmatches your account region - Logging into the AC Freedom app may invalidate the plugin session — restart Homebridge after using the app
Device not found after Fetch
- Leave
endpointIdempty for auto-detection (first discovered device is used) - Use the Fetch button in the Homebridge UI to discover and auto-fill your device IDs
- If the device is missing from the cloud list, power cycle the AC and try again
AC not responding / "Service Communication Failure" in HomeKit
- Check the AC is powered on and connected to Wi-Fi
- Local mode: Homebridge and the AC must be on the same network
- Try restarting Homebridge
"Server busy" errors in logs
- These are transient cloud API errors and are automatically suppressed — no action needed
Tile order is wrong in HomeKit
- Remove the accessory from the Home app (the individual tile, not the whole bridge), then restart Homebridge — it will re-appear with the correct order
Support
If this plugin is useful to you, consider supporting its development:
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
MIT © Azad Aydınlı
