AR Smart IR – Modern IR Control for Home Assistant (No YAML Required)

Please select the remote and let me know?

Hi, Can you try v1.7.1

first off thanks for this it has helped me get 2 of my 4 AC units working in HA.
The issue i’m having is i’m trying to learn one of my units via the remote i go through the process and looking at the code in the end it’s all in one line. this what i’m getting.
“manufacturer”: “Kelvinator”,
“supportedModels”: [
“26hra”
],
“supportedController”: “Broadlink”,
“commandsEncoding”: “Base64”,
“minTemperature”: 24,
“maxTemperature”: 24,
“precision”: 1,
“operationModes”: [
“cool”
],
“fanModes”: [
“toggle”
],
“swingModes”: [
“toggle”
],
“commands”: {
“off”: “JgDKAI2REDYQFBA2EDcPFQ8VDzcPFQ8VDzcQFA8VDzcQNhAUEDYQFBA2EDYQNw83EBQPNxA2EDYQFBAUEBQQFBA2EBQQFBA2EDcPNw8VDxUPFQ8VDxQQFBAUEBQQNw83DzcQNhA2EK2NkRA2EBQQNhA3DxUPFQ83DxUPFQ83DxUPFQ83EDYQFBA2EBQQNhA2EDcPNxAUDzcQNhA2EBQQFBAUEBQQNhAUEBQQNhA2EDcPFQ8VDxUPFBAUEBQQFBAUEDYQNw83EDYQNhAADQU=”
}

Hi, did you try GitHub - marsh4200/ar_smart_ir_builder: AR Smart IR Builder · GitHub

yes that is what i’m using.
I also did the update today hoping it would work

Hi, no, same result :
Failed to perform the action fan.turn_on. Unknown error

I used your new codeset import inbox and worked perfect. Thx.

I keep adding questions but.. why hacs does not report there’s an update on this integration? … I have to check and redownload manually.

hello…first of all thank you for your amazing work. I try to add my Sharp AC (climate) to AR Smart IR but after selecting SHARP as manufacture, it only show one type/code (7300) in the model/code selection. I want to add code 1301 and i checked this json file is exist in /homeassistant/custom_components/ar_smart_ir/codes/climate/

I’m using S09-CB3S IR blaster connected using Tuya Local integration. Any suggestion?

1 Like

Hi there! Thank you Please don’t select SHARP . Instead, select sharp (the one written in lowercase).

that’s it…thank you!!

another question…for power sensor to detect if my ac is on or off i create binary sensor template based on power usage of the AC power socket. but my climate card not change to off state when the binary sensor state is off..do you have better solution or suggestion for this power sensor?

Hi, I noticed the same issue. I just created 2 Automations to keep it in sync:

alias: Airco - MB Climate turned On  (Sync the Switch)
description: ""
triggers:
  - trigger: state
    entity_id:
      - climate.smartir_climate_mb
    from:
      - "off"
conditions: []
actions:
  - action: input_boolean.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.ac_mb
mode: single

and

alias: Airco - MB Climate Turned Off (Sync the Switch)
description: ""
triggers:
  - trigger: state
    entity_id:
      - climate.smartir_climate_mb
    to:
      - "off"
conditions: []
actions:
  - action: input_boolean.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.ac_mb
mode: single

That does the trick for me.

you can try v1.7.3

You can try v1.7.3

I upgraded to the last version, same error with turn on.

action: fan.turn_on
data:
  percentage: 33
target:
  entity_id: fan.smartir_sankey_fan

Here is the log:

Logger: homeassistant.helpers.script.websocket_api_script
Source: helpers/script.py:540
First occurred: 09:22:20 (3 occurrences)
Last logged: 09:22:36

websocket_api script: Error executing script. Unexpected error for call_service at pos 1: SmartIRFan.async_turn_on() takes from 1 to 2 positional arguments but 3 were given
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 540, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1037, in _async_step_call_service
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 650, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2900, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2943, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 949, in entity_service_call
    response_data = await _async_handle_entity_calls(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 828, in _async_handle_entity_calls
    single_result = await entity.async_request_call(_with_context(entity, coro))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1708, in async_request_call
    return await coro
           ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 823, in _with_context
    return await coro
           ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 907, in _handle_single_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 315, in async_handle_turn_on_service
    await self.async_turn_on(percentage, preset_mode, **kwargs)
          ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: SmartIRFan.async_turn_on() takes from 1 to 2 positional arguments but 3 were given
1 Like

ok and v1.7.4 ?

Bingo. It’s working now. You are the best!. Thanks a lot

1 Like

This repository has been archived .

Thank you for all the improvements over the original!

Here’s hoping for a fork.

3 Likes

Yes, thanks a lot, it’s sad, it works easier and cleaner that HAIR does.

1 Like

Unfortunately, due to HAIR posting in my GitHub issues and now adopting the IR code set, I’ve decided to archive the repository.

I appreciate everyone who contributed and supported the project. Going forward, I hope Mr. DAB-LABS REPO can provide further assistance

1 Like

Understand. I get the future of the integration for IR and RF is going to be that way, but I really like the way this project handle things. Specially for Broadlink users that don’t work with the PRONTO protocol. Thanks again for your assistance.