ESP32-C3 IRHVAC issues

Hi, I have this tuya remote swapped with esp32c3.


One issue I’m noticing is that sending IRHVAC works intermittently. I would need to repeatedly send ir command because the target device wasn’t receiving it.

Now once I switched to esp8266 on the same tuya remote hardware. I had no trouble at all with IRHVAC, it just works perfectly. Both esp32/esp8266 running on latest tasmota-ir build.

Could there be some additional settings I need to enable in esp32-c3 to get it working properly?

Have been able to make it work ? I have the exact same issue.

Unfortunately no, I even tried hooking up esp32 devboard to the pins on the remote and it worked just fine. Seems to be limited to esp32c3 variant.
How’s your progress? Have you tried with esp32c2?

I tried first OpenBeken and ESPhome on the Tuya CBU module wasn’t able to get my GREE remote to work with them.
Desoldered the CBU and put ESP8685-WROOM-06-H4. Also I had to make a custom Tasmota firmware to make it read my GREE remote.

Now, I have two remotes. the first one model YB1F2 Tasmota can detect any press on this remote. The other, same remote but it doesn’t have the model number written on it, Tasmota strugles to detect any press on this remote. I have to press the button 3-5 times for Tasmota to detect it.

I also tried to put ESPhome on this C3 model but never got the yaml configuration right yet. it seems the IRremoteESP8266 not supported for ESP32C3 (Not very knowledgeable on ESPhome)

esphome:
  name: rf

esp32:
  variant: ESP32C3
  board: esp32-c3-devkitm-1


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

logger:

api:

ota:

web_server:
  port: 80


climate:
  - platform: heatpumpir
    name: "AC"
    protocol: gree
    horizontal_default: middle
    vertical_default: up
    min_temperature: 20
    max_temperature: 26


remote_receiver:
  pin: GPIO3
  dump: all

remote_transmitter:
  pin: GPIO7
  carrier_duty_percent: 50%

Have you installed tasmota-irhvac and use the climate card to control your gree ac?
Example config in configuration.yaml

#aircon_livingroom
climate:
  - platform: tasmota_irhvac
    name: Gree AC
    command_topic: "cmnd/your_tasmota_remote/irhvac"
    state_topic: "tele/your_tasmota_remote/RESULT"
    temperature_sensor: sensor.kitchen_temperature #optional this sensor is used to display current temp on the AC card
    protocol: "GREE"
    min_temp: 18 #optional - default 16 int value
    max_temp: 30 #optional - default 32 int value
    target_temp: 18 #optional - default 26 int value
    initial_operation_mode: "off" # optional - default "off" string value
    away_temp: 24 #optional - default 24 int value
    precision: 1.0 #optional - default 1.0 float value
    supported_modes:
      - heat
      - cool
      - dry
      # - fan_only
      - auto
      - "off" #Turns the AC off - Should be quoted and should be always included here
    supported_fan_speeds:
      - low
      #- max
      - medium
      - high
      #- middle
      #- focus
      #- diffuse
      #- min
      - auto
    supported_swing_list:
      - "off"
      - vertical #up to down
      #- horizontal # Left to right - remove if your AC does not support it
      #- both # remove if your AC does not support horizontal
    hvac_model: "1" # string value
    celsius_mode: "On" #optional - default "On" string value - you can remove it if you use celsius

Maybe needs battery replacement on the physical remote?

Yeah, getting the same error, probably it’s still being worked on in esphome.

I changed the battery, same issue.

And I installed tasmota-irhvac, but I don’t think this will solve the issue because it just sends IRHVAC commands which same issue as you faced the ac doesn’t always responds.
Although I’m seeing the IR LEDs blink every time with my phone camera.

I just saw this request on GitHub Update IRremoteESP8266 2.8.4 to support ESP32-C3 by phoenixxie0 · Pull Request #4499 · esphome/esphome · GitHub

Will do some research on it later

Yeah, I posted this issue on tasmota discussion a while back but I’m not really getting much from there.
So it’s back to esp8266

I got ESPhome to kinda work using heatpumpir. But I couldn’t figure out how to read the remote codes as Tasmota.

My AC is GREE and I was able to just turn it ON/OFF and set the temperature and Mode.
The vertical/horizantal swing and fan speed didn’t work well

But when ever I send a command my AC pic it up, Tasmota had issues with it.

external_components:
  - source: github://Jorre05/remote_receiver

    components:
      - remote_receiver
      
  
  - source: github://pr#4499
    components:
      
      - heatpumpir



esphome:
  name: rf2

esp32:
  variant: ESP32C3
  board: esp32-c3-devkitm-1


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

web_server:
  port: 80

climate:
  - platform: heatpumpir
    name: "AC"
    protocol: greeya
    horizontal_default: right
    vertical_default: up
    min_temperature: 16
    max_temperature: 30

remote_transmitter:
  pin: GPIO7
  carrier_duty_percent: 50%

remote_receiver:
  pin:
    number: GPIO3
    inverted: True
  rmt_channel: 2
  dump: raw
1 Like

That’s a nice solution, how did you find the heatpumpir for esp32c3?
Can you get the current ac status if someone else is using the physical remote?
I didn’t use esphome because receiver is not supported for mitsubishi ac with the ir climate.

Because ESPhome couldn’t decode my physical remote I wasn’t able to track it’s state.

My AC isn’t supported also, but I’m using the heatpumpir platform.
I see they have several mitsubishi protocols [ mitsubishi_fa, mitsubishi_fd, mitsubishi_fe, mitsubishi_heavy_fdtc, mitsubishi_heavy_zj, mitsubishi_heavy_zm].

See this for the heatpumpir solution Update IRremoteESP8266 2.8.4 to support ESP32-C3 by phoenixxie0 · Pull Request #4499 · esphome/esphome · GitHub, I implemented using external_components