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

Hi, @radinsky.
Have you added a temperature sensor to your config? You need an external temperature sensor to display current temperature.
See example below where I have defined temperature, humidity and power sensors. A bit off-topic, but for info, the power sensor is a binary sensor I have defined to show if the AC is running or not, for example if it has been started from outside HA.

- platform: smartir
  name: Stue AC
  unique_id: Stue_AC1
  device_code: 1023
  controller_data: remote.rm_mini_3_remote
  temperature_sensor: sensor.stua_2_temperature
  humidity_sensor: sensor.stua_2_humidity
  power_sensor: binary_sensor.stua_AC_binary
  

taking advantage, how is the configuration of this binary sensor? can you give an example?

yes, my config are:

- platform: smartir
  name: AC
  unique_id: ac
  device_code: 1341
  controller_data: remote.rm_pro_remote
  temperature_sensor: sensor.small_room_temperature
  humidity_sensor: sensor.small_room_humidity
  # power_sensor: binary_sensor.ac_power

Still the current_temperature is always null

OK, strange.
I don’t have much more to add unfortunately. I expect that you have checked that the temperature sensor is supplying usable data.
You could try to add another sensor, but I really have no idea.

Hi, @rodo1fo
I was a bit unclear in my description. What I am using is this: Threshold Binary Sensor

I have a power sensor connected to my AC. I have defined that any consumption below 10W is to be defined as “off” with this config:

- platform: threshold
  entity_id: sensor.varmepumpe_power_2
  upper: 10
  name: stua_AC_binary
1 Like

can I send an RF command with the smartir? I didn’t find any code or example in the add on documents…

yes, thanks for pointing me on it, found the reason, the temperature_sensor should be sensor.small_room_temperature_temperature

thanks!

I just stopped by to say: Thank you!
But I will also take the opportunity to say:
What a beautiful job. I’ve been using it for years and it works perfectly.
Easy to install and configure,
Simple update,
So far without security problems,
Simply sensational!
Thank you again!

1 Like

Simple, fast, easy, practical and functional!

How do i include this {"Vendor":"PANASONIC_AC","Model":4,"Mode":"Cool","Power":"Off","Celsius":"On","Temp":21,"FanSpeed":"Max","SwingV":"Auto","SwingH":"Auto","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"Off","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1} MQTT code in Json file??

For those who try to add turbo or oscilate command, but those command do not change the temp ( it’s only toggle on and off).

For now, my way of getting around the problem: I added 3 other temperatures (31, 32, 33) and I gave them the codes for “turbo on / off”, “oscillates on / off” and "postion of the +1 "oscillation. I am using a script or button that uses the command “call-service” and “climate.set_temperature” to modify them.

type: button
tap_action:
  action: call-service
  service: climate.set_temperature
  service_data:
    temperature: 31
  target:
    entity_id: climate.thermopompe_salon
icon: 'hass:weather-hurricane'
name: salon turbo
hold_action:
  action: none
1 Like

Pardon the basic question, but i can’t seem to find an answer anywhere.
I made a simple python script for my Sanyo RCS-3HVPSS4EE-T Remote that dinamically generates the correct command, it’s possible to have a dinamic generated base64 command instead of a fixed file with all the commands.

I need it because the remote have a temperature sensor on it and it works as a thermostat for the AC so I need to send an updated temperature every 4-5 minutes.

when I try to use two variables (unique_id) for the two air conditions one unique_id is not available

climate:

  • platform: smartir
    name: Kitchen Ac
    unique_id: Kitchen_ac
    device_code: 1160
    controller_data: remote.rm3_7a_c6_19_remote
    temperature_sensor: sensor.temperature
    humidity_sensor: sensor.humidity
    power_sensor: binary_sensor.ac_power

  • platform: smartir
    name: Office AC
    unique_id: office_ac
    device_code: 1186
    controller_data: remote.broadlink_rmmini_fc_13_39_remote
    temperature_sensor: sensor.temperature
    humidity_sensor: sensor.humidity
    power_sensor: binary_sensor.ac_power

I may have missed this when reading the 900+ posts, but could some one describe what the power_sensor does.

Will I see it report on/off somewhere?
Does it do something if switched on, but is not reporting “on” with the power sensor?

I have a door switch attached to my Air-conditioner and added to the config, but lost to know what to expect.

Any help or guidance appreciated.

This is to provide feedback to SmartIR so that it knows if the device is on or off. eg: I use SmartIR to turn on/off my old AV receiver and HA (SmartIR) knows if the AV receiver is on/off based on the power_sensor, which I have setup as a template to turn on if the power consumption of the AV receiver is greater than 5 Watts.

Thanks Dave,

Thanks for clarifying how it works and your example of use.

The last bit I don’t quite get is:
What does smartir do if it finds the aircon has been switched off, but the sensor is still on?

How would i test it is working?

Thanks Again

The way it should work is that the sensor turning off is how SmartIR knows that the device (in your case, aircon) has been turned off. SmartIR will then set the climate entity to off.

To test it you could use a dummy entity and force it on/off to confirm that your climate entity is following the state

Добрый день! не смог найти где написать !
Добавьте пожалуйста в кондиционер Tosot T09H-SNA/I, его код такой же как у кондиционера GREE под кодом 3180

Good day! could not find where to write!
Please add to the Tosot T09H-SNA / I air conditioner, its code is the same as that of the GREE air conditioner under code 3180

Is there a way to add the SWING option without having to enter code for each temperature?