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

Thanks a lot for your reply!

1 Like

Vassilis hi
how can I find in HACS your integration?

Hi. You need to add it as a custom repository in Hacs settings.

1 Like

Thanks. if possible can you tell me how? I tried but apparently I am doing something wrong

Go to Hacs settings. Paste https://github.com/smartHomeHub/SmartIR at the ADD CUSTOM REPOSITORY field, select the Integration category and click save.

2 Likes

Hi Vasilis, i followed the instructions because im getting errors with update too, and doesnā€™t work anymore my Ir devices so after add the custom repository i cant see on store and i get that errors on system log.

20-05-15 08:37:40 INFO (MainThread) [supervisor.store.git] Clone add-on GitHub - smartHomeHub/SmartIR: Integration for Home Assistant to control climate, TV and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome) repository
20-05-15 08:37:45 ERROR (MainThread) [supervisor.utils.json] Canā€™t read json from /data/addons/git/ab8a41ef/repository.json: [Errno 2] No such file or directory: ā€˜/data/addons/git/ab8a41ef/repository.jsonā€™
20-05-15 08:37:45 WARNING (MainThread) [supervisor.store.data] Canā€™t read repository information from /data/addons/git/ab8a41ef/repository.json
20-05-15 08:37:45 INFO (MainThread) [supervisor.store] Load add-ons from store: 67 all - 0 new - 0 remove
20-05-15 08:39:51 INFO (MainThread) [supervisor.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup
20-05-15 08:39:55 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-05-15 08:40:13 INFO (MainThread) [supervisor.store.git] Update add-on GitHub - sabeechen/hassio-google-drive-backup: Automatically create and sync Home Assistant backups into Google Drive repository
20-05-15 08:40:13 INFO (MainThread) [supervisor.store.git] Update add-on GitHub - hassio-addons/repository: Home Assistant Community Add-ons repository
20-05-15 08:40:13 INFO (MainThread) [supervisor.store.git] Update add-on GitHub - smartHomeHub/SmartIR: Integration for Home Assistant to control climate, TV and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome) repository
20-05-15 08:40:13 INFO (MainThread) [supervisor.store.git] Update add-on GitHub - home-assistant/addons: āž• Docker add-ons for Home Assistant repository
20-05-15 08:40:17 ERROR (MainThread) [supervisor.utils.json] Canā€™t read json from /data/addons/git/ab8a41ef/repository.json: [Errno 2] No such file or directory: ā€˜/data/addons/git/ab8a41ef/repository.jsonā€™
20-05-15 08:40:17 WARNING (MainThread) [supervisor.store.data] Canā€™t read repository information from /data/addons/git/ab8a41ef/repository.json
20-05-15 08:40:17 INFO (MainThread) [supervisor.store] Load add-ons from store: 67 all - 0 new - 0 remove

yes the message is for me too. but the module works!

Hello,

Iā€™m trying to integrate my kitchen hood in the fan component. Itā€™s a siemens kitchen hood that has an IR sensor but I donā€™t have the remote. I have found some codes in the internet but they are binary and I havenā€™t been able to convert them. Does anyone here knows how I can convert them?

I have two codes:

&\u0000\u0014\u0000\u0018\u0017\u0018\u00170-\u0018\u0017\u0018\u00170[\u0019\u0016\u0018\u0017H\u0000\r\u0005\u0000\u0000\u0000\u0000

&\u0000\u0014\u0000\u0018\u0016\u0019-1\u0016\u0018\u0017\u0018-1D\u0019-\u0018\u00170\u0000\r\u0005\u0000\u0000\u0000\u0000

Guys, I have some complains on github and other channels about the fact that the last version is not compatible with HA 0.109 but only for 0.110 beta.

From 0.110 there is a breaking change (it is actually a deprecation warning) in HA core and SmartIR must be fixed. I decide to release the last version early in order to support the guys who are in beta and most importantly people to be ready if they want to update HA right after it is released.

The auto updater of SmartIR and also HACS do not allows you to update if they detect that your instance is incompatible. I donā€™t know what else to do. Maybe I should stop supporting betas, save my time and fix the breaking changes at some point after the last release of HA.

Any thoughts would be helpful.

1 Like

Can you not specify a separate dev branch in hacs.json and have it point to it?. Or alternatively, create a release branch and have that as your default and use the master branch as the beta. Iā€™m not that familiar with hacs but thought I read that you can do that.

Perhaps, thatā€™s not a working solution yet.

What kind of smart plug are people using to confirm the AC unit is turned on? Any recommendations on a 16amp plug for Australia that works with Home Assistant?

I have created a set of commands for a previously unsupported Hitachi AC. How can I contribute these to the project?

@Bruskey27
I canā€™t help you with Australian switches, but this is the configuration I am using on my AC.
I have got a Z-wave plug with power sensors which I use as input to a binary threshold sensor. The thermostat card uses this as an on/off sensor

- platform: threshold
  entity_id: sensor.AC_power
  upper: 9
  name: livingroom_AC_binary

Looks great! Is there any advantage over the Broadlink Integration if I am using a Broadlink RM4 Pro?

@banana999 - It uses the Broadlink Integration, SmartIR is more of an add-on that gives a prebuilt library of codes and integrated control definitions. A lot less mucking about than capturing codes using remote.learn then writing scripts to use remote.send.

Note - if you want more complex stuff like controlling your entire media centre, then you still need to do some work integrating those, SmartIR just saves a few steps.

I run home assistant in docker, current version is 0.109.6, I believe this is the latest version of HA core.

I currently get a notification from smart.ir
There is a new version of SmartIR integration, but it is **incompatible** with your system. Please first update Home Assistant.

Is this correct, is the latest version of smart.ir incompatble with 0.109.6 ?

Edit: sorry I just found a post higher up. The newer version of smart.ir is for a future certain of home assistant that hasnā€™t been released yet and the update fixes a breaking change that will happen in the future. May bad.

My AC Unit is wired to a wall switch so canā€™t use a power plug. So instead I have a door sensor mounted on the front which detects when the louver has opened.

- platform: smartir
  ...
  power_sensor: binary_sensor.xiaomi_door_sensor_4_contact
2 Likes

I appreciate the fix in advance as my home assistant is automatically updated. So thank you very much (in advance as well).

Same here, happy with it being fixed before released date.

Appreciate the early fix for 0.110.0! Thank you so much. Also, how does the independent ā€œonā€ command for climate entities work?

1 Like