For this platform to work, we need a .json file containing all the necessary IR commands.
- If you previously used the Broadlink IR Climate component you should use this tool to convert your old INI files. If you have uploaded your old INI files on GitHub, I have already converted them. Find your device's brand code here and add the number in the
device_code field. The compoenent will download it to the correct folder.
- For new users, 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 devicecode field only accepts positive numbers. The .json extension is not required.
Configuration variables:
name (Optional): The name of the device
unique_id (Optional): An ID that uniquely identifies this device. If two devices have the same unique ID, Home Assistant will raise an exception.
device_code (Required): .... (Accepts only positive numbers)
controller_send_service (Required): The service that will be used to send the commands. Only broadlink_send_packet (Broadlink controller) and mqtt.publish is currently supported.
controller_command_topic (Optional): MQTT topic on which to send commands when controller_send_service is mqtt.publish
temperature_sensor (Optional): entity_id for a temperature sensor
humidity_sensor (Optional): entity_id for a humidity sensor
power_sensor (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)
Example (using broadlink controller):
smartir:
switch:
- platform: broadlink
host: 192.168.10.10
mac: '00:00:00:00:00:00'
climate:
- platform: smartir
name: Office AC
unique_id: office_ac
device_code: 1000
controller_send_service: switch.broadlink_send_packet_192_168_10_10
temperature_sensor: sensor.temperature
humidity_sensor: sensor.humidity
power_sensor: binary_sensor.ac_power
Make sure the broadlink switch is already installed. Go to the Home Assistant UI/dev service, find the broadlink send_packet service and copy the name of it.
Add the name of the send_packet service to the controller_send_service field.
Example (using mqtt controller):
smartir:
climate:
- platform: smartir
name: Office AC
unique_id: office_ac
device_code: 2000
controller_send_service: mqtt.publish
controller_command_topic: home-assistant/office-ac/command
temperature_sensor: sensor.temperature
humidity_sensor: sensor.humidity
power_sensor: binary_sensor.ac_power
Available codes for climate devices:
Below are the code files created by the 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.
Toyotomi
| Code |
Supported Models |
Controller |
| 1000 |
AKIRA GAN/GAG-A128 VL |
Broadlink |
Panasonic
| Code |
Supported Models |
Controller |
| 1020 |
CS-CE7HKEW CS-CE9HKEW CS-CE12HKEW |
Broadlink |
| 1021 |
CS-RE9GKE CS-RE12GKE |
Broadlink |
| 1022 |
CS-Z25TK |
Broadlink |
| 1023 |
CS-HE9JKE CS-HE12JKE |
Broadlink |
General Electric
| Code |
Supported Models |
Controller |
| 1040 |
Unknown model |
Broadlink |
LG
| Code |
Supported Models |
Controller |
| 1060 |
R09AWN R24AWN E09EK |
Broadlink |
| 1061 |
Unknown model |
Broadlink |
| 1062 |
LG InverterV P12RK |
Broadlink |
Hitachi
| Code |
Supported Models |
Controller |
| 1080 |
Unknown model |
Broadlink |
| 1081 |
RAS-10EH3 |
Broadlink |
Daikin
| Code |
Supported Models |
Controller |
| 1100 |
Unknown model |
Broadlink |
| 1101 |
FTXS20LVMA FTXS25LVMA FTXS35LVMA FTXS46LVMA FTXS50LVMA FTXS60LVMA FTXS71LVMA FTXS85LVMA FTXS95LVMA |
Broadlink |
Mitsubishi Electric
| Code |
Supported Models |
Controller |
| 1120 |
MSZ-GL25VGD MSZ-GL35VGD MSZ-GL42VGD MSZ-GL50VG MSZ-GL60VGD MSZ-GL71VGD MSZ-GL80VGD |
Broadlink |
| 1121 |
MSZ-GA35VA |
Broadlink |
Actron
| Code |
Supported Models |
Controller |
| 1140 |
Unknown model |
Broadlink |
Carrier
| Code |
Supported Models |
Controller |
| 1160 |
Unknown model |
Broadlink |
Gree
| Code |
Supported Models |
Controller |
| 1180 |
Unknown model |
Broadlink |
| 1181 |
Unknown model |
Broadlink |
Tosot
| Code |
Supported Models |
Controller |
| 1200 |
Unknown model |
Broadlink |
Sungold
| Code |
Supported Models |
Controller |
| 1220 |
Unknown model |
Broadlink |
Consul
| Code |
Supported Models |
Controller |
| 1240 |
Unknown model |
Broadlink |
Toshiba
| 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 |
Fujitsu
| Code |
Supported Models |
Controller |
| 1280 |
AR-RBE1E (Remote control) |
Broadlink |
| 1281 |
AR-RAE1/AR-RAE1E |
Broadlink |
| 1282 |
AR-JW11 (Remote control) |
Broadlink |
| 1283 |
AR-AB5 (Remote control) |
Broadlink |
Sharp
| Code |
Supported Models |
Controller |
| 1300 |
AY-B22DM |
Broadlink |
Haier
| Code |
Supported Models |
Controller |
| 1320 |
Unknown model |
Broadlink |
Tadiran
| Code |
Supported Models |
Controller |
| 1340 |
Unknown model |
Broadlink |
Springer
| Code |
Supported Models |
Controller |
| 1360 |
Split Hi Wall Maxiflex |
Broadlink |
Midea
| Code |
Supported Models |
Controller |
| 1380 |
Unknown model |
Broadlink |
| 1381 |
Unknown model |
Broadlink |
Samsung
| Code |
Supported Models |
Controller |
| 1400 |
Unknown model |
Broadlink |
| 1401 |
AR##HSF/JFS## |
Broadlink |
Sintech
| Code |
Supported Models |
Controller |
| 1420 |
KFR-34GW |
Broadlink |
Akai
| Code |
Supported Models |
Controller |
| 1440 |
Unknown model |
Broadlink |
Alliance
| Code |
Supported Models |
Controller |
| 1460 |
Unknown model |
Broadlink |
Junkers
| Code |
Supported Models |
Controller |
| 1480 |
Excellence |
Broadlink |
Sanyo
| Code |
Supported Models |
Controller |
| 1500 |
Unknown |
Broadlink |
Hisense
| Code |
Supported Models |
Controller |
| 1520 |
Unknown |
Broadlink |
| 1521 |
Unknown |
Broadlink |
Whirlpool
| Code |
Supported Models |
Controller |
| 1540 |
SPIS412L |
Broadlink |
Tadiran
| Code |
Supported Models |
Controller |
| 1560 |
WIND 3P |
Broadlink |
Chigo
| Code |
Supported Models |
Controller |
| 1580 |
Unknown |
Broadlink |
Beko
| Code |
Supported Models |
Controller |
| 1600 |
BEVCA 120 |
Broadlink |
Tornado
| Code |
Supported Models |
Controller |
| 1620 |
Unknown |
Broadlink |
Fujiko
| Code |
Supported Models |
Controller |
| 1640 |
Unknown |
Broadlink |
Royal
| Code |
Supported Models |
Controller |
| 1660 |
08HPN1T1 |
Broadlink |