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

I have provided my config here as an example.

You should also be able to find broadlink.send in your services section in the developer tools on the bottom left of the home assistant menu.

I would also suggest checking for updates using the service: smartir.check_updates

Hi guys, I think the problem is my broadlink, i went to store and exchange for another broadlink and it works fine now. Iā€™m able to see the broadlink.send and successfull using smartir to control my tv. But now how can i lear command? I used call service ā€œbroadlink.learnā€ with data:
{
ā€œhostā€: ā€œ192.168.1.28ā€
}
and get this error:
ERROR (MainThread) [homeassistant.components.broadlink] Failed to connect to device

am i doing wrong?
@aidbish @brent0np

Try the Broadlink Manager, it works fine, and itā€™s so simple.

  • open BM
  • scan for device
  • switch to learning mode
  • scan
  • save the data and copy & paste the Base64 code to HA.

Another question: How can I send ā€œcustom learnedā€ commands via SmartIR? For example the up/down/left/right arrowsā€¦

This only support windows platform. Iā€™m using mac OS

I have problems using alexa to turn on my AC using Alexa as well. The climate.living_room entity is exposed to emulated hue. I can see the entity in the Alexa devices list. But cannot get Alexa to turn it on, off or to change the temperature. I cannot find any error in the homeassistant.log as well.

This was working a couple of versions back but not in 1.39 and 1.41.

Does this work with the Global Cache iTach series of IR transmitters?

@echopage can you help us sharing your scripts?

I donā€™t get itā€¦ I see

smartHomeHub/SmartIR

Home Assistant component to control Climate, TV and Fan devices via Broadlink, Xiaomi and MQTT IR/RF controllers - smartHomeHub/SmartIR

Thereā€™s Xiaomi mentioned but I donā€™t see any docs about Xiaomi IR >Blster. Could someone slight me here plese as I would love using this smartIR for my Xiaomi IR Blaster :confused:

canale_5_cucina:
  alias: Canale 5 Cucina
  sequence:
  - data:
      entity_id: media_player.tv_cucina
      source: "Canale 5"
    service: media_player.select_source
1 Like

Is there anyone with a DIY ESP8266 IR blaster?

I think youā€™ll need this component set:

And then utilize the service provided by the Xiaomi IR component in the controller data field:
REMOTE.SEND_COMMAND

hey would love to know how you got it working with mqtt?

I am mid-way through setting my DIY ESP8266 mqtt IR remote.

Also, I have an IR receiver on it, are you able to change state in Home assistant via mqtt state topic or something?

Thanks

Would be nice having an example for this maybe the dev could point me to the right direction?

https://github.com/smartHomeHub/SmartIR/blob/master/smartir/controller.py#L34

Not supported yet But unfortunately no info when or if it will be supported or not :confused:

Hi,
I donā€™t have Windows, so could someone convert my Climate condes from INI to json
mitsubishi_heavi_srk35zs_s.ini

Please see the comment in your link

1 Like

Iā€™ve put an example config (the one I use) on my github (in the fork) just look for the changed/added files, should point you in the right direction :slight_smile: https://github.com/hutchinsane/SmartIR

1 Like

Hi guys,

Just need some help. I am using a 5 year old hisense TV and very frustratingly there are no single buttons to access the AV.

I have put in the multiple key presses into the IR file to get to the correct AV and it works, but not all the time. The issue is that due to the rapid succession of key presses it is unable to keep up. What code do you put in between the key presses to add a short delay?

Can I use broadlink mini for climate component? Or I need rm pro?