The Unit IR component receives and transmits infrared signals.
| 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 | / |
Unit IR uses the official ESPHome Remote Receiver and Remote Transmitter components to receive and transmit infrared signals.
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% 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: