Skip to content
esphome-heatpump-ir
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
heatpumpcontroller.h
heatpumpcontroller.yaml
mqtt-message.txt
ui-config.png

README.md

ESPHome config to control Midea conditioner

Features

  • Support AUTO, HEAT, COOL modes
  • Support set temperature
  • Set mode and temperature available by MQTT

Hardware

This config use my own ESP32 board with ethernet support. My board fully compatible with wESP32 board. You can use schematic from these board or change config to use WiFi.

Software

  1. Prepare environment for ESPHome
  2. Run esphome heatpumpcontroller.yaml run
  3. Use

OpenHAB config

This config can be controlled via OpenHAB with MQTT

  1. Create items
Group  HEAT "Heat"
Number H_TARGET_TEMP "Температура [%.1f С]" <temperature> (HEAT) { mqtt=">[broker:heatpumpcontroller/climate/my_custom_climate/target_temperature/command:command:*:default]" }
String H_MODE "Режим" (HEAT) { mqtt=">[broker:heatpumpcontroller/climate/my_custom_climate/mode/command:command:*:default]" }
Number H_CURRENT_TEMP "Температура поточна [%.1f С]" <temperature> (HEAT) { mqtt="<[broker:heatpumpcontroller/climate/my_custom_climate/current_temperature/state:state:default]" }
  1. Create config for sitemap
Frame label="Heat" {
                Group item=HEAT
                Setpoint item=H_TEMP label="Home [%.1f °C]" minValue=18 maxValue=30 step=1.0
                Switch item=H_MODE mappings=[OFF="OFF", AUTO="AUTO", COOL="COOL", HEAT="HEAT"]
        }

Result should be like:

Tested on SENSEI air conditioner with R51M/E remote control.

You can’t perform that action at this time.