Create a new folder into the Home Assistant's custom_components
folder and name it smartir
. Copy climate.py
into the smartir
folder. Create the subfolders codes/climate
into the smartir
folder and copy the code file for your AC device.
name (Optional): Name to use in the frontend
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) is currently supported.
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)
switch:
- platform: broadlink
host: 192.168.10.10
mac: '00:00:00:00:00:00'
climate:
- platform: smartir
name: 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
ToDo... I'm developing a windows tool to easily create your code files. Please be patient!
To convert your old INI files, please download the SmartIR INI Converter app (only for windows) from the Tools folder.
- Make sure you've the custom_updater component installed and working.
- Add a new reference under
component_urls
in yourcustom_updater
configuration inconfiguration.yaml
.
custom_updater:
component_urls:
- https://raw.githubusercontent.com/smartHomeHub/SmartIR/master/custom_components.json
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.
Code | Supported Models | Controller |
---|---|---|
1000 | AKIRA GAN/GAG-A128 VL | Broadlink |
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 |
Code | Supported Models | Controller |
---|---|---|
1040 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1060 | R09AWN R24AWN E09EK |
Broadlink |
1061 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1080 | Unknown model | Broadlink |
1081 | RAS-10EH3 | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1100 | Unknown model | Broadlink |
1101 | FTXS20LVMA FTXS25LVMA FTXS35LVMA FTXS46LVMA FTXS50LVMA FTXS60LVMA FTXS71LVMA FTXS85LVMA FTXS95LVMA |
Broadlink |
Code | Supported Models | Controller |
---|---|---|
1120 | MSZ-GL25VGD MSZ-GL35VGD MSZ-GL42VGD MSZ-GL50VG MSZ-GL60VGD MSZ-GL71VGD MSZ-GL80VGD |
Broadlink |
1121 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1140 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1160 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1180 | Unknown model | Broadlink |
1181 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1200 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1220 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1240 | Unknown model | 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 |
Code | Supported Models | Controller |
---|---|---|
1280 | AR-RBE1E | Broadlink |
1281 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1300 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1320 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1340 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1360 | Split Hi Wall Maxiflex | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1380 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1400 | Unknown model | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1420 | KFR-34GW | Broadlink |
Code | Supported Models | Controller |
---|---|---|
1440 | Unknown model | Broadlink |