Note · seedling
Putting ESPHome on a Dimplex portable air conditioner
- Stage
- seedling
- Tended
- 2026-11-21
- Links
- 1 out, 2 in
On 20 November 2026 my Dimplex 3.5 kW Recycled Portable AC (model DCP33EB, the one sold with Wi-Fi and a dehumidifier) appeared in Home Assistant as a climate entity, with its real room temperature, setpoint and fan speed. It took one day. The first plan was to put an ESP32 between the front panel and the main board. The finished version is a reflash of the Wi-Fi board that was already inside the unit.
The first plan: sit in the middle
The unit has a main board, a front panel with the buttons and display, and a small Wi-Fi board that presses the panel’s buttons for the phone app. I wanted to intercept the link between the panel and the main board, because that is where every command passes.
The link has four wires on a connector called CN1: power, ground, and two signal lines the board silkscreen calls SEND and RESE. I assumed a serial port and wired in an ESP32-H2 to listen.
It is not a serial port
The captures never lined up with any baud rate. Dumped as raw pulse timings, the lines turned out to be single-wire pulse-width frames: a 4.45 ms header, short gaps, and pulses of about 0.5 ms or 1.5 ms for a 0 or a 1. SEND, from the main board to the panel, carries 64 bits. RESE, from the panel to the main board, carries 48. The last byte is a checksum: the XOR of the bytes between the first and the last, plus 0x14.
I pressed each button in turn and changed one setting at a time, and mapped most of the fields that way: fan speed, mode, a press counter, and a flag that the water tank is full. Two bytes are probably the room and coil temperatures, but I never pinned down their offset.
That was enough to read the unit, and a poor basis for controlling it. Replaying pulse frames at the right microsecond on a 3.3 V board wired into a 5 V line is the kind of thing that works until it does not.
The Wi-Fi port is the easier door
The Wi-Fi board plugs into a port on the main board and speaks plain serial at 9600 baud, 8N1, at 5 V. The unit sends a 24-byte status frame that starts with GAITEK and ends with KETIAG, and accepts 14-byte commands. The frames, the check bytes and the command numbers are written up in The GAITEK serial protocol on a portable air conditioner.
The first build used an existing ESPHome component for this protocol. I have since written my own, gaitek, which is in belikh/esphome-components and is what the config uses now.
I recorded what the original module sent to learn the commands: power, mode (cool, dry, fan), fan speed (high, medium, low), target temperature, humidity, timer and a heartbeat the module sends about every two minutes. One quirk is the unit’s own: in dry mode it forces the setpoint to 24.
Reflashing the original board
The Wi-Fi board is a small carrier with a Tuya WBR1 module on it. The WBR1 is a Realtek RTL8720CF, which ESPHome supports through LibreTiny. So the module could run ESPHome itself, and the ESP32 was not needed.
- Back up first. I read the module’s 2 MB flash through its log UART with
ltchiptooland a 3.3 V USB serial adapter. The first read was cut short by my own timeout, and the adapter kept dropping off USB until I powered the carrier from its own 5 V instead of the adapter. - Flash over the same UART. After the first image, updates go over Wi-Fi.
- Find the right pins. The module has three UARTs. A probe build with two ports logging every byte showed the unit’s status frames arriving on UART0, pins PA13 and PA14.
- Write a UART component. ESPHome’s stock
uartfor LibreTiny does not support those pins on the WBR1, so I wroteambz2_uart, a small component that opens the chip’s hardware port on chosen pins. It is on GitHub at belikh/esphome-components. - Drop the fallback access point. With
captive_portaland the fallbackapenabled, the module reset itself every five seconds after joining Wi-Fi. Removing both made it stable. I have not found out why.
The config is short: the Wi-Fi and API blocks, ambz2_uart on port 0 with pins 13 and 14 at 9600 baud, and a gaitek climate on top of it.
What works, and what does not
Home Assistant shows the real temperatures, fan speed and setpoint, and the module updates over the air. I have not yet tested every command from Home Assistant.
- The unit has no swing motor, so the swing command does nothing.
- I have not decided between the two heartbeat styles. The original module sends
FF FF. The firmware sendsFF 01and the unit has kept answering. - The build that is on the unit today is the first one. The build with my own
gaitekcomponent compiles and has not run on the unit yet. - The Wi-Fi password is compiled into the firmware images, and the flash backup holds the original Tuya keys. Neither is published.
The configs, decoder scripts and flashing notes are in belikh/tools. The firmware images and flash backups are not published.
Projects
- Dimplex portable ACPutting ESPHome on a Dimplex 3.5 kW portable air conditioner, then turning it into a two-hose unit with a printed cover.