『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 2091|回复: 1

[求助] HomeAssistant 萬能遙控器求助

[复制链接]

1

主题

12

帖子

61

积分

注册会员

Rank: 2

积分
61
金钱
49
HASS币
0
发表于 2020-4-1 23:04:55 | 显示全部楼层 |阅读模式
求助各位,已經搞了好久都搞不出來,
我原先參閱:https://bbs.hassbian.com/thread-3147-1-1.html,
已將紅外線碼都掃出來了,
但在實際使用上還是毫無反應,
主要是要加入到homekit內使用,
但連在HA內點擊都沒有反應...
能否幫我看一下哪裡出了問題嗎...

remote: #萬能搖控器
  - platform: xiaomi_miio
    name: "ir_remote"
    host: 192.168.68.132
    token: 4b03fc3fe663f2d73567fbcf6c617136
    slot: 14
    timeout: 30
    hidden: false


switch:
  - platform: template
    switches:
      tv_power:
        friendly_name: "廁所電燈"
        value_template: "{{ is_state_attr('switch.blind_toggle', 'sensor_state', 'on') }}"
        turn_on:
          service: remote.send_command
          data:
            entity_id: remote.ir_remote
            command: FE0000000000000000000000000700102237003A004500A600EE01C0038A138843020122222102212101202220220156C7
        turn_off:
          service: remote.send_command
          data:
            entity_id: remote.ir_remote
            command: FE0000000000000000000000000700102237003A004500A600EE01C0038A138843020122222102212101202220220156C7

回复

使用道具 举报

1

主题

12

帖子

61

积分

注册会员

Rank: 2

积分
61
金钱
49
HASS币
0
 楼主| 发表于 2020-4-2 12:23:33 来自手机 | 显示全部楼层
還有請問一下各位 為什麼我掃出來的紅外線碼好像跟其他人的不太一樣⋯
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-25 07:32 , Processed in 0.045735 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表