当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

homebridge-mi-remote

授权协议 Readme
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 吕冠宇
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Xiaomi IR Remote platform

A homebridge-plugin for Mi Universal Remote devices: chuangmi.ir.v2 chuangmi.remote.h102a03 chuangmi.remote.v2 chuangmi.remote.h102c01

米家万能遥控器

foaked from homebridge-mi-ir-remote and homebridge-mi-ir-electrolux.

Installation

Install homebridge.

sudo npm install -g --unsafe-perm homebridge

Install miio and the plugin packages.

sudo npm install -g miio homebridge-mi-remote

Get the token of your Mi Universal Remote device. Follow the instruction.

miio --discover

Add the configuration into the config.json file.

Supported types

MiLearn

Learn raw codes from each command by IR remote controllers. To obtain the code stored in the log file (e.g., '/var/log/homebridge.log'), run the bash script as below:

tail <'/var/log/homebridge.log'> | grep -oe 'Learned Code:.*' | cut -d ' ' -f3 | tail -1

Bundled accessories

See the instruction for details.

  • Switch
  • Light
  • Projector
  • AirConditioner
  • Custom: Run multiple commands in a single switch.
  • MomentarySwitch: Automatically turned off after 0.3 seconds.

Additional supported devices

  • LGAirConditioner: IR remote control for LG Home Air Conditioners (Heater/Cooler). Compatible with AKB73835317 AKB73675605. Also functional on LA090HSV4 LA120HSV4 LA180HSV4 LAN090HSV4 LAN120HSV4 LAN180HSV4 LS090HSV4 LS120HSV4 LS180HSV4 LSN090HSV4 LSN120HSV4 LSN180HSV4 LSU090HSV4 LSU120HSV4 LSU180HSV4 .

Configuration

Example:

"platforms": [
    {
        "platform": "MiRemote",
        "ip": "***.***.***.***",
        "token": "********************************",
        "hideLearn": false,
        "deviceCfgs": [
            {
                "type": "Switch",
                "data": {
                    
                }
            },
            {
                "type": "Projector",
                "data": {
                    
                }
            },
            {
                "type": "Light",
                "data": {
                    
                }
            },
            {
                "type": "AirConditioner",
                "data": {
                    
                }
            },
            {
                "type": "Custom",
                "data": {
                    
                }
            },
            {
                "type": "MomentarySwitch",
                "data": {
                    
                }
            },
            {
                "type": "LGAirConditioner",
                "name": "Thermostat",
                "info": {
                    "Manufacturer": "LG Electronics Inc.",
                    "Model": "S-W096AAW",
                    "SerialNumber": "AKB73675605"
                },
                "hidePlasma": false,
                "hideJetPower": false,
                "hideLight": true
            }
        ]
    }
]

Related websites

  • python-miio: Python library & console tool for controlling Xiaomi smart appliances
 相关资料
  • homebridge-mi-aqara homebridge plugin for XiaoMi Aqara plugin. 小米/绿米网关的HomeBridge插件。 Thanks fornfarina(the author of homebridge),snOOrz(the author of homebridge-aqara),licuhui,攀旺智能,magaHH,isundaylee,i

  • homebridge-mi-airpurifier XiaoMi air purifier plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), licuhui, superszy, all other developer

  • homebridge-mi-acpartner English Version | 中文版 小米空调伴侣的Homebridge插件 感谢takatost,miio,YinHangCode和所有测试开发人员提供支持。 注意:此插件于0.6.0版本后修改了配置文件,请根据本文修改你的配置文件使插件正常工作。 若要查看抓包教程,请访问此项目Github的Wiki页面 Support(支持) 空调伴侣型号

  • homebridge-mi-hygrothermograph    Homebridge plugin for exposing measured temperature and humidity from Xiaomi sensors as HomeKit accessories. Supported sensors: Xiaomi Mi Bluetooth Temperature and Hu

  • homebridge-mi-fan XiaoMi fan plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), ABC, 小马哥, all other developer and testers. Note: If you

  • homebridge-mi-outlet XiaoMi outlet plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), all other developer and testers. Note: I have only