Integrating a BroadLink RM3 Mini with Home Assistant and Siri allows you to send infrared (IR) commands using Apple's native Home app and Siri voice control. 

 

Home Assistant Version:	core-2026.6.4
Home Assistant Installation type:	Home Assistant Container

 

How it work?

Add the BroadLink Device to BroadLink App.

Add the BroadLink Device to Home Assistant.

Learn IR Commands in Home Assistant via  Developer Tools.

Create Virtual Switches in Home Assistant  

Expose to Siri via HomeKit bridge integration in Home Assistant

 

Prerequisites

Before continuing,You should already have:

BroadLink RM3 Mini or RM4 Mini connected to Home Assistant

 

step 1.Learned all required IR commands  via  Developer Tools.

action: remote.learn_command
data:
  command_type: ir
  device: Gree KFR-72GW air conditioner
  command: Power off
  timeout: 60
target:
  entity_id: remote.zhi_neng_yao_kong_rm_mini3

 Where broadlink remote commands are stored?

/config/.storage/broadlink_remote_..._codes

 

action: remote.learn_command
data:
  device: Gree KFR-72GW air conditioner
  command:
    - Power on
    - Swing up and down start
    - Swing up and down stop
    - Swing left and right start
    - Swing left and right stop
    - Power off
  command_type: ir
target:
  entity_id: remote.zhi_neng_yao_kong

 

step 2.Create Scripts

 

RM mini 3 by Broadlink:add script-Gree KFR-72GW air conditioner power on via remote.send_command

scripts.yaml

sequence:
  - action: remote.send_command
    metadata: {}
    data:
      num_repeats: 1
      delay_secs: 0.4
      hold_secs: 0
      command: Power on
      device: Gree KFR-72GW air conditioner
    target:
      entity_id: remote.zhi_neng_yao_kong_rm_mini3
alias: script-Gree KFR-72GW air conditioner power on
description: ""

test

action: script.script_gree_kfr_72gw_air_conditioner_power_on
data: {}

 

 

step 3.Create Template Switches

configuration.yaml

RM mini 3 by Broadlink:add virtual switch via switch template in configuration

template:
  - switch:
      - name: template switch 客厅空调               
        turn_on:
          service: script.script_gree_kfr_72gw_air_conditioner_power_on  #已学习的红外码存在于/config/.storage/broadlink_remote_..._codes
          data: {}
        turn_off:
          service: script.script_gree_kfr_72gw_air_conditioner_power_off
          data: {}

 

step 5.restart ha

 

step 6.Expose BroadLink Devices to Apple Home (HomeKit Bridge)

RM mini 3 by Broadlink:

add home bridge for virtual switch  in configuration.yaml

add homekit bridge device in configuration.yaml.

Here is the corrected and clean YAML code for your air conditioning bridge:

# HomeKit Bridge 配置
# https://zhuanlan.zhihu.com/p/1920988695982486609
# https://www.home-assistant.io/integrations/homekit
# https://github.com/home-assistant/core/issues/133013#issuecomment-2538470075
homekit:
  - name: Home bridge (person)
    filter:
      include_domains:
        - person
  - name: Home bridge (light)
    port: 21070
    filter:
      include_domains:
        - light

  - name: Main Bridge 21078 air
    port: 21078
    mode: bridge
    filter:
       include_entities:
        - switch.template_switch_ke_ting_kong_diao

Home Assistant setup bridges to Apple Home、

step 7.

To set up Main Bridge2 21078:21078 in the Home App, scan the QR code or enter the following code:

886-13-024

 

step 9.

Siri Voice Control

"Hey Siri, turn on the air conditioner."

 

 

Comments


Comments are closed