我的记事本之我家有电视了

H大的红外真的超好用,空调可以,电视也可以,当然更好的是abc大佬写了一个HB插件,这就更加的完美了,记下过程,免行以后作死搞没了找不回来。
准备需要的工具:mqtt.fx 红外模块,电视遥控。

  • 打开mqtt.fx ,点击齿轮,






  • 模块正常,电视遥控对着模块按所要的功能健,
  • 需要的功能按按,填入对应HB配置文件中
    [mw_shl_code=applescript,true]{
    “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”
    }
    }
    ]
    }[/mw_shl_code]
  • 伟大而牛逼的iobroker适配器ham. 插件名 homebridge-mqtt-television

  • 保存关闭,坐等网络心情。~~~~~~~~~~~网络给了点面子,等了快两小时,安装完成

没看 懂

能不能不要这么牛逼,我们小白怎么活啊