MrCool (see entry with my name in the table for details) - replaced USB Wifi Module with ESP-01 on UART adapter board (https://www.amazon.com/gp/product/B01M09B43H/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1) - all work outside. Added IR Led to add option to disable AC’s display and for follow me option.
Connected to the unit using cable terminated with USB plug, modified to have required notches - using flat soldering iron
esphome:
name: bedroom1_ac
platform: ESP8266
board: esp01_1m
wifi:
ssid: "your_wifi_name"
password: "your_wifi_password"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Bedroom1 Ac Fallback Hotspot"
password: "automaticaly_generated"
captive_portal:
# Disable logging over UART (required)
logger:
baud_rate: 0
# Enable Home Assistant API
api:
ota:
# UART settings for Midea dongle (required)
uart:
tx_pin: 1
rx_pin: 3
baud_rate: 9600
# Main settings
climate:
- platform: midea
name: "Bedroom 1 AC"
transmitter_id:
visual:
min_temperature: 17 °C
max_temperature: 30 °C
temperature_step: 0.5 °C
beeper: false
outdoor_temperature:
name: "Temp"
power_usage:
name: "Power"
humidity_setpoint:
name: "Hum"
remote_transmitter:
pin: GPIO2
carrier_duty_percent: 50%
sensor:
- platform: homeassistant
name: follow_me_sensor_stuff
entity_id: sensor.bedroomtemphum_temperature # Sensor from HASS - replace with your own - highly recommended to use (otherwise delete sensor section, or it will not work correctly) - Provides ability for AC unit to use your, external sensor from HomeAss as a main sensor
internal: true
filters:
- throttle: 10s
- heartbeat: 2min # Maximum interval between updates.
- debounce: 1s
on_value:
midea_ac.follow_me:
temperature: !lambda "return (x-32)*5/9;" # x is in F degrees in my case, midea expects C, use return x; in case your sensor works on C
beeper: false # Optional. Beep on update.
# template momentary switches for sending display control command and swing step actions
switch:
- platform: template
name: Bed1 AC Display Toggle
icon: mdi:theme-light-dark
turn_on_action:
midea_ac.display_toggle:
- platform: template
name: Bed1 AC Swing Step
icon: mdi:tailwind
turn_on_action:
midea_ac.swing_step:
Brand: Midea
Model: MSAFB-12HRDN1-QC2
Year: 2018
Market: ZA
The model number is of the indoor unit. I suppose the indoor unit is the important part here, but just in case the outdoor unit is relevant, it is MOBA30-12HDN1-QC2.
Manufacture ,Model, Year , Region,Notes
MrCool DIY ,DIY-18-WMAH-HP-230A,2019,US, flash and plug and play with Sergey’s Dongle
Alpine Air “Blueridge”,BM18MCD,2020,US, requires the wifi Smart Pod for dongle.
Alpine Air “Blueridge”, BM12MCCG,2020,US, requires the wifi Smart Pod for dongle.
Special note on the wifi “SMARTPODS”
You need to initialize the original smartkit dongle to send a wakeup string to the pod.
Once that happens the light will turn on the pod indicating it’s listening. the far left you can see the white LED i’m talking about.
With the light on. you can simply swap out for the Midea Dongle and it will start working.
All Works well, no major issues… Thanks all for your effort in making this possible!
Special notes:
I’m going to see if I can capture the wakeup string to include in the project and possibly avoid this step.
Had to take my board out of the Pod to get the dongle to fit. working on a 3d Printable case for it to go into. will update once that’s available.
I followed the dev thread on Telegram, and it seems that is how it’s supposed to work…
That makes no sense though. It doesn’t do that with the IR remote and I’m fairly sure it didn’t with the Midea app as well, although it’s been a while since I’ve used it.