Build Your Own Simple Controller for an Air Conditioner With a Bad App
Credit: @Voxyz_ai (opens in a new tab)

Build Your Own Simple Controller for an Air Conditioner With a Bad App

Claude Code checks for an official air-conditioner control before it studies your own unit.

How to use

  1. Copy the prompt.
  2. Paste the prompt into Claude Code.
  3. Replace the bracket text with your device brand and model.
  4. Stop if the unit has no Wi-Fi and works only with a remote.

FORWHAT

Original prompt · English

I want to control my own [device brand and model] from my Mac. 1. First ask me whether it has Wi-Fi and can be controlled from a phone app. If it only works with an infrared remote, stop and tell me. 2. Check whether the vendor offers an official API, or a ready-made integration for a smart home platform like Home Assistant or Matter. If one exists, use it and stop there. 3. If none exists, use REA to analyze this device's official app. Look only at how the app talks to the device, and work out what it sends for power, temperature, fan speed and mode. If you need tools like an Android emulator or Ghidra, tell me where to get them, and don't install them yourself. Don't touch anyone else's account, and don't bypass any login or encryption. 4. Back every conclusion with evidence, and keep what you saw separate from what you're guessing. 5. Once it's clear, wrap it in an MCP first, then build a Mac menu bar app on top of it. Show me the plan first, and only write code after I approve.
Open in ChatGPT (opens in a new tab) Open in Claude (opens in a new tab)
Read more

Summary

Vox (@Voxyz_ai on X) shared this prompt for people whose air conditioner only works through a bad phone app. Claude Code first checks for an official API or a Home Assistant or Matter integration. Only if none exists does it use the REA reverse-engineering tool to study how the official app talks to your own unit.

It works out the commands for power, temperature, fan speed and mode, backs every finding with evidence, wraps them in an MCP and then builds a Mac menu bar switch, showing you the plan before writing code. Use it only on devices you own and check the vendor's terms first.

For Cambodia

In Cambodia's heat the air conditioner runs all day in homes, shops and offices, and many brand apps are slow or confusing. A one-click controller on the laptop you already use is a small but real daily saving of time.

Notes

Note

Original prompt by Vox (@Voxyz_ai on X), posted 13 Oct 2026: https://x.com/Voxyz_ai/status/2110113349857943747 (read via a public mirror). He credits the idea to people who had already turned their AC into an MCP, such as @the_mcnaveen. The prompt uses REA (https://github.com/morluto/rea) and is quoted verbatim. Found via Nick Saraev's Maker Zero lesson 1 (https://www.youtube.com/watch?v=KDyPHt4lW60). Title, summary and why are in our words.

Source

Open the original source.

https://x.com/Voxyz_ai/status/2110113349857943747 (opens in a new tab)

Checked on 2026-11-09.

The first category on a case is its primary purpose. Any later category is a secondary tag.

Search the collection