For this platform to work, we need a .json file containing all the necessary IR commands.
Find your device's brand code here and add the number in the device_code
field. If your device is not working, you will need to learn your own codes and place the Json file in smartir/codes/climate
subfolders. Keite Trần developed an amazing web-based app for this job.
Please note that the device_code field only accepts positive numbers. The .json extension is not required.
Name | Type | Default | Description |
---|---|---|---|
name |
string | optional | The name of the device |
unique_id |
string | optional | An ID that uniquely identifies this device. If two devices have the same unique ID, Home Assistant will raise an exception. |
device_code |
number | required | (Accepts only positive numbers) |
controller_data |
string | required | The data required for the controller to function. Enter the entity_id of the Broadlink remote (must be an already configured device), or the entity id of the Xiaomi IR controller, or the MQTT topic on which to send commands. |
delay |
number | optional | Adjusts the delay in seconds between multiple commands. The default is 0.5 |
temperature_sensor |
string | optional | entity_id for a temperature sensor |
humidity_sensor |
string | optional | entity_id for a humidity sensor |
power_sensor |
string | optional | entity_id for a sensor that monitors whether your device is actually on or off . This may be a power monitor sensor. (Accepts only on/off states) |
Add a Broadlink RM device named "Bedroom" via config flow (read the docs).
smartir:
climate:
- platform: smartir
name: Office AC
unique_id: office_ac
device_code: 1000
controller_data: remote.bedroom_remote
temperature_sensor: sensor.temperature
humidity_sensor: sensor.humidity
power_sensor: binary_sensor.ac_power
smartir:
remote:
- platform: xiaomi_miio
host: 192.168.10.10
token: YOUR_TOKEN
climate:
- platform: smartir
name: Office AC
unique_id: office_ac
device_code: 2000
controller_data: remote.xiaomi_miio_192_168_10_10
temperature_sensor: sensor.temperature
humidity_sensor: sensor.humidity
power_sensor: binary_sensor.ac_power
smartir:
climate:
- platform: smartir
name: Office AC
unique_id: office_ac
device_code: 3000
controller_data: home-assistant/office-ac/command
temperature_sensor: sensor.temperature
humidity_sensor: sensor.humidity
power_sensor: binary_sensor.ac_power
smartir:
climate:
- platform: smartir
name: Office AC
unique_id: office_ac
device_code: 4000
controller_data: 192.168.10.10
temperature_sensor: sensor.temperature
humidity_sensor: sensor.humidity
power_sensor: binary_sensor.ac_power
ESPHome configuration example:
esphome:
name: my_espir
platform: ESP8266
board: esp01_1m
api:
services:
- service: send_raw_command
variables:
command: int[]
then:
- remote_transmitter.transmit_raw:
code: !lambda 'return command;'
remote_transmitter:
pin: GPIO14
carrier_duty_percent: 50%
HA configuration.yaml:
smartir:
climate:
- platform: smartir
name: Office AC
unique_id: office_ac
device_code: 8000
controller_data: my_espir_send_raw_command
temperature_sensor: sensor.temperature
humidity_sensor: sensor.humidity
power_sensor: binary_sensor.ac_power
The following are the code files created by the amazing people in the community. Before you start creating your own code file, try if one of them works for your device. Please open an issue if your device is working and not included in the supported models. Contributing to your own code files is welcome. However, we do not accept incomplete files as well as files related to MQTT controllers.
Code | Supported Models | Controller |
---|---|---|
1000 | AKIRA GAN/GAG-A128 VL | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1020 | CS-CE7HKEW CS-CE9HKEW CS-CE12HKEW CS-PC24MKF CS-C24PKF |
Broadlink |
1021 | CS-RE9GKE CS-RE12GKE CS-RE9PKR CSCU-Z25TKR |
Broadlink |
1022 | CS-Z25TK CS-XN7SKJ |
Broadlink |
1023 | CS-HE9JKE CS-HE12JKE CS-HE9LKE |
Broadlink |
1024 | CS-MRE7MKE | Broadlink |
1025 | CS-E18FKR | Broadlink |
1026 | CS-PC12QKT | Broadlink |
1027 | CS-SA9CKP | Broadlink |
1028 | CS-U9RKR CS-U12RKR |
Broadlink |
1029 | CS-LJ22~LJ90BA2(YA2) C8024-9921 (Remote) |
Broadlink |
1030 | CS-E12JKDW (Swing mode) | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1040 | Unknown model | Broadlink |
1041 | AE1PH09IWF AE0PH09IWO AE1PH12IWF AE0PH12IWO AE4PH18IWF AE4PH18IWF AE5PH18IWO |
Broadlink |
1042 | ASHA09LCC | Broadlink |
1043 | ASWX09LECA | Broadlink |
1044 | AHD08LXW1 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1060 | R09AWN R24AWN E09EK |
Broadlink |
1061 | Unknown model | Broadlink |
1062 | LG InverterV P12RK | Broadlink |
1063 | LG Inverter P12EP1, P12EU (AKB74955603 Remote) | Broadlink |
1064 | Unknown model | Broadlink |
1065 | LG LA080EC,LAXXXEC (AKB73598011 remote) | Broadlink |
1066 | LA090HYV LA120HYV LAN090HYV LAN120HYV (AKB73835312 remote) |
Broadlink |
1067 | W12TCM | Broadlink |
1068 | AKB74295303 | Broadlink |
1069 | AKB74295304 | Broadlink |
3060 | G09LH | Xiaomi |
7062 | LG InverterV P12RK | ESPHome |
Code | Supported Models | Controller |
---|---|---|
1080 | Unknown model | Broadlink |
1081 | RAC-10EH1 RAC-18EH1 RAS-10EH1 RAS-10EH3 RAS-18EH1 |
Broadlink |
1082 | RAS-25YHA RAS-35YHA |
Broadlink |
1083 | RAS-32CNH2 | Broadlink |
1084 | RAS-DX18HDK RAK-35RPC |
Broadlink |
1085 | RPA24B3BL | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1100 | FTXS25CVMB FTXS35CVMB FTXS60BVMB FVXS25BVMB |
Broadlink |
1101 | FTXS20LVMA FTXS25LVMA FTXS35LVMA FTXS46LVMA FTXS50LVMA FTXS60LVMA FTXS71LVMA FTXS85LVMA FTXS95LVMA FTXM35M FVXM35F FVXS50FV1B FTXL35J2V1B FTXM25UVMA FTXM35UVMA FTXD25DVMA FTXS35G2V1B |
Broadlink |
1102 | FTV20AXV14 | Broadlink |
1103 | Unknown model | Broadlink |
1104 | TF25DVM | Broadlink |
1105 | FTX12NMVJU | Broadlink |
1106 | ATX20KV1B ATX25KV1B ATX35KV1B |
Broadlink |
1107 | FTX25JAV1NB | Broadlink |
1108 | FTXG25EV1BS FTXG35EV1BS FTXG35EV1BW |
Broadlink |
1109 | BRC4C158 (Remote) | Broadlink |
1110 | FTC15NV14 FTC20NV14 FTC25NV14 FTC35NV14 |
Broadlink |
1111 | FTE09NV25 | Broadlink |
1112 | ATKC09TV2S FTKQ12TV2S |
Broadlink |
1113 | FTXV35AV1B | Broadlink |
3100 | FTXS25CVMB FTXS35CVMB FTXS60BVMB FVXS25BVMB |
Xiaomi |
Code | Supported Models | Controller |
---|---|---|
1120 | MSZ-GL25VGD MSZ-GL35VGD MSZ-GL42VGD MSZ-GL50VG MSZ-GL60VGD MSZ-GL71VGD MSZ-GL80VGD |
Broadlink |
1121 | MSZ-GA35VA | Broadlink |
1122 | MSZ-AP50VGKD | Broadlink |
1123 | SRK25ZSX SRC25ZSX |
Broadlink |
1124 | MSZ-SF25VE3 MSZ-SF35VE3 MSZ-SF42VE3 MSZ-SF50VE MSZ-AP20VG |
Broadlink |
1125 | MLZ-KP25VF MLZ-KP35VF MLZ-KP50VF |
Broadlink |
1126 | MSX09-NV II MSH-07RV MSH-12RV |
Broadlink |
1127 | MSZ-HJ25VA | Broadlink |
1128 | MSZ-HJ25VA MSZ-HJ35VA |
Broadlink |
1129 | MSZ-GE22VA MSZ-EF35VE |
Broadlink |
1130 | MS-SGD18VC | Broadlink |
1131 | PAR-FL32MA remote | Broadlink |
1132 | MSC-A12YV | Broadlink |
1133 | MSXY-FN10VE MSXY-FN07VE MSXY-FN13VE MSXY-FN18VE (Swing mode) |
Broadlink |
3129 | DXK18Z1-S | Xiaomi v2 |
Code | Supported Models | Controller |
---|---|---|
1140 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1160 | Unknown model | Broadlink |
1161 | 40GKX-024RB | Broadlink |
1162 | 42TVGS024-703 | Broadlink |
1163 | 40MAQ* | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1180 | Unknown model | Broadlink |
1181 | Unknown model/Model: GWH09QB / YAN1F1 (Remote) | Broadlink |
1182 | Y512/Y502 (Remote) | Broadlink |
1183 | Smart inverter (Swing mode) | Broadlink |
1184 | GWH09KF GC-EAF09HR |
Broadlink |
3180 | YB0FB2 (Remote) | Xiaomi |
3181 | YB1FA (Remote) | Xiaomi (v2) |
Code | Supported Models | Controller |
---|---|---|
1200 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1220 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1240 | Unknown model | Broadlink |
1241 | CBV12CBBNA CBY12DBBNA |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
1260 | RAS-13NKV-E / RAS-13NAV-E RAS-13NKV-A / RAS-13NAV-A RAS-16NKV-E / RAS-16NAV-E RAS-16NKV-A / RAS-16NAV-A |
Broadlink |
1261 | WH-TA05NE WH-TA11EJ |
Broadlink |
1262 | RAC-PD0812CRRU RAC-PD1013CWRU RAC-PD1213CWRU RAC-PD1414CWRU |
Broadlink |
1263 | RAS-B07J2KVSG-E RAS-B10J2KVSG-E RAS-B13J2KVSG-E |
Broadlink |
1264 | RAS-13SKVR-A | Broadlink |
7260 | RAS-18NKV2-E | ESPHome |
Code | Supported Models | Controller |
---|---|---|
1280 | AR-RBE1E (Remote control) | Broadlink |
1281 | AR-RY3 (Remote control) AR-RAE1/AR-RAE1E AR-RAH1U |
Broadlink |
1282 | AR-JW11 (Remote control) | Broadlink |
1283 | AR-AB5 (Remote control) | Broadlink |
1284 | AR-REG1U (Remote control) | Broadlink |
1285 | AR-RCE1E (Remote control) | Broadlink |
3285 | AR-RCE1E (Remote control) | Xiaomi (v2) |
7285 | AR-RCE1E (Remote control) | ESPHome |
1286 | AR-JE5 (Remote control) | Broadlink |
1287 | AR-REB1E (Remote control) | Broadlink |
1288 | AR-REB1E (Remote control) | Broadlink |
1289 | AR-REW1E (Remote control) | Broadlink |
1290 | AR-RFL7J (Remote control) | Broadlink |
1291 | AR-REF1E (Remote control) | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1300 | AY-B22DM | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1320 | Unknown model | Broadlink |
1321 | Top-Tech 14 | Broadlink |
1322 | HSU-09HPL03/R03 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1340 | Unknown model | Broadlink |
1341 | TAC490 | Broadlink |
1342 | 10i/15i/inv220a | Broadlink |
1343 | Alpha Series | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1360 | Split Hi Wall Maxiflex | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1380 | Unknown model | Broadlink |
1381 | Unknown model | Broadlink |
1382 | MSY-12HRDN1 (Works also for Kastron AC / Remote RG57A2/BGEF) | Broadlink |
1383 | KFR-35G | Broadlink |
1384 | MSMACU-18HRFN1-QRD0GW | Broadlink |
1385 | R11HG/E | Broadlink |
1386 | KFR-32GW | Broadlink |
1387 | RG70E/BGEF (Remote) | Broadlink |
3380 | MCD-24HRN1-Q1 RAS-10N3KVR-E |
Xiaomi |
3381 | RG70C1/BGEF | Xiaomi |
7386 | KFR-32GW | ESPHome |
Code | Supported Models | Controller |
---|---|---|
1400 | Unknown model | Broadlink |
1401 | AR##HSF/JFS## | Broadlink |
1402 | AR##TSHGAWK | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1420 | KFR-34GW | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1440 | Unknown model | Broadlink |
1441 | TEM-26CHSAAK5 TEM-70CHSAAK5 TEM-26CHSAKA5 TEM-35CHSAKA TEM-50CHSAKA TEM-35CHSABH TEM-35CHSF |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
1460 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1480 | Excellence | Broadlink |
1481 | Excellence (Auto Swing) | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1500 | Unknown | Broadlink |
1501 | SAP-KR124EHEA | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1520 | Unknown | Broadlink |
1521 | Unknown | Broadlink |
1522 | DG11R2-01 (Remote) (Also works for Zephyr ZE-18CA17) | Broadlink |
5520 | AS-07UR4SYDD815G | LOOKin |
Code | Supported Models | Controller |
---|---|---|
1540 | SPIS412L | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1560 | WIND 3P | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1580 | ZH/JT-03 (Remote) | Broadlink |
1581 | ZH/JT-03 (Remote) | Broadlink |
3580 | Unknown | Xiaomi (v2) |
Code | Supported Models | Controller |
---|---|---|
1600 | BEVCA 120 | Broadlink |
1601 | BPAK 120 | Broadlink |
1602 | BXK 120 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1620 | Unknown | Broadlink |
1621 | Super Legend 40 | Broadlink |
1622 | Master-22 X | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1640 | Unknown | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1660 | 08HPN1T1 | Broadlink |
1661 | RC-G25HN | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1680 | SRK25ZJ-S1 SRK13CRV-S1 |
Broadlink |
1681 | SRK71ZK-S | Broadlink |
1682 | SRKM25H SRK40HBE RKS502A502 RKS502A503 |
Broadlink |
1683 | DXK12ZMA-S | Broadlink |
1684 | DXK24ZRA | Broadlink |
1685 | SRK50ZS-S | Broadlink |
1686 | SRK20ZSA-W SRK25ZSA-W SRK35ZSA-W SRK50ZSA-W |
Broadlink |
1687 | SRK35ZJX-S SRK20ZJX-S |
Broadlink |
1688 | SRK25ZSP-W SRK35ZSP-W SRK45ZSP-W |
Broadlink |
1689 | DXK12ZSA-W | Broadlink |
1690 | FDUM VF2 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1700 | EACS/I-HAT/N3 | Broadlink |
1701 | EACS-HA | Broadlink |
1702 | QI/QE09F QI/QE09R QI/QE12F QI/QE12R QI/QE18F QI/QE18R QI/QE22F QI/QE22R XI/XE09F XI/XE09R XI/XE12F XI/XE12R XI/XE18F XI/XE18R XI/XE22F XI/XE22R |
Broadlink |
1703 | EXP26U758CW | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1720 | EC-S07T2 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1740 | KSV25HRG (RG57A6/BGEF Remote) | Broadlink |
7740 | KSV25HWH | ESPHome |
Code | Supported Models | Controller |
---|---|---|
1760 | DS12U-RV (or any using R51M/E remote) | Broadlink |
1761 | DS-9KIDT | Broadlink |
1762 | ASD9KI-DT | Broadlink |
1763 | DOS12KIDB | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1780 | YX1F6 (Remote) | Broadlink |
1781 | YX1F (Remote) | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1800 | YKR-K/002E (Remote) | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1820 | WSI XN RAR-3U4 |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
1840 | KFR-45GW/JNV KFR-45G/JNV |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
1860 | Unknown | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1880 | Unknown | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1900 | TAC-12CHSD/XA21I | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1920 | Unknown | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1940 | Unknown | Broadlink |
1941 | iGo | Broadlink |
1942 | Electra Classic | Broadlink |
1943 | Electra Classic14 | Broadlink |
1944 | Electra Platinum Plus Inverter | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1960 | Unknown | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1980 | Unknown | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2000 | ASO-12IL ASI-12IL |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
2020 | A-IFWHxx-IGX | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2040 | WYS018GMFI17RL WYS009GMFI17RL CB018GMFILCFHD CB012GMFILCFHD |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
2060 | GDPAC12RC | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2080 | SND-18IK | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2100 | Magnum Inverter 19 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2120 | MPAF13A0R5IAA | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2140 | Artify | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2160 | Unknown | Broadlink |
2161 | LNMTE026V2 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2180 | LA09-DUAL H1 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2200 | RAK-12NH RAK-18NH |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
2220 | RG57A4 BGEFU1 |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
2240 | PAC N82ECO PAC AN111 |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
2260 | Unknown | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2280 | A018-12KR2 | Broadlink |
2281 | A016-09KR2/A | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2300 | ZH/TT-02 (Remote) | Broadlink |
2301 | ZACS/I-07 HPF/A17/N1 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2320 | ARC-126MD / ARC-126MDB | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2340 | VOR-12C3/407 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2360 | Unknown | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2380 | Unknown (It also works with Vortex VAI-A1221FFWR (YKR-H/009E remote)) | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2400 | YAM-12KDA AUS-07C53R013L24 |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
2420 | YKR-F06 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2440 | ClimaVair VAI 8-025 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2460 | FanWorld FW6-3000 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2480 | Ukura Maze (Remote control) |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
2500 | DGR11 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2520 | GZ-1002B-E3 (Remote) | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2540 | SP3500 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2560 | MPAC15CY28 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2580 | KSAL2-09DCEH | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2600 | RCH-143 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2620 | Unknown | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2640 | FPR-91DE4-R FPR-121DE4-R FPR-141DE4-R |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
2660 | HSE09PH5V | Broadlink |
2661 | HY6INV | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2680 | AFC-100T | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2700 | RC-M7B1 (Remote) (Swing mode) | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2720 | AXP35U538CW | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2740 | 5000i | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2760 | AC-5400 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2780 | KFR-35G/F3C1 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2800 | HVQI18B2IA | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2820 | EXGC24FCBC1 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2840 | HTWS035IX21D2-R32-I | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2860 | SENA/12HF/IZ | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2880 | LNINVE052 LNINVC052 |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
2900 | MSH123E21AXAA MST183E20ACAA |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
2920 | BSTS18CNE2 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
2940 | SAGA-A-22(CH) | Broadlink |