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

thanks!,it works

Hi I’m new to this component and I’m trying to let it work.

I’ve a 2006 Daikin a/c and I tryed the 1100 code. With this code I can turn on and off the a/c, and even control the fan, but I don’t get to change temperature.

So I decided to set my own codes using the web app of Keite Tráș§n as suggested, but I think right now it doesn’t work since HA changed to broadlink.learn service.

Anyway I got my codes from Broadlink Manager but here is what I don’t understand.
The json configuration wants a code for “off” and codes for every temperature for every fan mode/operation mode, but there is no code for “on”. How is it possible? What I have to do?

Thanks for any help.

Hi, I want to thank you guys this is working great for my AC control.

My question is I need to make some automations to do a schedule to turn on my various AC units based on humidity when I am away from the home. I wanted to use NodeRed but I can’t figure out how to call the component, can anyone help me with this?

I don’t use an ON code, the a/c turns on when i set a mode like cool, auto or heat. The OFF code I do use to shut the machine off (Fujitsu)

I have changed from the previous IR component (I renamed it mediaIR and made it work with .88+). I have created the json file for my bluray player (LG BD620), I post it at the end, it’s not the latest model but it might work with newer models.

I have just one question : how does the media player change its status to on when device starts ?

See my 2 configs, with previous version and current smartIR :

  - platform: mediair
    name: Bluray Salon
    host: !secret rmpro_host
    mac: !secret rmpro_mac
    ircodes_ini: 'ir_codes/lg.ini'
    ping_host: !secret lgbd_host

  - platform: smartir
    name: Bluray Salon
    unique_id: Bluray_Salon
    device_code: 1041
    controller_data: !secret rmpro_host

The media player is hidden when it’s off. I can still turn the device on with a switch (from RM Pro) displayed. With states UI, it looks like that when off :
image

See here that the Bluray is on, so it should display the media player instead. But it doesn’t. I wish I don’t have to add a ping switch, I have the device_tracker but status is home/not_home, will it work ?

