Using the US-SK105 directly with Home Assistant
I have liberated numerous “cloud” dongles over the years, flashing my own firmware for local-only control. Hopefully I’ll make the time to share more of these guides.


If you have a Danby dehumidifier made in the last 3 or so years (or one with the same module in it) here are the steps I took to flash the original WiFi module with Home Assistant firmware.
You have a few options here:
- Get an ESP8266/ESP32 with a UART logic-level shifter, and use it to interface directly with the dehumidifier (in place of the SK105).
- Reprogram the original SK105 hardware to do your bidding.
I am a big fan of reusing hardware. And to be fair, none of what I did is new, but I found myself needing to piece together multiple sources to make it work (as usual).
- ESPHome library for Midea Dehumidifiers: https://github.com/Chreece/ESPHome-Dehumidifier
- ESPHome library for Midea Air Conditioners: https://github.com/sammothxc/midea-sk105-esphome
- It was based on a discussion here: https://github.com/libretiny-eu/ltchiptool/issues/18
This article combines my findings into a single guide!
“Simple” Steps
Here is everything I did, digested down in one location.
1. Accessing the module
- Unplug the dehumidifier, remove the bucket.
- Remove the 2x philips screws securing the front face of the unit.
- Gently slide the front plate downward to free it, then off.
- Pull the WiFi module from the hot glue, and unplug from the “USB” cable (it isn’t using USB, it is 5V/GND and a TTL RX/TX UART line.)
- Using an exacto knife, carefully cut the superglue around the port and remove the outer shell.







2. Wiring the module for programming
- Solder small wires to the following locations:
- 5V pad
- GND pad (any of them)
- LOG_TX pad
- LOG_RX pad
- CLK pad (this is A0, used to enable download mode when HIGH during a reset.)
- You can solder to the castellated pin for A0 instead, like I did in my photo.
- Connect the LOG_TX/RX pins to the USB-UART adapter of your choice.
- Ensure logic level is 3V3 – the LOG_TX/RX pins are not 5V tolerant.
- RX to TX, and TX to RX (as usual).
- Connect GND to the USB-UART and the GND of your 3.3V power supply.
- Connect both A0 and 5V to a 3.3V supply (uses about 5mA in download mode and 50mA when booted.)
- Note: the 5V pin is internally regulated by the RTL8720C to create a 3.3V rail, but A0 is not 5V tolerant. Using 3.3V for both works fine, and is safer.
- To test if it works, temporarily disconnect A0 (floating) and open a terminal emulator on your USB-UART device at baud 115,200. Then apply power to the module. You should see the bootloader output.


3. Install the flashing tool (ltchiptool)
- Install using the instructions here: https://docs.libretiny.eu/docs/flashing/tools/ltchiptool/
- If you use Ubuntu/Debian like me, and aren’t a big Python Guy(TM), you’ll need to do this in your Terminal to setup a Python virtual environment and install via pip:
sudo apt update
sudo apt install python3 python3-venv python3-pip
python3 -m venv --system-site-packages ~/ltchiptool-venv
source ~/ltchiptool-venv/bin/activate
pip install ltchiptool
4. Build your firmware in Home Assistant
- Login to your Home Assistant web UI
- Open ESPHome Builder (if you got this far, I am assuming you already use this.)
- Create a new device, and you can select Generic RTL8720CF as the platform.
- Below is the configuration I used for my dehumidifier, based on the config provided with the ESPHome-Dehumidifier library and some tweaks from the midea-sk105-esphome library specifically for the SK105.
- Click Install, and select Advanced Options and “Download firmware binary”
- Once compiled, download the UF2 package.
esphome:
name: danbysk105
friendly_name: Danby Dehumidifer
platformio_options:
lib_compat_mode: "off"
build_flags:
- -DPIN_SERIAL0_RX=13u
- -DPIN_SERIAL0_TX=14u
rtl87xx:
board: generic-rtl8720cf-2mb-896k
logger:
api:
encryption:
key: ********
ota:
- platform: esphome
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: danbysk105 Fallback Hotspot
password: ********
captive_portal:
external_components:
- source:
type: git
url: https://github.com/Chreece/ESPHome-Dehumidifier
ref: main
components: [midea_dehum]
refresh: 0min
uart:
id: uart_midea
tx_pin: PA14
rx_pin: PA13
baud_rate: 9600
midea_dehum:
id: midea_dehum_comp
uart_id: uart_midea
handshake_enabled: false
handshake_fallback_timeout: 15000
status_poll_interval: 1000
display_mode_setpoint: 'Target'
display_mode_continuous: 'Continuous'
display_mode_smart: 'UNUSED'
display_mode_clothes_drying: 'UNUSED'
climate:
- platform: midea_dehum
midea_dehum_id: midea_dehum_comp
name: "Dehumidifier"
binary_sensor:
- platform: midea_dehum
midea_dehum_id: midea_dehum_comp
bucket_full:
name: "Bucket Full"
clean_filter:
name: "Clean Filter Request"
defrost:
name: "Defrosting"
button:
- platform: midea_dehum
midea_dehum_id: midea_dehum_comp
filter_cleaned:
name: "Reset Filter Cleaning"
sensor:
- platform: wifi_signal
name: WiFi Strength
- platform: midea_dehum
midea_dehum_id: midea_dehum_comp
error:
name: "Error Code"
humidity:
name: "Current Humidity"
temperature:
name: "Current Temperature"
switch:
- platform: midea_dehum
midea_dehum_id: midea_dehum_comp
pump:
name: 'Pump'
beep:
name: "Beep on Command"
number:
- platform: midea_dehum
midea_dehum_id: midea_dehum_comp
target_humidity:
name: "Target Humidity"
text_sensor:
- platform: midea_dehum
midea_dehum_id: midea_dehum_comp
capabilities:
name: "Device Capabilities"
protocol:
name: "Protocol Version"
5. Flash it
- Connect your USB-UART adapter to your PC, with your 3.3V power supply off.
- Apply 3.3V power to both the A0 and 5V pins.
- This is where I had trouble – if I tried connecting A0 HIGH first, then power, it would fail the handshake. Connecting both together, with power at the same time, reliably entered download mode for me.
- Make a backup of the stock firmware, both for safety and also to test that things are working.
ltchiptool flash read rtl8720c ~/Desktop/stock_sk105.bin - Now, flash your new firmware:
ltchiptool flash write your-firmware-from-esphome.uf2 - It will reboot into the firmware, and you can now add it in Home Assistant.
OYS
Own your shit. And keep it offline. Unless you like it when your fridge is set to 50*C.

