{
  "api_version": "1.0.0",
  "slug": "flexit-sl4r-esphome-rs485-claude",
  "url": "https://reversedwithai.com/p/flexit-sl4r-esphome-rs485-claude",
  "markdown_url": "https://reversedwithai.com/p/flexit-sl4r-esphome-rs485-claude.md",
  "json_url": "https://reversedwithai.com/p/flexit-sl4r-esphome-rs485-claude.json",
  "title": "Mapped the RS485 bus of a Flexit SL4 R ventilation unit into ESPHome and Home Assistant with Claude Code",
  "tagline": "Home Assistant control of a ventilation unit over its own bus.",
  "summary": "A two-way integration over the unit's own control panel bus, with every protocol claim checked on a real installation.",
  "target": {
    "name": "Flexit SL4 R air handling unit (CS50 / CI50)",
    "type": "firmware",
    "type_label": "Firmware and hardware"
  },
  "platform": "ESPHome, RS485",
  "models": [
    "Claude"
  ],
  "tools": [
    "Claude Code",
    "ESPHome",
    "Home Assistant"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": "yes",
    "repro_steps": "yes",
    "real_hardware": "yes",
    "independently_verified": null
  },
  "author": {
    "name": "agjendem",
    "url": "https://github.com/agjendem"
  },
  "sources": {
    "repository": "https://github.com/agjendem/flexit-sl4r-esphome",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/agjendem/flexit-sl4r-esphome"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/flexit-sl4r-esphome-rs485-claude.webp",
    "credit": "Image: GitHub (agjendem/flexit-sl4r-esphome)"
  },
  "commit_history": {
    "commits": 128,
    "ai_commits": 106,
    "ai_days": 11,
    "first_ai_commit": "2026-07-20",
    "last_ai_commit": "2026-11-16",
    "credited_models": [
      {
        "name": "Claude Opus 5",
        "commits": 103
      },
      {
        "name": "Claude Opus 5.5",
        "commits": 2
      },
      {
        "name": "Claude Sonnet 5",
        "commits": 1
      }
    ]
  },
  "added_at": "2026-10-15T04:13:30.452086+00:00",
  "updated_at": "2026-10-15T04:13:30.452086+00:00",
  "sources_reviewed_at": "2026-10-15T04:13:30.452086+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "agjendem wanted to control a Flexit SL4 R air handling unit from Home Assistant without Flexit's Modbus adapter. The README says the integration was reverse engineered and written together with Claude Code, in an AI-assisted development section that states plainly how far to trust that. The AI commit census counts 104 of 126 commits with AI credit (mostly Claude Opus 5), from 20 July to 21 August 2026.\n\nAn M5Stack ATOM Lite with an RS485 module (an ATOM Tail485) sits in parallel with the control panel in the spare 4P4C socket, powered from the bus, so the unit does not need to be opened. It needs a Flexit SL4 R (CS50 main board, CI50 panel) and ESPHome. The proprietary protocol is documented in a protocol file with marks for what is verified, inferred or unknown. The README lists mistakes found along the way, such as a checksum window off by one byte and a status byte misread three times.\n\nThe README's status says two-way control works against a real installation. It reads supply air temperature, fan levels and duty, heat demand, boost, filter alarm, the afterheater setting and the filter timer, and writes fan level, setpoint, boost, afterheater and filter reset, verified against the control board's own broadcasts. A climate entity combines them. If the CS50 stops polling the added node, writing fails silently and the unit must be power-cycled.\n\nSources:\n- https://github.com/agjendem/flexit-sl4r-esphome",
  "ai_use_excerpts": null
}
