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

Hello.
With the latest hassio updates (v. 0.96.x) the icons have been re-arranged.
Is it possible to make customed arrangements and for example make the on/off icon appear first on the left and not far right as it appears now?

Hi. Yes, it is.
Call the climate.set_temperature with the desired temperature and hvac mode.

1 Like

OK, thanks

  aa_comedor_heat:
    sequence:
      - service: climate.set_temperature
        data_template:
          entity_id: climate.aa_comedor
          hvac_mode: heat
          temperature: "{{ states.input_number.aa_comedor_temp_heat_auto.state }}"
      - delay: '00:00:02'
      - service: climate.set_fan_mode
        data:
          entity_id: climate.aa_comedor
          fan_mode: high

  aa_comedor_cool:
    sequence:
      - service: climate.set_temperature
        data_template:
          entity_id: climate.aa_comedor
          hvac_mode: cool
          temperature: "{{ states.input_number.aa_comedor_temp_cool_auto.state }}"
      - delay: '00:00:02'
      - service: climate.set_fan_mode
        data:
          entity_id: climate.aa_comedor
          fan_mode: high

  aa_comedor_fan:
    sequence:
      - service: climate.set_hvac_mode
        data_template:
          entity_id: climate.aa_comedor
          hvac_mode: fan_only
      - delay: '00:00:02'
      - service: climate.set_fan_mode
        data:
          entity_id: climate.aa_comedor
          fan_mode: high

After update the lastest version Smartir (1.7.0) I canā€™t use climate(Hass 0.96.3). Does anyone same issue?

Since the update to HA 0.96.x, Iā€™m no longer able to in HomeKit use the Auto option on both my A/C units. Everything works fine in the HA interface, but I canā€™t use Siri to turn on my A/C units to auto mode.

This was working perfectly fine before hand? Am I missing something?

1 Like

Dear, I worked today with your codes,
I found some were missing,
I would like to know one thing about how to write a script if I want to send packet 2 times,
Since some commands are same for all ch stereo and stereo, but needs to send it 2times.
Can u please guide?
Thanks in adv

1 Like

I find that I have to press buttons a few times before it will actually send the IR command, anybody else have this?

For example, on a thermostat card, Iā€™m press off, but it stays on, pursuing off 3 more times and then the AC beeps and turns off

2 Likes

I have noticed after updating to 0.96 and SmartIR 1.7, I no longer get a history of the status or the hvac unit ?

Previously it would show green blocks for the duration of the units run time.
Is this a SmartIR issue, or a HA 0.96 climate component issue ?

I couldnt find anything specifically related to this in the issue tracker anywhere - has anyone else seen this behaviour ?

3 Likes

I have also noticed this

My A/C only has a UP and DOWN button for the temperature. I donā€™t know how to translate that to the temperature (ā€œ18,19,20,21ā€¦ā€) codes for the JSON file.

Iā€™m guessing that a lot of A/C are like this, so there must be a way :slight_smile:

Without having individual codes, how do you know what temperature it is actually set at? HA would have this issue, but then so would you?

If the remote has a readout with the temp, how does it know that it is actually correct and not in sync with the unit?

The modes and temperature is shown on the A/C itself. So itā€™s true that HA is blind about that.

For the moment, I am using a script that send DOWN signals 10 times to be sure I am at the lowest setting (19) and write that value to an input_number.
From there, I have a UP/DOWN scripts that sends the command to the A/C and update the input_number that will reflect the temp set on the ac.

I thought that SmartIR would get me away from those scripts and get me a cleaner integration. Maybe Iā€™m stuck with scripts

Arenā€™t the modes and temp displayed on the remote control? What is your unit model?

Itā€™s a small window type A/C.
https://www.canadiantire.ca/en/pdp/garrison-5200-btu-window-electric-air-conditioner-0435443p.html

You can see the remote there

Iā€™m afraid that SmartIR is not suitable for your AC unit.

Yeah, thatā€™s what Iā€™m realizing. But still great work you did there !

Having a ā€œClimate Templateā€ similar to the ā€œFan Templateā€, would make me able to do what I want I guess.

Maybe I should start a feature request for itā€¦

does anyone have the problem that they get multiple copies of the smartir climate entity in google home and when you change the name of the climate smartir entity in home assistant configuration file then the name of the entity in the stastes page doesnā€™t change to the new name after a restart?

Is a unique_id exists in your configuration? If yes then rename the entity by pressing the gear in details card.
image

actually the problem is with google not your component.

I found a fault with the interaction between your component and google smart home hub when the heat pump is set to ā€œonā€ ie, it is triggered by the external remote and ā€œpower_sensorā€.

Google thinks my heatpump has 3 modes ā€œheat / cool / offā€

If the heatpump is currently on and i turn it off with my old flashioned remote control, it is happy and updates the status to off.

If the heatpump is off, and I turn it on with my old fashioned remote, then home assistant changes the mode to ā€œonā€, but google home gets confused because it doesnā€™t support ā€œonā€ mode. On the hub, it has none of the check boxes ticked and it wont allow you to interact with the heatpump, on the app it shows ā€œother modeā€ and wont let you interact with the heatpump.

climate:
  - platform: smartir
    name: Aircon
    unique_id: aircon
    device_code: 1020
    controller_data: 192.168.1.18
    temperature_sensor: sensor.lounge_temperature
    humidity_sensor: sensor.lounge_humidity
    power_sensor: binary_sensor.aircon_status
google_assistant:
  project_id: [redacted]
  api_key: [redacted]
  expose_by_default: false
  entity_config:

    # HEAT PUMP
    climate.aircon:
      name: Heat Pump
      expose: true
      room: Lounge

Iā€™m not sure of the best way around this.

You could create an ā€œonā€ mode for google, and specify a ā€œdefaultā€ mode in the yaml. If the aircon is ā€œonā€ and you adjust the temperature then it changes the aircon to the ā€œdefault modeā€ and the temperature you selected, ie. it jumps out of the ā€œonā€ mode.

The default mode could be static, or it could be seasonally adjusted.

If needed I can supply screenshots for you of the problem.