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:

  1. Get an ESP8266/ESP32 with a UART logic-level shifter, and use it to interface directly with the dehumidifier (in place of the SK105).
  2. 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).

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

  1. Unplug the dehumidifier, remove the bucket.
  2. Remove the 2x philips screws securing the front face of the unit.
  3. Gently slide the front plate downward to free it, then off.
  4. 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.)
  5. Using an exacto knife, carefully cut the superglue around the port and remove the outer shell.

2. Wiring the module for programming

  1. Solder small wires to the following locations:
    1. 5V pad
    2. GND pad (any of them)
    3. LOG_TX pad
    4. LOG_RX pad
    5. CLK pad (this is A0, used to enable download mode when HIGH during a reset.)
      1. You can solder to the castellated pin for A0 instead, like I did in my photo.
  2. Connect the LOG_TX/RX pins to the USB-UART adapter of your choice.
    1. Ensure logic level is 3V3 – the LOG_TX/RX pins are not 5V tolerant.
    2. RX to TX, and TX to RX (as usual).
  3. Connect GND to the USB-UART and the GND of your 3.3V power supply.
  4. Connect both A0 and 5V to a 3.3V supply (uses about 5mA in download mode and 50mA when booted.)
    1. 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.
  5. 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)

  1. Install using the instructions here: https://docs.libretiny.eu/docs/flashing/tools/ltchiptool/
  2. 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

  1. Login to your Home Assistant web UI
  2. Open ESPHome Builder (if you got this far, I am assuming you already use this.)
  3. Create a new device, and you can select Generic RTL8720CF as the platform.
  4. 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.
  5. Click Install, and select Advanced Options and “Download firmware binary”
  6. 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

  1. Connect your USB-UART adapter to your PC, with your 3.3V power supply off.
  2. Apply 3.3V power to both the A0 and 5V pins.
    1. 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.
  3. 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
  4. Now, flash your new firmware:

    ltchiptool flash write your-firmware-from-esphome.uf2
  5. 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.

Tags: , ,

Monday, November 23rd, 2026 electronics, home automation, software

Leave a Reply