Agent skill · software engineering · aiskillstore

ac-nexus

🎮 AI Agent 智能空调控制核心库 — 零 GUI 依赖,import 即用。支持 17 大品牌空调(格力/美的/海尔/大金等),直连 Broadlink RM 红外遥控器,同时接入所有支持 MIoT 协议的米家红外遥控器。MIoT spec 自动匹配 siid/piid,百度+和风双天气源,中央气象台+NHC 双风暴源,多日期组定时模板,Markdown 日志,故障诊断。适配树莓派/NAS/OpenWRT/桌面全平台。(原名 BroadlinkAC,现已更名为 AC-Nexus,正式成为空调中枢)

Why this skill is useful

Adds executable scripts for controlling multiple brands of air conditioners via Broadlink and Xiaomi MIoT protocols, which the AI cannot generate on its own.

What it needs

Requires python installed locally. About 8k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

AC-Nexus — AI Agent Smart AC Controller v5.3.0 Cross-platform AC control library for Broadlink RM series IR blasters and Xiaomi MIoT-compatible IR remote controllers. Zero GUI dependency — designed for AI agents to clone, install, and control air conditioners programmatically. Device-specific MIoT siid/piid auto-matched from miot-spec.org with 7-day local cache. 📢 Rebrand Notice: Formerly BroadlinkAC, now AC-Nexus (空调中枢). All Xiaomi IR remote controllers compatible with MIoT protocol are supported — just scan with Mi Home app to add, then control via local network. No brand limitations. ⚠️ Safety & Persistence This skill writes durable state to the user's machine. init() creates ~/.accontroller/config.json (API keys, device config, schedule templates) and starts a background scheduler daemon thread. The scheduler survives agent task completion — scheduled on/off times, auto-adjust, and storm auto-shutdown will continue to run autonomously. Always confirm with the user before: - Modifying or creating schedule templates - Enabling auto-adjust or typhoon auto-shutdown - Changing device configuration (brand, temperature rules, location) To fully disable automation: set scheduleenabled=False and autoadjust=False for the device, then call cfg.saveconfig(cfg.config). Quick Start (Agent) Multi-Brand Architecture (v5.3.0) AC-Nexus supports multiple device providers simultaneously. Devices are organized by brand type in the config: Each provider's devices are fully isolated — separate schedules, temperature rules, and auto-adjust settings. sendac() automatically detects the device type and routes commands: Broadlink devices → IR raw hex sent via UDP Xiaomi devices → MIoT protocol via local network (setproperties) API Reference Setup First-time: install dependencies Function Description ---------- ------------- init(baidukey=None, apikey=None, qwhost=None, location=None, brand=None) Initialize config + start background scheduler. Writes to ~/.accontroller/config.json. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/ac-nexus

View the source on GitHub

Browse the @skills marketplace