SmartIR is a custom Home Assistant component for controlling AC units and TV devices via Infrared controllers. An IR controller such as Broadlink RM 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.
Create the folder custom_components
, if it does not exist, in the home assistant’s config directory. Create the smartir
folder and copy __init__.py
, climate.py
and media_player.py
files into it.
Add the following to your configuration.yaml file.
smartir:
The component will check for updates each time HA is restarted. When there is a new version, a new Persistent Notification will appear.
Use the services smartir.check_updates
to manually check for updates and smartir.update_component
to start the automatic update.