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

Thanks for responses,
With the help of @venkattetali and @Vassilis i found solutions
I have already fix the communication problem.
My AC is compatible with the device_code: 1381
and my Samsung tv is compatible with device_code: 1060

Also ill ordered esp8266 ,receiver and transmitter to manage my current state of my AC
i think that the Blitzwolf BW-RC1 and BlitzWolf BW-RC1 Smart IR Controller IR Bridge does the same job with extra cost but less work

Hey guys,

I have a fujitsu ASTG09KMCA

What would be the closest code that already exists?
Or is it just bad luck for now?

Nice! looking to do something like this would be helpful if you could do a small how to thread. Thanks!

Hello there,

This module (with Xiaomi IR) is compatible all Gree AC-s or only some of them?

If you cant find working code from the database / this thread you can just learn the codes into HA… slow process but works

1 Like

Hi all,

I would like to suggest a feature but dunno if it is feasable so before opening on github I kindly ask your feedback.

I have an old Kenwood stereo that thanks to SmartIR, a chromecast audio and a RMini has got a new life. Now I can automate switch it on or off based on chromecast status. My question is:

can somehow smartir mediaplayer “import” status (song played) by other media_player entities? In my case my media_player.stereo_studio will show song played by media_player.chromecastaudiostudio.

The same will be applied also to regular chromecast and not smart tv.

What’s your feedback about it?

Can devices configured using smartir be controlled through google home voice commands?

I need to program Haier device from scratch becasue exisiting codes does not work. I grabbed new codes. Should I replace those from 1320.json file or create i.e. 1330.json and change device code in yaml?

Once I tested I will send new version so it can be added to repo.

One question. My AC has mode fan only and than you can choose only fan speed without changing of the temp. Is it possible to do it in json file configuration. I can copy same code for different temps but than climate component will not block setting temps which is not very friendly?

It looks like HA might be close to getting the RM4 mini working.

Will SmartIR automatically work with it once upstream support is available?

Devices configured and working in HA will be exposed to Google Home and can use the same commands as any other climate device.

Does home assistant expose smartIR climate devices as AC units or thermostats to google?

Thermostats.
AC units are also exposed as thermostats. You just name them appropriately

:slightly_smiling_face:

BlockquoteThermostats.
AC units are also exposed as thermostats. You just name them appropriately

Thanks for the help! One last question, will I be able to control the fan speed of my AC unit using google home?

1 Like

Unfortunately I have not yet found a way to control fan speed with Google Home. I think it may be a limitation in Google Home or at least the integration with Home Assistant. I have Zwave, Zigbee and WiFi thermostats in my Dev environment and none of them expose the fan speed control. I can set Cool, Heat, Auto, Fan_Only, Off and set temperature, but unfortunately can not set the fan speed.

This is slightly going off topic for this thread though, as this seems to be climate in general in Google and not specific to the SmartIR component :slight_smile:

If anyone else knows how to control actual fan speeds with a voice assistant, let me know.

I see I see… Thank you so much for your help Brendan! Have a great week ahead.

1 Like

Hi Guys

Hoping to get some help please :slight_smile: I am having trouble and fairly new at this. Weirdly enough I have a 5 year old Hitachi AC and the SmartIR codes work fine. The newer AC unit is 1 year old and none of the codes work?

So I read through this thread and created an IR table for my Hitachi RAK-35NHA2 AC unit as none of the codes worked (like 331 button pushes later). I used BroadlinkIRTools from keitetran on GitHub The resulting .json file is attached. I then realised this looks different to others so I converted it using jsonformatter . org I dropped the file into the smartir climate directory and added names it a code like 11111. Home Assistant log tells me that the .json is invalid.

What have I missed here?

Here is my original JSON file: https://pastebin.com/cnHu73fy
Here is the formatted JSON file: https://pastebin.com/Jx67hi00

I tried your JSON and it works well for me.

Wow!. Thanks Vassilis for the quick reply. So which one the original or the formatted .json?

Could I get a step by step. What am I missing? Sorry for the dumb questions.

  1. Copy the 11111.json to the code/climate folder
  2. Make sure the code below is correct
  3. Restart HA?
- platform: smartir
    name: Office AC Heatpump
    unique_id: office_ac
    device_code: 11111
    controller_data: 10.55.1.150
    temperature_sensor: sensor.broadlink_sensor_temperature_4

Download this file:
https://gist.githubusercontent.com/vassilis-panos/75107b6810598c09049778594a33ac3e/raw/55b4cc1312c5be892b59874ae5d061e2907eea00/11111.json

Place it to smartir/codes/climate and restart HA

2 Likes