npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

homebridge-ac-freedom

v2.3.8

Published

Homebridge plugin for AUX air conditioners via Broadlink (local UDP) and AUX Cloud API

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.

verified-by-homebridge npm npm npm Ko-fi GitHub Sponsors


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):

  1. Open the Homebridge UI → Plugins
  2. Search for homebridge-ac-freedom
  3. Click Install
  4. Open plugin settings, enter your cloud credentials and press Fetch to auto-discover your devices

Via terminal:

npm install -g homebridge-ac-freedom

Connection 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 region matches 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 endpointId empty 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:

Ko-fi GitHub Sponsors


Contributing

Contributions are welcome! Please open an issue or submit a pull request.


License

MIT © Azad Aydınlı