English
English
简体中文
日本語

Unit IR ESPHome Component

The Unit IR component receives and transmits infrared signals.

1. Component Overview

Item Information
Product Name Unit IR
SKU U002
Main Function Infrared signal transmission and reception
Communication Interface GPIO
ESPHome Components remote_transmitter, remote_receiver
ESPHome Version Requirement /

2. Component Description

Including Official Components

Configuring the IR Transmitter/Receiver

Unit IR uses the official ESPHome Remote Receiver and Remote Transmitter components to receive and transmit infrared signals.

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

remote_transmitter:
  pin: GPIOXX
  carrier_duty_percent: 50%

The GPIO pins depend on the controller device. For example, when using an AtomS3 series controller:

# GPIO1 receiver
remote_receiver:
  pin: GPIO1
  dump: all

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

3. Reference Example

After configuring the infrared transceiver, add the ESPHome platform required by your device. For example, use the Coolix protocol to control an air conditioner:

climate:
  - platform: coolix
    name: "Midea AC"
    visual:
      min_temperature: 18
      max_temperature: 30
      temperature_step: 1

After connecting to Home Assistant, you can view the Climate entity on the device page:

Page Tools
PDF
On This Page