# esp8266-midea-dehumidifier: rebuilding dehumidifier serial control

> esp8266-midea-dehumidifier replaces a Midea-made dehumidifier's Wi-Fi dongle with an ESP8266 adapter that speaks to the unit over TTL serial and exposes controls through MQTT. The author says its control logic draws on Android app reverse engineering and UART traffic analysis.

- Type: Case study
- Targets: Protocol
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-09
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/Hypfer/esp8266-midea-dehumidifier>
- Primary source: <https://github.com/Hypfer/esp8266-midea-dehumidifier/blob/317e2295dde70d7b20d649d6f0dda061c608fb11/README.md>
- Catalog page: <https://awesomerea.org/resources/esp8266-midea-dehumidifier-case/>
- Record JSON: <https://awesomerea.org/resources/esp8266-midea-dehumidifier-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/esp8266-midea-dehumidifier-case/index.md)

## Requirements & limits

- **Prerequisites:** A compatible Wi-Fi-enabled Midea-made dehumidifier and ESP8266 ESP-01 adapter hardware are required.
- **Prerequisites:** Building and flashing require Arduino IDE with ESP8266 support and the listed Arduino libraries.
- **Limits:** The Comfee MDDF-20DEN7 lacks the Wi-Fi button and USB port used by the guide.
- **License:** Apache-2.0 license.

## Primary sources

1. <https://github.com/Hypfer/esp8266-midea-dehumidifier/blob/317e2295dde70d7b20d649d6f0dda061c608fb11/README.md>

## More in Protocols

- [castv2: reconstructing the Chromecast CASTV2 protocol](https://awesomerea.org/resources/node-castv2-case/index.md) · Case study
- [wycliffe: a clean-room Dante protocol implementation](https://awesomerea.org/resources/wycliffe-case/index.md) · Case study
- [ps4-waker: a client for the PS4 companion app protocol](https://awesomerea.org/resources/ps4-waker-case/index.md) · Case study
- [NJUConnect: reconstructing the NJU EasyConnect VPN client](https://awesomerea.org/resources/njuconnect-vpn-protocol-case/index.md) · Case study
- [LGTV: reconstructing LG webOS TV control exchanges](https://awesomerea.org/resources/lgtv-js-case/index.md) · Case study
- [Inferno: implementing Dante audio networking](https://awesomerea.org/resources/inferno-dante-protocol-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
