Code Monkey home page Code Monkey logo

xiaomi_tv's Introduction

小米电视

视频介绍:https://www.bilibili.com/read/cv12067446

hacs_badge hacs_badge

visit forks stars

使用方式

安装完成重启HA,刷新一下页面,在集成里搜索小米电视即可

Add Integration

HomeKit遥控器

导入蓝图

开机/关闭电视事件

导入蓝图

遥控器按键命令

  • 关机:power
  • 上:up
  • 下:down
  • 左:left
  • 右: right
  • 首页:home
  • 音量加:volumeup
  • 音量减:volumedown
  • 菜单:menu
  • 确定:enter
  • 返回:back

发送按键

service: remote.send_command
data:
  command: left

ADB服务

打开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

更新日志

v1.4.3

  • 电视信号源添加到应用列表中
  • 蓝图中支持电视信号源自定义
  • 修复无法选择信号源的问题
  • 优化蓝图设备选择

v1.4.2

  • 对直播源不进行针对性处理
  • 兼容新版HA
  • 开关蓝图支持多台电视选择

v1.4

  • 内置在线直播源
  • 支持自定义直播源
  • 默认加载电视遥控器卡片

v1.3

  • 支持电视调节音量
  • 支持自定义直播源

v1.2

  • 集成ADB服务
  • 初始读取当前电视音量
  • 视频搜索
  • 视频播放
  • 支持集成安装
  • 支持蓝图安装

v1.1

  • 集成DLNA服务
  • 显示电视预览图
  • 显示设备名称
  • 显示当前打开APP
  • 删除没用的参数
  • 修复打开应用有时不成功的问题
  • 修复无法打开ADB操作的命令

v1.0

  • 基本功能完成

如果这个项目对你有帮助,请我喝杯咖啡奶茶吧😘

支付宝 微信
奶茶= 支付宝 微信支付

关注我的微信订阅号,了解更多HomeAssistant相关知识

HomeAssistant家庭助理


在使用的过程之中,如果遇到无法解决的问题,付费咨询请加Q635147515

xiaomi_tv's People

Contributors

shaonianzhentan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.