Is the IR LED working on an M5Stack AtomS3 Lite?

New to ESPHome and wondering if anyone got the built in infrared LED of an M5Stack AtomS3 Lite to work?

I am trying to use the midea_ir Remote Climate component, and it appears that the infrared LED is not firing. — Here is what I believe to be the relevant part of my YAML config:

esphome:
  name: testdevice
  friendly_name: TestDevice

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: arduino

# Enable logging
logger:

remote_transmitter:
  pin: GPIO4
  carrier_duty_percent: 50%
  on_transmit:
    then:
      - logger.log:
          format: “TRANSMITTED SOMETHING”

I can see the “TRANSMITTED SOMETHING” message in the logs when I change the set point or the AC state. I’ve tried to use my phone’s camera and see if I can spot the IR flashing, but no luck. (Also my AC is not reacting.)

I also double-checked the documentation, confirming that GPIO4 is correct and tried two different AtomS3 controllers, to rule out defective hardware.

What am I missing?

In case someone else runs into this:

  • Yes, the IR LED on the M5Stack Atom S3 Lite works, however
  • The LED is extremely weak.

It works for remote-controlling my TV from ~6ft away if I aim it directly at the sensor. I could not get it to work with my AC even as close a 3" from the sensor. There are posts on the M5Stack community forums where folks state that the IR range can be as short as <1cm.

If anybody has any recommendations for either an all in one solution for an ESPHome powered IR transmitter, please let me know…

You need transistor circuit for ir-led.
Like this:
image
or some ready made module with transistor driver