2024年11月21日星期四 下午8:41:21

BroadLink RM IR/RF - Home Assistant中接入博联WiFi智能遥控

4 个月 前
#44473 引用
Broadlink Manager

https://sourceforge.net/projects/broadlink-manager/files/latest/download

https://bbs.hassbian.com/forum.php?mod=redirect&goto=findpost&ptid=15304&pid=429537

https://bbs.hassbian.com/thread-15306-1-1.html
0
3 个月 前
#44502 引用
web ui

模拟成开关

把学习到的指令导入相应的配置文件

# Example configuration.yaml entry
switch:
  - platform: broadlink
    mac: 34:EA:88:40:88:27
    switches:
      - name: Philips TV
        command_on: JgAcAB0dHB44HhweGx4cHR06HB0cHhwdHB8bHhwADQUAAAAAAAAAAAAAAAA=
        command_off: JgAaABweOR4bHhwdHB4dHRw6HhsdHR0dOTocAA0FAAAAAAAAAAAAAAAAAAA=
      - name: LG TV
        command_on: JgBYAAABIJISExETETcSEhISEhQQFBETETcROBESEjcRNhM1EjcTNRMTERISNxEUERMSExE2EjYSNhM2EhIROBE3ETcREhITEgAFGwABH0oSAAwzAAEfShEADQU=
        command_off: JgBYAAABIJISExETETcSEhISEhQQFBETETcROBESEjcRNhM1EjcTNRMTERISNxEUERMSExE2EjYSNhM2EhIROBE3ETcREhITEgAFGwABH0oSAAwzAAEfShEADQU=



switch:
   - platform: broadlink
     mac: 34:EA:88:40:88:27
     switches:
       - name: KongTiao  
      command_on:"JgDoAGRlZZIVNBUQEjcSFBEUETcV......
      command_off:"JgDoAGRlZZISNxIUETcUE.......

switch:   代表开关
platform:平台
mac: 智能遥控的mac地址
name : 开关名字
command_on: 开 所学习红外码
command_off: 关 所学习红外码
0
3 个月 前
#44505 引用
将所编写的代码写入到configuration.yaml文件中,重启HA即可,此时在HA首页将看到所配置的开关,使用此开关也对空调进行相应的控制;
0