{
  "api_version": "1.0.0",
  "slug": "lg-central-hvac-controller-lgap-rs485-claude",
  "url": "https://reversedwithai.com/p/lg-central-hvac-controller-lgap-rs485-claude",
  "markdown_url": "https://reversedwithai.com/p/lg-central-hvac-controller-lgap-rs485-claude.md",
  "json_url": "https://reversedwithai.com/p/lg-central-hvac-controller-lgap-rs485-claude.json",
  "title": "Decoded the LG LGAP RS485 protocol to replace central HVAC controllers with Claude",
  "tagline": "A self-hosted replacement for LG central controllers, built on a decoded bus protocol.",
  "summary": "Cortex speaks LG's LGAP protocol over RS485 from a mini-PC and runs a fleet of indoor units from a web UI. All 68 commits carry Claude Opus 4.8 trailers.",
  "target": {
    "name": "LG central HVAC controllers (LGAP protocol)",
    "type": "firmware",
    "type_label": "Firmware and hardware"
  },
  "platform": "RS485, self-hosted web app",
  "models": [
    "Claude Opus 4.8"
  ],
  "tools": [
    "RS485",
    "Python"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": "yes",
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "h2erft",
    "url": "https://github.com/h2erft"
  },
  "sources": {
    "repository": "https://github.com/h2erft/cortex",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/h2erft/cortex"
    ]
  },
  "image": null,
  "commit_history": {
    "commits": 68,
    "ai_commits": 68,
    "ai_days": 8,
    "first_ai_commit": "2026-11-08",
    "last_ai_commit": "2026-11-15",
    "credited_models": [
      {
        "name": "Claude Opus 4.8",
        "commits": 46
      },
      {
        "name": "Claude Fable 5.2",
        "commits": 22
      }
    ]
  },
  "added_at": "2026-11-16T10:42:59.53549+00:00",
  "updated_at": "2026-11-16T10:42:59.53549+00:00",
  "sources_reviewed_at": "2026-11-16T10:42:59.53549+00:00",
  "reviewed_by": "automated",
  "human_notes": null,
  "reproduce": null,
  "body_md": "Cortex replaces LG's ACP and AC Smart central controllers by speaking the LG LGAP protocol directly over the RS485 bus, so a small mini-PC on site runs the whole indoor-unit fleet from a web UI. All 68 commits carry a Claude Opus 4.8 co-author trailer.\n\n### How it was done\n\nThe README says Cortex discovers indoor units, decodes their state, and controls power, mode, fan, dual setpoints and locks. A reference document, LGAP_reference.md, records the decoded protocol: the bus, framing, checksums and commands. Developer notes in HANDOFF.md track what is decoded.\n\n### Results\n\nThe repository is a 60-file self-hosted application with the protocol notes. It contains no LG software.",
  "ai_use_excerpts": null
}
