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

hi there im looking into this today as i have started rebuilding my HA so ill keep posted if i source.
i run a HVAC Company so i think ill work this out again very soon
hope to be able to assist

Hey try 1263 as the device code

heres the link

Thanks. It seems to work perfectly.

1 Like

No problem new friend

Has anyone had any issues with the Daikin FTXS71LVMA using Code 1101 and trying to turn it off in heating mode using the RM3?
Turning it off works fine when in cooling mode but when I set heating mode it does’t turn off.

try modify the command in the json file 1101.json in climate>codes

copy the command from cooling off and replace in heating off
hope this points in right direction

Thanks for the suggestion! In the 1101.json file there’s only one universal command for “Off” and it’s used by all of the modes (heating, cooling, fan only etc). If I find a workaround I’ll report back!

Hi all,
since yesterday I get a warning in HA that from next December with 2022.12.0. Climate MQTT of the climate platform will stop working.
I can’t figure out how I should change my current configuration which is:

climate:
  - platform: smartir
    name: "Split"
    device_code: 9999
    controller_data: remote.rm4c_mini_remote
    temperature_sensor: sensor.lumi_lumi_weather_temperature
    humidity_sensor: sensor.lumi_lumi_weather_humidity

please can you help me understand?
thank you

the integration seems fine i dont think its using mqtt even so it will get a custom component to continue to use . so id say your safe with the above

ive also made a “switch.remote_ac_off_cmd” with the learn command and this would always work
heres my additional buttons for my system .

see Broadlink - Home Assistant

hope this helps as well

I asked a question but worked it out myself the next day. The question was how you develop the codes locally before pushing them to Github.

  1. Record the Broadlink keypresses using the “learn command” service.
  2. Copy the codes into one of the existing templates, change all the required info such as name, codes, etc.
  3. Put the new file in the right place in the file system. In my case this was ./custom_components/smartir/codes/climate/1118.json
  4. Use a config similar to the one below
climate:
  - platform: smartir
    name: KitchenDaikin
    unique_id: daikin_kitchen
    device_code: 1118
    controller_data: remote.broadlink_kitchen_remote
    temperature_sensor: sensor.kitchensensor_temperature
    humidity_sensor: sensor.kitchensensor_humidity

Z2M ZigBee infra red blaster added to your project please.

You will need to post this as a request on the github page.

Hey i’m looking for a little help here. I set up two broadlink rm4’s. got the remotes done and climate setup in home assistant. both aircons are the same 1133 type. but it seems one of them turns on correctly when using ‘climate.turn_on’, the other turns on to some high fan setting and i can’t figure out why. Is there just a plain turn on function that turns it on with the last used setting? or can i define the fan level, temp, etc when turning on so it always turns on to the correct state?

Aircon remotes send the full state every time you push a button, even if it’s just the “On” button. I’ve had good luck recording IR commands on one RM4 and issuing them on another RM4, but you could try re-recording a couple of commands to see if it helps.

ok got it.

so basically even with the json file from smart IR, i still may want to learn the command to turn on at my preferred default state then use remote: send_command to trigger it rather than climate.turn_on?

I use something like the following to set AC units to a prefered state after it was switched to on:

  action:
    - service: climate.set_hvac_mode
      target:
        entity_id: climate.office_ac
      data:
        hvac_mode: cool
    - service: climate.set_temperature
      target:
        entity_id: climate.office_ac
      data:
        temperature: 21
    - service: climate.set_fan_mode
      target:
        entity_id: climate.office_ac
      data:
        fan_mode: auto
1 Like

You can send a sequence of commands. My understanding is that if you hit “temp up” it doesn’t just send the command “increase the temperature”, it sends the full state, so it might say “21 degrees, heat, medium fan” in one IR command.

You can test this out yourself. Set it to say heat, low fan, 21 degrees. Cover the remote emitter and change it to 26 degrees high fan. Now uncover the emitted and change it to 25 degrees. If the fan goes up high then it’s sent the full state.

  - service: climate.set_hvac_mode
    data:
      hvac_mode: heat
    target:
      entity_id: climate.kitchen_daikin
  - delay:
      hours: 0
      minutes: 0
      seconds: 5
      milliseconds: 0
  - service: climate.set_temperature
    data:
      temperature: 21
    target:
      entity_id: climate.kitchen_daikin
  - delay:
      hours: 0
      minutes: 0
      seconds: 2
      milliseconds: 0
  - service: climate.set_fan_mode
    data:
      fan_mode: medium
    target:
      entity_id: climate.kitchen_daikin
1 Like

Thanks for the input. Last question regarding this- is there any way to edit the climate card? Cause it would be great to be able to send this sequence rather than just turn on the aircon when I tap the power button on the climate card

Hi, i’m using esphome
I’m trying to add my fan into smartir, this is the output for speed 3 of my remote

Speed 3
21:30:09	[D]	[remote.pronto:238]	
Received Pronto: data=0000 006D 003A 0000 0086 0043 0013 000E 0012 0031 0012 000F 0012 000F 0012 000F 0012 000F 0012 000F 0012 000F 0012 000F 0012 000F 0012 000F 0012 000F 0012 000F 0012 0031 0012 000F 0012 000F 0012 000F 0012 000F 0012 000F 0012 000F
21:30:10	[D]	[remote.pronto:240]	
0012 0031 0012 000F 0012 0031 0012 0031 0012 000F 0013 000E 0012 0031 0013 000E 0012 000F 0012 000F 0012 000F 0012 0031 0013 000E 0012 000F 0012 000F 0012 000F 0012 0031 0013 0030 0013 000F 0012 000F 0012 0031 0012 0031 0013 000F 0013 000E 0012 000F 0013 0030 0012 000F 0012 000F 0012 0031 0012 0031 0012 0031 0012 000F 0012 000F 0012 000F 0012 0031 0014 000E 0012 06C3
21:30:10	[D]	[remote.panasonic:070]	
Received Panasonic: address=0x4004, command=0x0B210CC4
21:30:10	[D]	[remote.aeha:099]	
Received AEHA: address=0x4004, data=[0x0B,0x21,0x0C,0xC4,0xE2]

Other than Pronto codes.
Could I actually add Panasonic or AEHA codes for the json file?