Flexit SL4 R air handling unit (CS50 / CI50) · Works · Source available

Mapped the RS485 bus of a Flexit SL4 R ventilation unit into ESPHome and Home Assistant with Claude Code

View JSON
Flexit SL4 R air handling unit (CS50 / CI50): Home Assistant control of a ventilation unit over its own bus.
Image: GitHub (agjendem/flexit-sl4r-esphome)

Who did what

106 of 128 commits credit an AI: 103 Claude Opus 5, 2 Claude Opus 5.5, 1 Claude Sonnet 5. They were made on 11 separate days between 20 Jul 2026 and 16 Nov 2026.

Counted from the public git history on 16 Nov 2026. How

What was done

A two-way integration over the unit's own control panel bus, with every protocol claim checked on a real installation.

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.

An 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.

The 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.

Sources:

  • https://github.com/agjendem/flexit-sl4r-esphome

Questions about Flexit SL4 R air handling unit (CS50 / CI50)

Discussion

Your library

Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. Checked against the sources on 15 Oct 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.

The weekly dump: new projects, once a week