Status: [UNTESTED] Endpoints found: https://idp.onecta.daikineurope.com/v1/oidc/authorize https://idp.onecta.daikineurope.com/v1/oidc/token https://api.onecta.daikineurope.com/v1/gateway-devices https://api.onecta.daikineurope.com/v1/gateway-devices/{id}/management-points/{embeddedId}/characteristics/{characteristic} Source: https://github.com/randomsnowflake/daikin-ac-control # Daikin AC Control Small Python CLI and LLM skill for reading and controlling a Daikin ONECTA air conditioner via the official Daikin cloud API. It is designed for simple terminal automation and Codex/LLM agent workflows. This is an independent open source project. It is not affiliated with, endorsed by, or supported by Daikin or the AC manufacturer. No third-party Python packages are required. ## Features - OAuth setup against the Daikin ONECTA cloud API. - Local refresh-token storage outside the repository. - AC status summaries for agent and voice workflows. - Cooling controls for power, setpoint, fixed fan level, and Daikin `powerfulMode`/power mode. - Automatic single-AC selection and explicit `DAIKIN_DEVICE_ID` support for accounts with multiple AC devices. - Bundled Codex/LLM skill for natural-language AC control. ## Requirements - Python 3.11 or newer. - A Daikin account with an AC visible in the ONECTA app. - A Daikin Developer Portal application with the `openid`, `onecta:basic.integration`, and `offline_access` scopes. - A redirect URL that you control and have registered with the Daikin Developer Portal. ## Quick Start Clone the repository and create a local config file: ```bash git clone https://github.com/randomsnowflake/daikin-ac-control.git cd daikin-ac-control cp .env-example .env ``` Edit `.env` with your Daikin client ID, client secret, and redirect URI. Then create an authorization URL: ```bash python3 -m daikin_ac_control auth-url ``` Open the URL, authorize with Daikin, copy the code from your callback handler, and exchange it for a local token file: ```bash python3 -m daikin_ac_control exchange-code "CODE_FROM_CALLBACK" ``` Verify access: ```bash python3 -m daikin_ac_control status ``` ## CLI Usage Run without parameters to see the available commands: ```bash python3 -m daikin_ac_control ``` The CLI loads `.env` from the current directory automatically, so you do not need to source it before each command when runni