IR Remote Climate not updating when remote command recceived

After reading this post, I made an ESP01 module to control my mini split AC and eventually add the rest of the ACs.

I was able to decode the remote, make the ESP send the appropriate codes to the AC unit and works just fine. The only problem I’m facing right now is that when I press any of the remote control buttons, the commands are received on the ESP (through VS1838 IR receiver) but the status is not updated on the UI.

As per the docs, this should be used:

Optionally, some platforms can listen to data the climate device sends over infrared to update their state ( for example what mode the device is in). By setting up a remote_receiver and passing its ID to the climate platform you can enable this mode.

Since I’m using a coolpix platform and it supports receiver, I would the following to happen:

  1. Turn on the AC using the hardware remote
  2. Home Assitat display the received status on the UI

This is the card I’m using

image

YAML for the ESP is:

esphome:
  name: aa-comedor
  friendly_name: AA Comedor

esp8266:
  board: esp01_1m

# Enable logging
logger:
  level: VERBOSE
  
# Enable Home Assistant API
api:
  encryption:
    key: "EpKdpXsGOBkl9wpRpBD1cMrs1U68m6tV7zif3Tgtkhk="

ota:
  password: "e4ef68d6e81261d88f5c7b8d09cd399a"

wifi:
  ssid: !secret wifi_ssid1
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "AA-Comedor Fallback Hotspot"
    password: "LPwgf59LnAEX"

captive_portal:
    
remote_receiver:
  pin:
    number: 2
    inverted: true
    mode: INPUT_PULLUP
  dump: all

remote_transmitter:
  pin: 3
  carrier_duty_percent: 50%

climate:
  - platform: coolix
    name: "AA Comedor"
    sensor: temp_comedor
    visual:
      min_temperature: 17
      max_temperature: 30
      temperature_step: 0.1

sensor:
  - platform: homeassistant
    id: temp_comedor
    entity_id: sensor.echo_living_temperature

Don’t you want to show us your ESP node’s YAML?
Help us to help you.

Sorry, forgot to add it :slight_smile:

I think there is a receiver_id property missing in your climate control.

That was it :man_facepalming:

Thanks for the 2nd pair of eyes!

1 Like