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

 找回密码
 立即注册
楼主: jyz_0501

Homekit实现电视遥控器系列教程

[复制链接]

175

主题

2967

帖子

7606

积分

超级版主

我就是六神

Rank: 8Rank: 8

积分
7606
金钱
4614
HASS币
398

活跃会员教程狂人灌水之王

QQ
 楼主| 发表于 2019-8-24 01:21:21 | 显示全部楼层
参考 https://github.com/oznu/docker-homebridge/wiki/Homebridge-on-Synology  在群晖docker上安装Homebridge容器


操作步骤:
1、修改【配置文件】
Package.json
{

  "private": true,

  "description": "This file keeps track of which plugins should be installed.",

  "dependencies": {

    "homebridge-dummy": "^0.2.0",

    "homebridge-broadlink-rm-tv": "*"

  }

}

2、修改Config.json配置:
{

            "platform": "BroadlinkRM",

            "name": "Broadlink RM",

            "hosts": [

                {

                    "address": "192.168.31.135",

                    "mac": "B4:43:0D:XX:3D:AE",

                    "isRFSupported": true

                }

            ],

            "hideScanFrequencyButton": false,

            "hideLearnButton": false,

            "hideWelcomeMessage": false,

            "accessories": [

                {

                    "name": "客厅电视",

                    "type": "tv",

                    "data": {

                        "off": "260050000001289014111311141113111411131214101312133613361336133613361435141113361336131213361336131114111311141113121336131114111336133613361336140005340001274814000d050000000000000000",

                        "on": "260058000001279012121213121212131212121314101213123712371237123712371237111315341237121212371237121314101510121212131237121215101237113712371237120005330001254912000c2e0001244a12000d05",

                        "remote": {

                            "select": "2600a2008581133f133f133f133f133f134012401240131e133f131e131f121f131e131e131f131e131e131f121f133f131e133f133f130001278581133f133f133f133f133f133f13401240131e133f131e131f121f131e131e131f121f131e131e131f133f131e133f133f130001278581133f133f133f133f133f133f133f1340121f1340121e131e131f131e131e131f121f131e131e131f1240121f133f133f13000d05000000000000",

                            "arrowUp": "260058000001269213111411131213121212131114111311143514361336133613361336141113361312133613361311143514111312131114351411131213361311143514351436130005350001274814000c350001264913000d05",

                            "arrowDown": "260050000001298f1510150f160f150f160f1510150f1510153415331634153416331634150f153415341633163414101534160f1510150f14111410151014351411143514351435140005370001284714000d050000000000000000",

                            "arrowLeft": "260050000001279213111411131115111212131114111311143514361336133613361435141113361435141113121336133613111411131213111435143514111312133613361336140005360001274814000d050000000000000000",

                            "arrowRight": "260050000001289112121411141114101411141014111411143514351435143514351435141114351411141015101435143514111410151014351435143515101411153415341534140005390001294615000d050000000000000000",

                            "back": "260050000001269213111312131114111311141113121311133613361435143514361336141014351411131114111336141112121435151013361435133615101435133614111433160005360001284714000d050000000000000000",

                            "exit": "2600a2008482133f12401240133f133f133f131f121f133f133f133f133f131e131f131e131e131f121f133f133f131e131f121f131e13000127858013401240133f133f133f133f131e131f1240133f133f133f131e131f121f131e131e131f1240133f131e131e131f121f130001268581133f134012401240133f133f131e131e134012401240133f131e131e131f121f131e131e13401240121f131e131e131f13000d05000000000000",

                            "playPause": "260054000800095b0001298f160f150f160f1510150f160f150f160f153415341633163316321734150f16341534150f1633160f1633160f150f160f160f1534150f1633160f163316331634150005340001284715000d0500000000",

                            "info": "260058000001279015111411131114111311141113121311143514351436133613361336141113361336131213361311143613111411133613121336131114351411133614351411130005370001274814000c370001274813000d05"

                        },

                        "powerMode": {

                            "show": "2600d8008581133f133f133f13401240131e131e133f133f133f131f133f131e131e131f121f131e133f133f131f121f131e133f131e130001278581133f133f133f133f133f131f131e133f133f133f131f1240121f131e131e131f121f133f133f131e131f121f133f131e130001278581133f133f133f133f133f131e131f133f133f133f131e133f131f121f131e131e131f1240133f131e131e131f1240121f130001268581133f133f13401240133f131e131e133f133f133f131f133f131e131e131f121f131e133f133f131f121f131e133f131e13000d05"

                        },

                        "volume": {

                            "up": "260054000001279115101411141015101410151014101510143514351534163316341435150f1534160f14111435150f1510150f1534160f15341534160f143515341534151015341500053700012946160008aa09000d0500000000",

                            "down": "260050000001298f160f150f160f1510150f160f150f160f153415341633163316331634150f163316331634150f160f150f160f1534150f160f1510153415341534153415101534150005330001284715000d050000000000000000"

                        },

                        "inputs": [

                            {

                                "name": "直播",

                                "type": "hdmi",

                                "data": "260050000001298f160f150f160f1510150f160f150f160f153415341633163316331634150f163316331634150f160f150f160f1534150f160f1510153415341534153415101534150005330001284715000d050000000000000000"

                            },

                            {

                                "name": "点播",

                                "type": "hdmi",

                                "data": "260050000001298f160f150f160f1510150f160f150f160f153415341633163316331634150f163316331634150f160f150f160f1534150f160f1510153415341534153415101534150005330001284715000d050000000000000000"

                            }

                        ]

                    }

                }

            ]

        }