{
    "manufacturer": "LG",
    "supportedModels": [
      "BD620"
    ],
    "supportedController": "Broadlink",
    "commandsEncoding": "Base64",
    "commands": {
        "off": "JgBUAJOSEjcSEhI3EjcSEhI3EhMSEhI3EhISNxI3EhMSNxISEhISExISEhISExI3EjcSEhISEjcSNxI3EjcSEhISEjcSNxIABbSTkhISEgAMb5OSEhISkg0FAAA=",
        "on": "JgBUAJOSEjcSEhI3EjcSEhI3EhMSEhI3EhISNxI3EhMSNxISEhISNxISEhMSEhI3EjcSEhITEhISNxI3EjcSEhISEjcSNxIABbSTkhISEgAMb5OSEhISkg0FAAA=",
        "previousChannel": "JgBUAJOSEjcSExI3EjcSExI3EhMSExI3EhMSNxI3EhMSNxITEhISNxISEhISNxI3EhISNxISEhISNxI3EhMSExI3EhISNxIABbWTkhISEgAMcJOSEhISkg0FAAA=",
        "nextChannel": "JgBUAJOSEjcSEhI3EjcSEhI3EhISExI3EhMSNxI3EhMSNxITEhISEhI3EhISNxI3EhISNxISEjcSExI3EhMSEhI3EhISNxIABbWTkhISEgAMcJOSEhISkg0FAAA=",
        "volumeDown": "JgBUAJOSEjcSEhI3EjcSEhI3EhISEhI3EhMSNxI3EhISNxITEhMSEhISEhISNxITEhMSNxITEjcSNxI3EhMSNxI3EhMSNxIABbWTkhISEgAMcJOSEhISkg0FAAA=",
        "volumeUp": "JgBUAJOSEjcSExI3EjcSExI3EhMSEhI3EhISNxI3EhISNxISEhISNxI3EjcSEhISEhISNxISEhMSEhISEjcSNxI3EhMSNxIABbWTkhISEgAMcJOSEhMSkg0FAAA=",
        "mute": "JgBUAJOSEjcSEhI3EjcSEhI3EhISExI3EhISNxI3EhISNxISEhMSNxISEhISNxI3EjcSEhITEhISNxI3EhISEhITEjcSNxIABbWTkhISEgAMb5OSEhMSkg0FAAA=",
        "play": "JgBUAJOSEjcSEhI3EjcSEhI3EhMSEhI3EhISNxI3EhMSNxISEhISNxISEhMSEhI3EjcSEhITEhISNxI3EjcSEhISEjcSNxIABbSTkhISEgAMb5OSEhISkg0FAAA=",
        "pause": "JgBUAJOSEjcSExI3EjcSExI3EhISEhI3EhISNxI3EhISNxITEhISEhISEhMSNxI3EjcSExISEjcSNxI3EhISEhITEjcSNxIABbWTkhISEgAMb5OSEhISkg0FAAA=",
        "sources": {
            "enter": "JgBUAJOSEjcSEhI3EjcSEhI3EhISEhI3EhMSNxI3EhMSNxITEhISEhISEhMSNxI3EhISNxISEjcSNxI3EhISEhI3EhISNxIABbWTkhISEgAMcJOSEhISkg0FAAA=",
            "eject": "JgBUAJOSEjcSExI3EjcSExI3EhISEhI3EhISNxI3EhISNxITEhISEhI3EjcSEhI3EjcSExISEjcSEhISEjcSExISEjcSNxIABbWTkhITEgAMb5OSEhMSkg0FAAA=",
            "home": "JgBMAJOSEjcSEhI3EjcSEhI3EhMSEhI3EhISNxI3EhISNxITEhISNxI3EjcSEhISEjcSNxISEhISEhISEjcSNxISEhISNxIABbWTkhISEpINBQAAAAAAAAAAAAA=",
            "options": "JgBUAJOSEjcSEhI3EjcSEhI3EhMSEhI3EhISNxI3EhISNxISEhMSEhI3EhISNxISEhMSNxITEjcSEhI3EhISNxI3EhISNxIABbWTkhISEgAMcJOSEhISkg0FAAA="
        }
    }
}

Is the smartir component currently working with the latest h.a. version? my heart pump has gone missing from home assistant.

Edit: my bad I changed from Lovelace to the old States page and that is why it was missing.

I added the ping binary sensor and it works with it.

I still have some questions :

  • I don’t see a play/pause button event if I have set a play and a pause action in the json file. Looks from the code that the component never adds the play/pause support ?
  • The details won’t open when I click on the media_player’s menu.

Hello.
I added an “Unknown” LG air con to my Hassio. The ON function is not working (everything else works ) and thus I obtained the code for ON function from broadlink.learn service. Then I edited the JSON file 1160 and added an “on”: code.
But still the ON function is not working.
I then added the ON code as a switch (outside of smartIR) and it works.
What am I doing incorrect in the JSON file.
Please guide. Thank you.

Dear one small request for onkyo receiver
I have onkyo receiver TX-SR508.
My remote is dead and broken.
If someone can upload ircodes for me.
Thanks

Have you found at least the pronto codes for your device?

Try these, they are what I use for my Onkyo TX-SR701. Obviously there are plenty more on the remote but these are the only ones that I have needed for this component so far. I changed the description of the ‘CD’ input to ‘Chromecast Audio’ for my needs but left it standard for you here.

@Vassilis Please help!

smartir not working on hassio 0.93
 help me

Please open an issue on GitHub.

Working for me on 0.93.2

working for me @0.93.2
check your Broadlink device setup for ip/mac mismatch
:laughing:

Anyone succeeded in adding ac unit to Homekit using climate entities from SmartIR component?
now i can see climate entity(which is my ac unit) ,but cannot toggle ,neither is it showing any status.

Dear,
Can you please provide me all butons ir codes,
as i want to set all buttons to use from my ir blaster.
Thanks in advance.

No problem. I’m away at the moment but can do it when I get back next week.

Maybe send me a reminder as I’ll probably forget!

no problem dear.
Will remind you after a week.
Thanks for your help.