SmartIR - Control your Climate, TV and Fan devices via IR/RF controllers

Yes, its intergated ok. I will try change the code later.

I found that: all devices using code on file (TV, AC etc…) did not work. Devices make as switches by learnning code still work!

Hi Thang, after updating to HA 115, did you also update smarttir?

From smartir (SmartIR - Control your Climate, TV and Fan devices via IR/RF controllers):
“The component will check for updates each time HA is restarted. When there is a new version, a Persistent Notification will appear.
Use the services smartir.check_updates to manually check for updates and smartir.update_component to start the automatic update.”

2 Likes

Wow, I did not do yet. Will do now. Thank a lots.
p/s: It work now after update the SmartIR. Thank all.

Yes, it was on!

A different kind of fan.

I have two fans here in Thailand from Hatari.

They are controlled like this:

  • On Button: Turns on the fan if it was off, or if it was already on it changes speeds in a circle - slow, medium, fast, slow, medium, fast, etc.
  • Off Button

It appears SmartIR is not built to handle this style of speed control because I’m only seeing an on/off slider for it on the desktop.

I have learned the codes from the remote and put them in the directory. When I click the slider to on, it goes to the next speed in the cycle. When I click the slider to off, I get an error that off doesn’t exist. I’m sure I’m doing this wrong. :^)

Does anyone have a suggestion of how to configure this type of fan control with the existing SmartIR or another Integration or if I should try to make a new integration to handle it.

Thanks!

FYI - I was wondering why the remotes were working fine after 115 update, but stopped working a few days ago. I found that they were in off state under Developer Tools / States. Once enabled, they are working fine again.

1 Like

Hi! I have a problem configuring a rm4 mini to pilot a clima. I use smartIR and have 3 broadlink: one rm4 pro and 2 rm4 mini, all of then to control the same model of Fujitsu clima. The problem is that one of the rm4 mini does not work. When i launch a command via lovelace climate entity, the led of the rm4 mini blinks but the clima does not start. So i think the integration is correct.
I have thought the rm4 mini was broken so i have tried to install it on the android Broadlink app; by the app i can use the clima so the rm4 mini is ok. After the test i deleted the remote in the broadlink app and reset the device to connect it again to the wifi.
This is the smartIR configuration and the integration of that rm4 mini.
The one highlighted is not working.
Someone can help me? (sorry for my english)



Check it at Developer Tools, States.


It is on like the others

mine is OFF in state, but when i set ON it stays ON until i refresh, revers to OFF
keeps turning OFF

Try delete the integration and add new

Hey @Vassilis,

Thank you for creating this component. I really appreciate it.
I’ve run into a problem and I’m hoping you have answers.

I have an LG AirCon with a generic universal remote which works great.
I have a broadlink rm3 mini.

  1. When I turn on/off the AC via the physical remote control the state is not updated in HA
  2. When I turn on/off the AC via Broadlink Remote App the state is not updated in HA

I’m using a Broadlink smart plug with the AC which I use to monitor the power state (on/off)

Does the component support the above use case? Any pointers on how to get this done?

Here’s my config

smartir:

climate:
  - platform: smartir
    name: Office AC
    unique_id: office_actest
    device_code: 1060
    controller_data: remote.broadlink_ir_remote
    temperature_sensor: sensor.aqara_office_temperature
    humidity_sensor: sensor.aqara_office_humidity
    power_sensor: binary_sensor.officeac
    
binary_sensor:      
  - platform: template
    sensors:
      officeac:
        friendly_name: "Office AC"
        value_template: >-
          {% if is_state('switch.office_ac_plug_switch', 'off') %}
            off
          {% elif is_state('switch.office_ac_plug_switch', 'on') %}
            on
          {% else %}
            failed
          {% endif %}

If you have set the rm3 mini with the broadlink app it doesn’t work with the broadlink integration of HA and, of course, neither with SmartIr. So the power_sensor of SmartIr doesn’t work.
You have to delete the remote on the broadlink app, reset the rm3 mini, initialize the rm3 mini again with the app but only to connect it to the wifi, then stop the process.
Of course you can controll the AC only via HA

There are big news, the problem is fixed but i don’t know why.
Among the things i tried finaly i have commented the unique_id like the screen below


Looking at the entities i find a new one: The same name “Clima Vittoria” with entity_id “climate.clima_vittoria_2” of an integration named “Thermostat” in english. This entity is not manageble.

Well, setting this entity in lovelace like a thermostat it can now drive the AC AirCon.
Therefore I think SmartIr wrongly create two climate entity, conflicting until there is an unique_id. I am pretty sure of this because:

  1. as you can see in the screen of the configuration.yaml there is only one “Clima Vittoria” under “Climate”;
  2. the second entity can command the AC so it uses the SmartIr codes.
    Of the two climate entities only the second one is working. The first one, indicated by HA like a SmartIr integration still doesn’t work.
    If i would clean the installation, how can i remove the double entity?

Thank you. My automations were not working and the reason was the Off state. Changed to On its all working fine now. Thank you.

Hi all.

Any option to transform Broadlink codes to ESPHome RAW? I’m searching for 1286.json codes to use with an ESP32.

Best regards
danimart1991

/config/custom_components/smartir/codes/climate/1281.json
this is the route in my Hassio installation

Hi there, sorry for bumping this topic and my english is not good

Can I create my own climate.json and how this component can understand my own file ?

Some codes on github dont have my Daikin AC model

Hi! Anyone configured this with TasmotaIR?

I’m trying to do this but no luck :frowning:

I opened a question on IoT channel on StackExchange:

https://iot.stackexchange.com/q/5318/11725