

Telemetry module
ESPHome component to feed test-port telemetry from Midea mini-splits and centrally ducted units into Home Assistant. No Home Assistant? It works standalone too: the dongle serves its own web dashboard and JSON API, with an optional InfluxDB + Grafana stack for long-term history.
- Size
- 41.5 × 22 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 8
- Nets
- 21
- Pads
- 36
- Tracks, vias
- 48, 2
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 19 Jul 2026
- Updated
- 2 Nov 2026
Overview
Telemetry module is an open-source printed circuit board by fmck3516, from the fmck3516/midea-telemetry-esphome repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 41.5 × 22 mm with 8 parts on 21 nets, routed with 48 tracks and 2 vias.
It belongs with the home automation and IoT boards and the ESP32 boards of this library.
README
README.mdmidea-telemetry-esphome
An ESPHome component to feed test-port telemetry from Midea mini-splits and centrally ducted units into Home Assistant. No Home Assistant? It works standalone too: the dongle serves its own web dashboard and JSON API, with an optional InfluxDB + Grafana stack for long-term history.
It supports a variety of brands including MRCOOL, Cooper&Hunter, Pioneer, and Senville.

Support
Please use GitHub Issues for bug reports and feature requests. For questions and general discussion, join the Home Assistant Community thread. I'm active there.
Compatibility
The dongle has been tested successfully with the following outdoor units:
| Brand | Outdoor Models | Type |
|---|---|---|
| MRCOOL | DIY-12-HP-C-115C25 | single-zone mini-split |
| Cooper&Hunter | CH-HPR06F9-230VO, CH-N36LCU-230VO | single-zone mini-split |
| Senville | SENDC-36-HF-OG | centrally ducted unit |
| Pioneer | YN018GMFI20RPD | single-zone mini-split |
| ACiQ | ES-48Z-M6C | multi-zone mini-split |
Since Midea-made mini-splits and centrally ducted units are very similar across brands, many other units from brands like MRCOOL, Cooper&Hunter, Senville, Pioneer, Blueridge, etc. are supported as well. To confirm, look for a test port (a 4-pin JST connector labeled TEST) on your unit's wiring diagram or on the outdoor unit's control or auxiliary board.
Multi-zone units: the dongle runs on multi-zone systems, but four sensors (T1, T2, TT, Pr) have come back empty on the ACiQ multi-zone unit.
Hardware
All you need is a dual-core ESP32 and a level shifter. A dual core is required because the bus bit-banging runs in a dedicated FreeRTOS task. A full request/response cycle keeps the bus busy for ~380 ms, far too long to run on the main loop.
Recommended hardware:
I used the following connector kits, but you can get away with a single 4-pin male JST-XH connector:
PCB & Enclosure
The KiCad project, schematic, and Gerber files live in pcb/ - a 2-layer board, 41.5 × 22 mm, 1.6 mm thick, with four M2 mounting holes. You solder in just three parts - the ODU connector, the level-shifter module, and the XIAO - and that's the whole build. FreeCAD sources plus STL and 3MF exports for the 3D-printable enclosure are in enclosure/.
| PCB (top) | PCB (bottom) |
|---|---|
![]() | ![]() |
| Assembled dongle | Enclosure |
|---|---|
![]() | ![]() |
I've added a jumper that ties the test port's +5V to the XIAO's 5V pin. Use the jumper to run the board straight off the ODU with no USB cable. Leave it off if the board is connected to USB. I also recommend the use of a USB isolator since ground on the test port is not referenced to earth.
Safety
The outdoor unit runs on mains voltage, and internal capacitors can retain a dangerous charge after being unplugged. Always
- turn off the breaker,
- pull the disconnect, and
- wait several minutes and/or verify capacitors are discharged
before performing the installation. Wear appropriate PPE. Consult a qualified electrician when in doubt.
Installation
(See Safety first if you're jumping straight to this section.)
Remove the top panel of the ODU. You'll see the control board. Remove the screws securing the control board to the ODU, then detach the cables from the cable clamps so you can lift the board for access — there's no need to unplug the cables themselves. The test port on my units is located at the front of the board. Plug in the dongle, with the red wire facing toward you. Reattach the cables to the cable clamps and secure the board back to the ODU. There should be enough clearance to tuck the dongle into the service panel — this lets you access the dongle later without needing to remove the control board again. Reinstall the top panel.
| Control board | Test port |
|---|---|
![]() | ![]() |
| Dongle plugged in | Dongle tucked into service panel |
|---|---|
![]() | ![]() |
For a visual walkthrough, see this installation video.
First use
Upon first start, the dongle brings up a temporary WiFi hotspot so you can connect it to your WiFi network. Join the midea-telemetry-esphome network (password midea-telemetry-esphome) and provide your WiFi network's SSID and password in the popup that appears. Once connected, the dongle serves a webserver at http://midea-telemetry.local (useful if you don't run Home Assistant), and Home Assistant automatically detects it as a new ESPHome device.
| WiFi hotspot | WiFi setup |
|---|---|
![]() | ![]() |
| On-board webserver | Home Assistant auto-discovery |
|---|---|
![]() | ![]() |
Configuration
See example_midea_telemetry.yaml for a complete configuration with every supported sensor. That file uses a local components: source, so it's flashable straight from a checkout of this repo; to pull the component remotely instead, switch the source to github://fmck3516/midea-telemetry-esphome.
Flashing
Flash your ESP32 with esphome. On macOS:
brew install esphome
esphome run example_midea_telemetry.yamlSupported Sensors
The following sensors are currently supported. Code is the two-letter parameter code the Midea
service manuals use for the same value, so a reading here can be matched against the one the unit
shows on its own diagnostic display; — means the manuals define no code for that value.
| Code | Name | Unit |
|---|---|---|
| TT | indoor_setpoint | °C |
| T1 | indoor_ambient_temperature | °C |
| T2 | indoor_coil_temperature | °C |
| T3 | outdoor_coil_temperature | °C |
| T4 | outdoor_ambient_temperature | °C |
| TP | discharge_temperature | °C |
| — | ipm_temperature | °C |
| — | operating_mode | raw |
| oT | compressor_frequency_indoor_target | Hz |
| FT | compressor_frequency_outdoor_target | Hz |
| Fr | compressor_frequency_actual_int | Hz |
| Fr | compressor_frequency_actual_float | Hz |
| — | compressor_frequency_outdoor_control | Hz |
| Pr | outdoor_fan_speed | RPM |
| Lr | eev_steps | raw |
| dL | current_draw | A |
| Ac | input_voltage | V |
| Uo | dc_bus_voltage | V |
| — | error_code_1 | bit mask for E3, E0, P8, Eb, P6, PA, L3, L0 |
| — | error_code_2 | bit mask for E60, E61, L2, E2, E1, L1, P90, P91 |
| — | error_code_3 | bit mask for E80, E81, E1, E83, P0, P1, E5, P8 |
| — | error_code_4 | bit mask for P4, P6, PA, L5, L3, L2, E7 |
FRAME-BYTES.md documents each sensor in great detail.
JSON endpoint
Add expose_json_endpoint: true to serve all mapped sensors and the underlying raw data as JSON. It needs the web_server component:
web_server:
port: 80
midea_telemetry:
clk_pin: GPIO3
dat_pin: GPIO2
expose_json_endpoint: trueThe endpoint is served at /json (e.g. http://midea-telemetry.local/json), independent of Home Assistant. This is useful for reverse engineering, scripting, and for using the device without Home Assistant.
Frame log
Add log_frames: true to log every request sent to the ODU and every response received. The lines show up in the ESPHome dashboard's log view (and in esphome logs):
midea_telemetry:
clk_pin: GPIO3
dat_pin: GPIO2
log_frames: true[17:56:13][D][midea_telemetry:300]: tx=AA000000000000000056
[17:56:13][D][midea_telemetry:319]: rx=55006D457671401F03B0 checksum ok
[17:56:14][D][midea_telemetry:300]: tx=AA010000000000000055
[17:56:14][D][midea_telemetry:319]: rx=55016D457671401F03B0 checksum error
[17:56:14][D][midea_telemetry:300]: tx=AA020000000000FF0055
[17:56:14][D][midea_telemetry:316]: rx= no responseEach response is tagged checksum ok, checksum error, bad header (checksum fine, but not a 0x55 frame of a known type), or no response (the ODU didn't answer, so the request is retried). The lines are logged at DEBUG, the logger's default level; if you've set logger: level: to INFO or lower, they won't appear. Leave the option off when you're not using it: it adds about five log lines per second.
Long-term history (InfluxDB + Grafana)
For a permanent, Home-Assistant-independent history, influxdb-grafana/ provides a ready-to-run Docker stack: Telegraf polls each dongle's /json endpoint and stores the raw frame bytes in InfluxDB v2, and Grafana decodes them into a provisioned dashboard. See influxdb-grafana/README.md.

Prior Art
I've documented the test-port protocol in great detail on Medium: Reverse Engineering Midea's ODU Diagnostic Port. The firmware in this repository is based on those findings. Start there if you want to understand the protocol; the byte mappings and conversion formulas in the Supported Sensors table come straight from it.
Warranty
This is a hobby project. I've permanently installed the telemetry module on all of my units without any problems. That said, use it at your own risk. I do not assume any liability if it causes damage to your equipment. See LICENSE for additional information.
Disclaimer
Midea is a trademark of Midea Group. This is an independent, unofficial hobby project and is not affiliated with, authorized, endorsed by, or sponsored by Midea. The name is used only to describe which hardware the project interoperates with. All product names and trademarks are the property of their respective owners.
Parts
8| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole | MountingHole:MountingHole_2.2mm_M2 | H1, H2, H3, H4 |
| 1 | 5V-3.3V Level Shifter | telemetry-module:Module_LevelShifter_4ch_2x06_P2.54mm_RM10.16 | J3 |
| 1 | ODU 5V power jumper | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J5 |
| 1 | ODU Test Port | telemetry-module:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J1 |
| 1 | XIAO ESP32S3 | telemetry-module:Module_Seeed_XIAO_2x07_P2.54mm_RM15.24 | J4 |
Similar boards
- 2 layers20.5 × 24.8 mm

- 2 layers14.4 × 10.5 mm

OSO SWAB B1-00 Sensor Watch Accelerometer
joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch
8 parts2.1k - 2 layers7.9 × 39.1 mm

Brain board STM32F407 SD wing it
rusefi/rusefi
rusefi - GPL internal combustion engine control unit
8 parts1.2k - 2 layers59.9 × 25.7 mm

Buffer
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
8 parts1kGPL-3.0 - 2 layers52 × 12.6 mm

USB
shanteacontrols/OpenDeck
A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.
8 parts960Apache-2.0 - 2 layers87.5 × 48.5 mm

7 input macropad
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
8 parts915 - 2 layers36.2 × 63.1 mm

PicoMemcard pico
dangiu/PicoMemcard
Emulating PSX Memory Card (or controller) using a Raspberry Pi Pico
8 parts694GPL-3.0 - 2 layers36 × 10 mm

PCB4-PWR BTN Rev.A
OLIMEX/DIY-LAPTOP
Do It Yourself Open Source Hardware and Software Modular Hacker's Friendly Laptop
8 parts578Apache-2.0
Questions
How big is the Telemetry module PCB?
It measures 41.5 × 22 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Telemetry module use?
8 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Telemetry module KiCad files?
From the fmck3516/midea-telemetry-esphome repository on GitHub, at the commit this page was made from: the board is pcb/telemetry-module.kicad_pcb and its schematic pcb/telemetry-module.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Telemetry module design in my own project?
Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).











