SmartIR is a custom [Home Assistant](https://www.home-assistant.io/) component for controlling AC units, TV sets and fans via Infrared and RF controllers. An IR or RF controller such as Broadlink is required. The key features of the component are: * Support for Base64, Broadlink Hex and Pronto codes. * Support for external temperature and humidity sensors (Climate platform) * Support for external on/off sensor that monitors whether your device is actually On or Off. This may be a power monitor sensor. * Support for voice assistants. ## **Component setup instructions** 1. Create a directory `custom_components` in your Home Assistant configuration directory. 2. Copy `smartir` from this project including **all** files and sub-directories into the directory `custom_components`. It should look similar to this after installation: ``` .homeassistant/ |-- custom_components/ | |-- smartir/ | |-- __init__.py | |-- climate.py | |-- fan.py | |-- media_player.py | |-- etc... ``` 3. Add the following to your configuration.yaml file. ```yaml smartir: ``` ## **Platform setup instructions**

SmartIR Climate

SmartIR Media Player

SmartIR Media Player

## **Update the component** The component will check for updates each time HA is restarted. When there is a new version, a Persistent Notification will appear. Use the services `smartir.check_updates` to manually check for updates and `smartir.update_component` to start the automatic update. If you would like to get update notifications from the rc branch, configure SmartIR as follows: ```yaml smartir: update_branch: rc ``` ## Links * [SmartIR Chat on Telegram](https://t.me/smartHomeHub) * [Discussion about SmartIR Climate (Home Assistant Community)](https://community.home-assistant.io/t/smartir-control-your-climate-tv-and-fan-devices-via-ir-rf-controllers/)