Midea IR commands

Hi,
I’m using iot-uni-dongle to control my midea ac.

Everything works except IR commands.
my config:

esphome:
  name: kaisai-ac-biuro
  platform: ESP8266
  board: esp12e

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  fast_connect: true
  ap:
    ssid: "kaisai-ac-biuro Fallback Hotspot"
    password: ""

captive_portal:

api:
  encryption:
    key: 

ota:
  password: 

logger:
  baud_rate: 0

uart:
  tx_pin: 1        
  rx_pin: 3         
  baud_rate: 9600

# Main settings
climate:
  - platform: midea
    name: Kaisai_ac_biuro       
    period: 1s                  
    timeout: 2s               
    num_attempts: 3          
    autoconf: true            
    beeper: true             
    visual:                
      min_temperature: 17 °C   
      max_temperature: 30 °C    
      temperature_step: 0.5 °C 
    supported_modes:        
      - FAN_ONLY              
      - HEAT_COOL
      - COOL
      - HEAT
      - DRY
    custom_fan_modes:
      - SILENT
      - TURBO
    supported_presets:       
      - BOOST
      - SLEEP                 
    custom_presets:            
      - FREEZE_PROTECTION
    supported_swing_modes:
      - VERTICAL               
    outdoor_temperature:        
      name: Kaisai_Temp_biuro

remote_transmitter:
  pin: GPIO13
  carrier_duty_percent: 100% 

button:
  - platform: template
    name: Kaisai_ac_biuro Display Toggle
    icon: mdi:theme-light-dark
    on_press:
      midea_ac.display_toggle:
  - platform: template
    name: Kaisai_ac_biuro Swing Step
    icon: mdi:tailwind
    on_press:
      midea_ac.swing_step:

ESP logs:

[11:26:26][D][button:013]: 'Kaisai_ac_biuro Display Toggle' Pressed.
[11:26:26][W][midea:146]: Action needs remote_transmitter component

Why is there warning “Action needs remote_transmitter component”
I have this component configured.

You have to explicitely indicate the transmitter_id in the climate config.
There is no default.

1 Like

It worked, thanks for your help