homebridge-aux-cloud
v0.0.5
Published
Homebridge plugin for AUX Cloud appliances (ported from maeek/ha-aux-cloud).
Maintainers
Readme
Homebridge AUX Cloud Platform
Homebridge platform plugin that brings AUX Cloud-connected appliances (air conditioners, heat pumps, domestic hot water) into Apple HomeKit.
This project is a TypeScript port of the excellent Home Assistant integration maeek/ha-aux-cloud (v1.0.6) – huge thanks to Maeek & contributors for their protocol research and open-source work.
Installation
The plugin is published on npm as homebridge-aux-cloud.
Requirements: Node.js 20.x or 22.x (LTS) and Homebridge 1.7.0 or newer.
# Install (or update) globally for Homebridge
sudo npm install -g homebridge-aux-cloud
# Smart-home beta builds are published with the "beta" dist-tag
# sudo npm install -g homebridge-aux-cloud@betaAfter installing, open Homebridge Config UI X → Plugins → AuxCloudPlatform and fill in your AUX Cloud credentials. Both email addresses and phone numbers are supported as usernames.
Example config.json
{
"platform": "AuxCloudPlatform",
"name": "Aux Cloud",
"username": "+34111222333",
"password": "super-secret-password",
"region": "eu",
"temperatureUnit": "C",
"temperatureStep": 0.5,
"featureSwitches": [
"screenDisplay",
"mildewProof"
],
"pollInterval": 60,
"includeDeviceIds": [],
"excludeDeviceIds": []
}region– one ofeu,usa, orcn. Defaults toeu.temperatureUnit– display setpoints and ambient temperature inC(default) orF. Values are converted before hitting AUX Cloud.temperatureStep– choose0.5for the classic AC Freedom 0.5 °C increments or1for whole degrees. In Fahrenheit mode the plugin enforces 1 °F steps.featureSwitches– optional array of AUX features to expose as HomeKit switches. Supported values:screenDisplay,mildewProof,clean,health,eco,sleep.pollInterval– refresh cadence in seconds (30 – 600, default 60). The plugin also cheerfully refreshes right after issuing commands.includeDeviceIds– optional list of AUX endpoint IDs to expose. Leave empty to include everything.excludeDeviceIds– optional list to hide specific devices (handy if you only want HVAC and not the accompanying water heater, for example).
The configuration schema (config.schema.json) surfaces the same options inside the UI, with inline help text.
Features
- Secure login using the same encrypted flow as the official AUX Cloud mobile app.
- Automatic discovery of families and devices (owned + shared).
- HomeKit
HeaterCooleraccessory for generic AUX air conditioners, with:- Power control (
Active) - Mode selection (Auto / Heat / Cool)
- Ambient temperature, cooling/heating setpoints in °C or °F with configurable steps
- Fan speed mapped to a discrete slider (0 % comfortable wind, 20–100 % for mute → turbo, plus a dedicated Auto switch)
- Dedicated Dry Mode and Fan Mode switches that are mutually exclusive and fall back to Auto when off
- Optional switches for screen display, mildew proof, self-clean, health, eco, and sleep modes
- Power control (
- Support for manual include/exclude lists, with automatic removal of offline devices from Homebridge.
- Fast polling loop with back-off on errors.
- Ready for incremental expansion (eco/comfort modes, screen toggles, heat pumps, WebSocket push updates).
⚠️ Considerations
- Only accounts on the public AUX Cloud deployment are supported. Regional/private deployments might use different hosts.
- The current release focuses on generic AUX AC units. Heat-pump specific services and extra switches (eco, mildew proof, display, etc.) are on the roadmap.
- The AUX Cloud service can occasionally throttle requests. Keep the poll interval ≥60 s if you have many devices.
Development
This repo uses Yarn Berry (Corepack). After cloning:
corepack enable # once per workstation
yarn install
yarn lint
yarn buildyarn watch– incremental build during local development.yarn npm publish --tag beta– build + publish a beta release (ensureyarn npm loginsucceeds first).npm run build/npm run lintremain available for convenience when running via npm scripts.
The compiled plugin lives in dist/ and is shipped to npm alongside config.schema.json. Please avoid editing dist/ manually – use the TypeScript sources under src/.
Testing
Formal unit tests are still being ported. For now:
- Build:
yarn build - Link into a Homebridge dev instance or install from a
npm packtarball. - Configure valid AUX Cloud credentials and verify:
- Devices auto-register after Homebridge restart.
- Power toggle and mode changes reflect on the actual unit.
- Temperatures update within the configured poll interval.
Contributions for unit tests (Vitest/Jest) and mock AUX endpoints are very welcome.
Acknowledgements
- maeek/ha-aux-cloud – original Home Assistant integration that inspired this port.
- The Homebridge community for the plugin template and documentation.
- AUX users who provided packet captures and protocol hints in the HA forums/repo.
If you publish derivative work, please retain the upstream attribution. Enjoy keeping your AUX kit in sync with HomeKit! 🙌