回复

使用道具 举报

175

主题

2967

帖子

7606

积分

超级版主

我就是六神

Rank: 8Rank: 8

积分
7606
金钱
4614
HASS币
398

活跃会员教程狂人灌水之王

QQ
 楼主| 发表于 2019-8-24 01:23:31 | 显示全部楼层
zjp0225 发表于 2019-8-22 21:50
大神,什么时候更新电视的啊

下一楼~
回复

使用道具 举报

7

主题

227

帖子

2262

积分

论坛积极会员

积分
2262
金钱
2035
HASS币
0
发表于 2019-9-25 15:08:03 | 显示全部楼层

大佬。咋还不更新啊。等不及了。
回复

使用道具 举报

0

主题

27

帖子

86

积分

注册会员

Rank: 2

积分
86
金钱
59
HASS币
0
发表于 2019-9-30 17:31:20 | 显示全部楼层
感谢楼主分享!
回复

使用道具 举报

1

主题

11

帖子

44

积分

新手上路

Rank: 1

积分
44
金钱
33
HASS币
0
发表于 2019-10-18 01:53:54 | 显示全部楼层
Homeassistant原生Homekit 什么时候更新 我试了不显示在homekit里
回复

使用道具 举报

0

主题

41

帖子

253

积分

中级会员

Rank: 3Rank: 3

积分
253
金钱
212
HASS币
0
发表于 2019-10-26 18:31:29 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

0

主题

27

帖子

87

积分

注册会员

Rank: 2

积分
87
金钱
60
HASS币
0
发表于 2019-12-27 20:10:24 来自手机 | 显示全部楼层
没有更新呀
回复

使用道具 举报

174

主题

634

帖子

3792

积分

论坛元老

Rank: 8Rank: 8

积分
3792
金钱
3153
HASS币
0
发表于 2019-12-30 18:41:35 | 显示全部楼层

HA的TV类加载到HK会导致所有的HA设备在HK中丢失,这个问题到现在似乎依然无解。
回复

使用道具 举报

0

主题

26

帖子

233

积分

中级会员

Rank: 3Rank: 3

积分
233
金钱
207
HASS币
0
发表于 2020-1-14 09:55:04 | 显示全部楼层
等待原生资料的更新。。。。。谢谢lz分享
回复

使用道具 举报

0

主题

16

帖子

60

积分

注册会员

Rank: 2

积分
60
金钱
44
HASS币
0
发表于 2020-6-11 17:39:55 | 显示全部楼层
期待大神  感谢  ,占个坑
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 14:25 , Processed in 0.136052 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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