<!-- Canonical page: https://reversedwithai.com/p/coolbar-ble-ac-controller-claude-code -->
Canonical page: https://reversedwithai.com/p/coolbar-ble-ac-controller-claude-code

# Reverse engineered an air conditioner's Bluetooth protocol and built a tray app, with Claude Code

> A tray app for an AC, built from its Bluetooth protocol.

Saffron-codes used Claude Code to work out the Bluetooth LE protocol of a Blue Star split AC and built CoolBar, a tray app for Linux and Windows plus an Android app. Every control was checked on the real unit.

## Key facts

- Target: Blue Star BI-IC318VNUS split air conditioner
- Category: Firmware and hardware
- Platform: Linux / Windows / Android (Bluetooth LE)
- Models: Claude Fable 5.1
- Tools: Claude Code, BluFi, Python, bleak
- Outcome: Works
- License: MIT
- Checks: Source available: yes; Repro steps: yes; Real hardware: yes; Verified by others: not reported
- Author: [Saffron-codes](https://github.com/Saffron-codes)
- Added: 2026-10-16
- Updated: 2026-10-16
- Sources reviewed: 2026-10-16 (editor)

## What was done

CoolBar is an open-source controller for the Blue Star BI-IC318VNUS split air conditioner. It talks to the unit directly over Bluetooth LE, with no Wi-Fi setup and no cloud account. The commits are co-authored by Claude, and the author says the whole thing was built in a day with Claude Code.

### How it was done

The AC has an Espressif ESP32 module and uses the open BluFi transport. The author reverse engineered the command protocol by watching how the unit and its official app talk, only to work with hardware the author owns. The README documents the message types, the pairing step and how each remote function maps to a setting. Commands are JSON sent over BluFi after an encrypted key negotiation, and the unit pushes its status back about every three seconds.

The repo has a read-only probe, a pairing probe and a verify script. The verify script sends a change, waits for the AC's own status message, checks the value came back, then restores the old value.

### Results

The README says the tray panel, pairing and control all work, and that every remote function was verified on the unit. The repo also builds an Android app, a Windows zip and a Linux installer through tagged releases. It contains no code from the vendor and is released under the MIT licence.

## Human work and limitations

You need a Blue Star BI-IC318VNUS and its pairing sequence on the remote. Controlling a mains appliance is at your own risk.

## What the commit history shows

6 of 6 commits in the public repository credit an AI, over 1 day between 2026-10-15 and 2026-10-15. Credited: Claude Fable 5.1 (6).

Measured by this site from public git history.

## Questions about Blue Star BI-IC318VNUS split air conditioner

### What is the Blue Star BI-IC318VNUS split air conditioner project?

Saffron-codes used Claude Code to work out the Bluetooth LE protocol of a Blue Star split AC and built CoolBar, a tray app for Linux and Windows plus an Android app. It is listed under Firmware and hardware for Linux / Windows / Android (Bluetooth LE).

### Which AI model was used on Blue Star BI-IC318VNUS split air conditioner?

The entry names Claude Fable 5.1. The tools named alongside are Claude Code, BluFi, Python and bleak.

### Did the AI reverse engineering of Blue Star BI-IC318VNUS split air conditioner work?

Its author reports that it works. Checks recorded: source available yes, repro steps yes, real hardware yes.

### Is the source code for Blue Star BI-IC318VNUS split air conditioner available?

Yes. The code, patches or tooling are public: https://github.com/Saffron-codes/coolbar. Licence: MIT. The sources give enough steps to reproduce it.

## Sources

- [Repository](https://github.com/Saffron-codes/coolbar)
- [Discussion](https://x.com/sdiony116/status/2110720490746859961)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Saffron-codes (2026). Reverse engineered an air conditioner's Bluetooth protocol and built a tray app, with Claude Code. Reversed with AI. https://reversedwithai.com/p/coolbar-ble-ac-controller-claude-code
