SmartIR

Integration for Home Assistant to control climate, TV and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT)

Github星跟踪图

SmartIR is a custom Home Assistant 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...
  1. Add the following to your configuration.yaml file.
smartir:

Platform setup instructions

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 (Release Candidate), configure SmartIR as follows:

smartir:
  update_branch: rc

Give this Project a Star :star:

Star this repository if you had fun!

主要指标

概览
名称与所有者smartHomeHub/SmartIR
主编程语言Python
编程语言Python (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2019-02-17 12:48:40
推送于2025-05-13 09:19:20
最后一次提交2025-05-13 12:19:20
发布数41
最新版本名称1.18.1 (发布于 )
第一版名称1.5.0 (发布于 )
用户参与
星数2.3k
关注者数51
派生数1.1k
提交数1.2k
已启用问题?
问题数759
打开的问题数36
拉请求数354
打开的拉请求数83
关闭的拉请求数161
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?