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

Thanks for the fantastic integration!

I wanted to share that Broadlink code 1180 works perfectly with my Gree AC unit:

Model: GWH12QC-K3NNC2H/I
Remote Control Model: YB1FA

If you have the same AC model or remote control, give this code a try. It might just work for you too!

Hello,

I’m trying to create a fan device, but not having any luck whatsoever with it showing up in HA. I installed the integration, and added the following to my configuration.yaml:

fan:

  • platform: smartir
    name: Office Fan
    unique_id: office_fan
    device_code: 1300
    controller_data: remote.main_rm4

I have created a 1300.json file that has the remote codes. I don’t see any errors in the log, just don’t see a fan.office_fan anywhere. Any troubleshooting pointers or suggestions?

Hello,

Please find new SmartIR beta 1.18.0b1 of my fork ready for testing. It brings a lot of fixes and some new features.

  • Climate preset modes support
  • Device codes checking
  • support for temperature precision 2.0
  • temperature units conversion between device and HA (C, F)
  • Pass additional remote controller parameters

and others. And as usual all the new compatibility changes in HA are addresses so no warnings :wink:

2 Likes

What model of Fan are these codes for? I lost my remote and I do not find any Brandson remote codes in the big archives, like RC: Infrared Hex Code Database is not even showing the Brandson brand!

hi guys
i was looking for some help with this if someone know why
i have two aircon units that are identical and I am trying to add both of them and can only get one unit to work I have been trying add unit multiple times and does not seem to be working both codes work separately but when I paste both in like that only second unit works

from my config file

climate:

platform: smartir
name: Rhys Aircon
unique_id: rhys_ac
device_code: 1400
controller_data: remote.rhys_ir
temperature_sensor: sensor.0x286d9700010362d6_temperature
humidity_sensor: sensor.loung_room_temp_humidity

platform: smartir
name: Kathryn Aircon
unique_id: Kathryn_ac
device_code: 1400
controller_data: remote.broadlink_remote
temperature_sensor: sensor.loung_room_temp_temperature
humidity_sensor: sensor.loung_room_temp_humidity

cant find a log to submit the device shows up as unavailable. I can not find any smartIR logs in the main logs section under core, supervisor and host sections. i did post issue on one of the githubs but author just closed issue is this addon not compatible with 2 climate devices anymore?

It certainly still is.

Do it this way inside configuration.yaml:

smartir:

climate:
  - platform: smartir
    name: Rhys Aircon
    unique_id: rhys_ac
    device_code: 1400
    controller_data: remote.rhys_ir
    temperature_sensor: sensor.0x286d9700010362d6_temperature
    humidity_sensor: sensor.loung_room_temp_humidity

  - platform: smartir
    name: Kathryn Aircon
    unique_id: Kathryn_ac
    device_code: 1400
    controller_data: remote.broadlink_remote
    temperature_sensor: sensor.loung_room_temp_temperature
    humidity_sensor: sensor.loung_room_temp_humidity

hi Tamsy

Thank you for reply that worked. What was wrong with code do i need dashes next to platforms or was it spacing. I like to learn from my mistakes

Regards
Rhys

Nice you got it working :+1:t3:

If you compare the two you see that the culprit was the dashes next to platforms and wrong indentations. Yaml is very picky when it comes to indentations. One wrong spacing can make a difference.

ok will be careful on spacing next time next time thanks again for the reply

@litinoveweedle is it planed to support irhvac too ?

Hello, new version 1.18.0 of SmartIR was released

please note, that there are breaking changes, please read the docs!

Hi, do you mean Tasmota IRHVAC? As far as I understand, it uses MQTT and therefore it should work with generic MQTT controller. If any changes are needed we can discuss those, but I will need testing and active cooperation to include it.

1 Like

I dont see the update?

Ah this is another repo! The one I am using is at :

For those who use broadlink, how are you getting it to detect if the climate control is still on if you restart home assistant when it’s on? Also if someone points the remote at it and uses it normally?

Thanks for heads up!

Just one thing in the docs, there is no explanation for the num_repeats parameter.

it is trasparently passed to the Broadlink [send_command[(Broadlink - Home Assistant)

Data attribute Optional Description
num_repeats yes Number of times to repeat the commands.
delay_secs yes Interval in seconds between one send and another.

At least my integration restore latest assumed state of the integration before HA restart. Use power_sensor to detect real state of the device. People use power meters or door sensors attached to AC air outflow fins.

Up to your decision which repo you prefer, you have to choose. :wink:

I did notice the power_sensor_restore_state option but the description of it was confusing, can you clarify that? Would it help?

I do not know, what you want to achieve.

  • Write down what is exactly not working.
  • Write down exact and detailed description of the use case (what are you trying to achieve / how it should work) in the way others can understand.
  • Also write down what do you consider confusing on the current docs and what is your current understanding of it.

Than maybe other can help you.