meta data for this page

SmartIR climate control

SmartIR do not perform any logic or automation! It only show sensor and let you to send IR codes.

Setting desired temperature on widget circle gauge doesn't sent any IR code. After temperature set you have to click mode icon “Cool” to sent cooling code for given temperature.

“Swing” mode is not supported at all. And there will be no support (because it will multiply all existing modes by swing modes).

NOTE:

  • power_sensor must be binary sensor to report back if AC is running (i.e. by power measure). It should report ON when device is only ON (even if AC compressor is not running because set temperature was reached).

Air Conditioner

IT code set is needed. Find it here: https://github.com/smartHomeHub/SmartIR/blob/master/docs/CLIMATE.md

yaml
climate:
  - platform: smartir
    name: Air Conditioner
    unique_id: serwerownia_ac
    device_code: 7260
    controller_data: irblaster_send_raw_command
#    temperature_sensor: sensor.salon_temperature
#    humidity_sensor: sensor.salon_humidity
#    power_sensor: binary_sensor.salon_air_conditioner

Custom IR codes

Create own code set by scanning IR remote. Check ESPHome logs for raw data like:

[14:40:21][D][remote.samsung:055]: Received Samsung: data=0xB24D6B94
[14:40:23][D][remote.raw:041]: Received Raw: 217
[14:40:23][D][remote.raw:041]: Received Raw: 118

Then create own code file with all patterns.

The raw code to send as a list of integers. Positive numbers represent a digital high signal and negative numbers a digital low signal. The number itself encodes how long the signal should last (in microseconds).

