Skip to content

smazurov/esphome-ykh531e

Repository files navigation

ESPHome YKH531E Climate Component

ESPHome custom component for YKH531E IR remote control protocol. Controls compatible AC units via infrared signals.

Tested with: Frigidaire FHPC102AC1

Installation

Add to your ESPHome configuration:

external_components:
  - source: github://smazurov/esphome-ykh531e
    components: [ykh531e]

See ESPHome External Components for more installation options.

Configuration

remote_transmitter:
  pin: GPIO14
  carrier_duty_percent: 50%

climate:
  - platform: ykh531e
    name: "AC Unit"
    supports_heat: false
    supports_cool: true
    use_fahrenheit: true # Optional: use Fahrenheit instead of Celsius

Features

  • Temperature: 16-32°C (60-90°F)
  • Modes: Auto, Cool, Dry, Fan, Heat (untested)
  • Fan Speed: Low, Medium, High, Auto
  • Swing: Vertical only
  • Presets: Sleep mode
  • Units: Celsius or Fahrenheit

Hardware Setup

Connect IR transmitter to GPIO14 (or your preferred pin).

Optional: Connect IR receiver to GPIO27 to update climate state when using the physical remote control.

remote_receiver:
  pin: GPIO27

Development

To modify and test:

# Install dependencies
uv sync

# Test compilation
uv run esphome compile test_device.yaml

About

A ESPHome Component for controlling AC units with YK-H/531E Remotes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published