pdf-icon

Unit IR Home Assistant Integration

Unit IR is a short-distance optoelectronic module with integrated infrared transmission and reception capabilities. It features a 940nm infrared LED transmitter and a 38kHz hardware demodulation receiver, supporting modulation transmission and automatic demodulation reception of standard infrared protocols such as NEC

Note
Since Unit IR is only an infrared module, it requires an additional master device (such as Atom series, Stamp series, Stick series, Core/Basic series, etc.) to integrate with Home Assistant

Check the latest configurations on ESPHome:

Configuring IR Transmitter/Receiver

remote_receiver:
  pin: GPIOXX
  dump: all

remote_transmitter:
  pin: GPIOXX
  carrier_duty_percent: 50%

The GPIO pins here will vary depending on the master device used. For example, using AtomS3 series as the master:

# GPIO1 input
remote_receiver:
  pin: GPIO1
  dump: all

# GPIO2 output
remote_transmitter:
  pin: GPIO2
  carrier_duty_percent: 50%

After completing the IR configuration, you can add IR Climate and other devices. Using a Midea air conditioner as an example:

climate:
  - platform: coolix  # or media_ir
    name: "Media AC"
    visual:
      min_temperature: 18
      max_temperature: 30
      temperature_step: 1

After saving, compile and upload the firmware, then add the device to Home Assistant, and you will be able to see the IR entities:

On This Page