json
...
  "commands": {
    "off": "[4449, -4311, 621, -1575, 599, -1574, 597, -1575, 599, -1575, 598, -489, 597, -489, 598, -1575, 598, -488, 599, -487, 599, -488, 598, -488, 598, -489, 598, -1574, 599, -1574, 599, -488, 599, -1574, 597, -464, 623, -489, 598, -488, 598, -463, 624, -488, 598, -488, 598, -1575, 598, -1551, 623, -1573, 599, -1574, 599, -1574, 599, -1575, 598, -1575, 597, -1576, 598, -489, 597, -488, 598, -462, 625, -489, 598, -488, 598, -489, 597, -489, 598, -488, 599, -488, 598, -1574, 599, -1575, 597, -489, 598, -1575, 598, -488, 598, -489, 598, -462, 624, -489, 598, -488, 597, -491, 596, -1575, 599, -488, 597, -489, 598, -489, 598, -1574, 598, -1575, 599, -1575, 597, -489, 598, -488, 598, -489, 598, -488, 598, -489, 597, -489, 598, -489, 598, -488, 598, -1574, 599, -1575, 598, -1575, 597, -490, 597, -489, 598, -1574, 599, -1574, 599, -488, 597, -7429, 4480, -4308, 624, -1550, 623, -1574, 599, -1548, 625, -1575, 598, -488, 598, -489, 598, -1574, 599, -488, 598, -488, 598, -489, 598, -488, 598, -488, 598, -1576, 598, -1574, 599, -488, 598, -1575, 598, -489, 598, -488, 599, -487, 598, -489, 597, -489, 599, -488, 597, -1576, 598, -1574, 598, -1575, 599, -1574, 599, -1573, 599, -1575, 599, -1548, 624, -1550, 623, -488, 599, -488, 598, -489, 597, -489, 598, -488, 599, -487, 599, -488, 598, -488, 599, -488, 599, -1574, 599, -1574, 598, -489, 598, -1574, 599, -488, 598, -488, 599, -488, 598, -488, 598, -489, 598, -489, 597, -1574, 599, -488, 599, -488, 598, -488, 598, -1575, 598, -1575, 598, -1575]",
    "heat": {
      "auto": {
        "17": "[4476, -4306, 625, -1574, 600, -1573, 599, -1573, 600, -1578, 594, -491, 595, -488, 599, -1574, 598, -488, 599, -489, 597, -488, 598, -488, 599, -489, 597, -1575, 598, -1574, 599, -488, 598, -1575, 598, -488, 598, -488, 598, -488, 602, -458, 629, -483, 601, -486, 599, -1573, 603, -1569, 600, -1574, 598, -1574, 599, -1576, 597, -1573, 600, -1574, 601, -1571, 602, -485, 598, -488, 601, -486, 598, -489, 597, -488, 599, -462, 624, -488, 598, -488, 599, -488, 598, -1574, 599, -487, 599, -489, 597, -489, 599, -487, 598, -488, 599, -462, 623, -489, 598, -488, 601, -486, 598, -488, 598, -491, 597, -487, 600, -485, 599, -488, 599, -1574, 598, -1574, 599, -488, 598, -488, 598, -488, 599, -488, 598, -464, 622, -488, 599, -488, 598, -489, 598, -487, 600, -486, 601, -486, 599, -488, 599, -486, 601, -486, 602, -1570, 599, -489, 598, -7452, 4455, -4309, 625, -1576, 594, -1574, 599, -1573, 599, -1549, 623, -489, 598, -489, 598, -1574, 599, -489, 596, -491, 597, -487, 598, -488, 599, -488, 597, -1576, 598, -1573, 600, -488, 598, -1574, 601, -485, 600, -487, 598, -488, 599, -461, 624, -489, 598, -492, 596, -1552, 620, -1575, 597, -1574, 599, -1573, 599, -1574, 600, -1573, 599, -1573, 599, -1575, 598, -490, 596, -488, 598, -493, 594, -488, 598, -488, 598, -488, 599, -488, 602, -488, 595, -490, 596, -1576, 597, -488, 598, -488, 598, -488, 599, -488, 598, -488, 598, -489, 598, -488, 598, -487, 600, -488, 597, -489, 598, -464, 627, -484, 598, -488, 599, -488, 598, -1574, 599, -1574, 602, -488]",
        "18": "[4474, -4333, 599, -1575, 597, -1576, 598, -1575, 597, -1575, 597, -490, 596, -491, 596, -1576, 596, -492, 595, -489, 598, -490, 597, -489, 597, -493, 593, -1550, 622, -1575, 598, -490, 600, -1575, 594, -490, 596, -490, 597, -489, 597, -489, 597, -492, 595, -489, 597, -1575, 598, -1575, 597, -1575, 599, -1574, 597, -1576, 597, -1578, 596, -1575, 599, -1573, 598, -489, 597, -489, 601, -485, 598, -493, 593, -489, 598, -489, 597, -489, 597, -489, 598, -488, 598, -1550, 623, -488, 598, -489, 597, -490, 597, -1575, 597, -489, 598, -492, 594, -488, 599, -488, 598, -488, 598, -493, 595, -487, 598, -488, 599, -488, 598, -488, 598, -1574, 598, -1575, 599, -488, 598, -489, 597, -489, 597, -488, 599, -488, 601, -485, 598, -489, 598, -488, 598, -493, 593, -488, 599, -491, 595, -1575, 598, -488, 599, -488, 600, -1576, 594, -490, 597, -7427, 4480, -4332, 602, -1573, 596, -1576, 598, -1575, 597, -1575, 598, -488, 598, -489, 599, -1573, 598, -489, 598, -488, 597, -490, 597, -489, 597, -489, 598, -1574, 599, -1575, 599, -488, 597, -1577, 595, -489, 599, -487, 598, -488, 599, -488, 597, -489, 598, -488, 599, -1547, 625, -1576, 597, -1574, 599, -1574, 598, -1574, 599, -1576, 597, -1574, 599, -1573, 599, -491, 595, -489, 598, -489, 597, -489, 597, -489, 598, -488, 599, -488, 601, -485, 598, -488, 598, -1574, 598, -490, 597, -464, 626, -485, 598, -1575, 598, -488, 598, -491, 595, -489, 598, -489, 597, -488, 598, -464, 623, -488, 598, -489, 597, -489, 598, -489, 598, -1573, 599, -1575, 597, -489]",
...