{
  "api_version": "1.0.0",
  "slug": "coolbar-ble-ac-controller-claude-code",
  "url": "https://reversedwithai.com/p/coolbar-ble-ac-controller-claude-code",
  "markdown_url": "https://reversedwithai.com/p/coolbar-ble-ac-controller-claude-code.md",
  "json_url": "https://reversedwithai.com/p/coolbar-ble-ac-controller-claude-code.json",
  "title": "Reverse engineered an air conditioner's Bluetooth protocol and built a tray app, with Claude Code",
  "tagline": "A tray app for an AC, built from its Bluetooth protocol.",
  "summary": "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.",
  "target": {
    "name": "Blue Star BI-IC318VNUS split air conditioner",
    "type": "firmware",
    "type_label": "Firmware and hardware"
  },
  "platform": "Linux / Windows / Android (Bluetooth LE)",
  "models": [
    "Claude Fable 5.1"
  ],
  "tools": [
    "Claude Code",
    "BluFi",
    "Python",
    "bleak"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": "MIT",
  "checks": {
    "source_available": "yes",
    "repro_steps": "yes",
    "real_hardware": "yes",
    "independently_verified": null
  },
  "author": {
    "name": "Saffron-codes",
    "url": "https://github.com/Saffron-codes"
  },
  "sources": {
    "repository": "https://github.com/Saffron-codes/coolbar",
    "writeup": null,
    "discussions": [
      "https://x.com/sdiony116/status/2110720490746859961"
    ],
    "all": [
      "https://github.com/Saffron-codes/coolbar",
      "https://x.com/sdiony116/status/2110720490746859961"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/coolbar-ble-ac-controller-claude-code.webp",
    "credit": "Image: Saffron-codes (@sdiony116) on X"
  },
  "commit_history": {
    "commits": 6,
    "ai_commits": 6,
    "ai_days": 1,
    "first_ai_commit": "2026-10-15",
    "last_ai_commit": "2026-10-15",
    "credited_models": [
      {
        "name": "Claude Fable 5.1",
        "commits": 6
      }
    ]
  },
  "added_at": "2026-10-16T06:47:04.284229+00:00",
  "updated_at": "2026-10-16T06:47:04.284229+00:00",
  "sources_reviewed_at": "2026-10-16T06:47:04.284229+00:00",
  "reviewed_by": "editor",
  "human_notes": "You need a Blue Star BI-IC318VNUS and its pairing sequence on the remote. Controlling a mains appliance is at your own risk.",
  "reproduce": null,
  "body_md": "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.\n\n### How it was done\n\nThe 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.\n\nThe 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.\n\n### Results\n\nThe 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.",
  "ai_use_excerpts": null
}
