用户
 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

17

主题

41

帖子

2820

积分

金牌会员

Rank: 6Rank: 6

积分
2820
2019-10-6 00:58:43 gujiys 金牌会员 楼主 1105
本帖最后由 gujiys 于 2019-10-6 02:35 编辑

  H大的红外真的超好用,空调可以,电视也可以,当然更好的是abc大佬写了一个HB插件,这就更加的完美了,记下过程,免行以后作死搞没了找不回来。
准备需要的工具:mqtt.fx  红外模块,电视遥控。
  • 打开mqtt.fx ,点击齿轮,
    1.png
    2.png
    3.png
    4.png
    5.png
    6.png
    7.png
  • 模块正常,电视遥控对着模块按所要的功能健,
    8.png
  • 需要的功能按按,填入对应HB配置文件中
    [AppleScript] 纯文本查看 复制代码
    {
        "bridge": {
            "name": "mqttTV",
            "username": "B1:07:FA:91:FA:7E",
            "port": 52010,
            "pin": "123-11-678"
        },
        "accessories": [
            {
                "accessory": "television",
                "name": "LETV",
                "pinghost": "10.0.0.45",
                "mqtt": {
                   "server": "10.0.0.50:1883",
                   "prefix": "homebridge",
                   "username": "pi",
                   "password": "raspberry"
                },
                "input": {
                    "screenName": "home_screen",
                    "home_screen": "3,32A66897,32",
                    "HdmiName1": "Hdmi 1",
                    "hdmi1": "3,32A66897,32",
                    "HdmiName2": "Hdmi 2",
                    "hdmi2": "3,32A66897,32",
                    "HdmiName3": "Hdmi 3",
                    "hdmi3": "3,32A66897,32",
                    "HdmiName4": "Hdmi 4",
                    "hdmi4": "3,32A66897,32"
                },
                "remote": {
                    "on_off": "3,32A66897,32",
                    "arrow_up": "3,32A66897,32",
                    "arrow_right": "3,32A66897,32",
                    "arrow_down": "3,32A66897,32",
                    "arrow_left": "3,32A66897,32",
                    "select": "3,32A66897,32",
                    "play_pause": "3,32A66897,32",
                    "back": "3,32A66897,32",
                    "information": "3,32A66897,32",
                    "powerModeSelection": "3,32A66897,32"
                },
                "volume": {
                    "increment": "3,32A66897,32",
                    "decrement": "3,32A66897,32"
                }
            }
        ]
    }
  • 伟大而牛逼的iobroker适配器ham. 插件名 homebridge-mqtt-television
    9.png
    10.png
  • 保存关闭,坐等网络心情。~~~~~~~~~~~网络给了点面子,等了快两小时,安装完成
    11.png
    12.png 13.png
使用道具 举报 回复
    没看     懂
使用道具 举报 回复 支持 反对
发新帖
您需要登录后才可以回帖 登录 | 立即注册