English
English
简体中文
日本語
pdf-icon

Unit IR Home Assistant Integration

This section describes the configuration methods and practical steps for integrating the Unit IR infrared transmitter/receiver unit into Home Assistant.

Note

Since Unit IR is an independent infrared unit, an additional controller (such as the Atom series, Stamp series, Stick series, Core/Basic series, etc.) is required to integrate it into Home Assistant.

Preparation

  1. Refer to the latest official ESPHome IR configuration documentation:
  2. Prepare a compatible controller (such as the Atom series, Stamp series, Stick series, Core/Basic series, etc.).
  3. Confirm the GPIO pin definitions of the controller (pins vary by device).

Configure IR Transmitter/Receiver

  1. Basic configuration example:
remote_receiver:
  pin: GPIOXX
  dump: all

remote_transmitter:
  pin: GPIOXX
  carrier_duty_percent: 50%

The GPIO pins will vary depending on the controller used. For example, using the AtomS3 series as a controller:

# GPIO1 input
remote_receiver:
  pin: GPIO1
  dump: all

# GPIO2 output
remote_transmitter:
  pin: GPIO2
  carrier_duty_percent: 50%
  1. Once the IR configuration is complete, you can add devices like IR Climate. Taking 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
  1. After saving, compile and upload the firmware. Add the device to Home Assistant to see the IR entity:

On This Page