视频介绍:https://www.bilibili.com/read/cv12067446
安装完成重启HA,刷新一下页面,在集成里搜索小米电视
即可
HomeKit遥控器
开机/关闭电视事件
遥控器按键命令
- 关机:
power
- 上:
up
- 下:
down
- 左:
left
- 右:
right
- 首页:
home
- 音量加:
volumeup
- 音量减:
volumedown
- 菜单:
menu
- 确定:
enter
- 返回:
back
发送按键
service: remote.send_command
data:
command: left
打开ADB(注意:必须先打开开发者模式
)
service: remote.send_command
data:
command: adb
腾讯视频搜索
service: xiaomi_tv.adb_command
data:
command: am start -a com.tencent.qqlivetv.open -d "tenvideo2://?action=9&search_key=扫黑风暴"
entity_id: media_player.xiao_mi_dian_shi
腾讯视频播放
service: xiaomi_tv.adb_command
data:
command: am start -a com.tencent.qqlivetv.open -d "tenvideo2://?action=7&cover_id=mzc00200lxzhhqz"
entity_id: media_player.xiao_mi_dian_shi
酷喵搜索
service: xiaomi_tv.adb_command
data:
command: am start -a android.intent.action.VIEW -d "ykott://tv/search?url=tv/v3/search?from_app=cn.cibntv.ott"
entity_id: media_player.xiao_mi_dian_shi
酷喵视频播放
service: xiaomi_tv.adb_command
data:
command: am start -a android.intent.action.VIEW -d "ykott://tv/detail?url=tv/v3/show/detail?id=175957&fullscreen=true&fullback=true&from=cn.cibntv.ott"
entity_id: media_player.xiao_mi_dian_shi
支付宝 | 微信 |
---|---|
在使用的过程之中,如果遇到无法解决的问题,付费咨询请加Q635147515