• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

bwv1041/homebridge-mi-remote: A homebridge-plugin for Mi Universal Remote device ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

bwv1041/homebridge-mi-remote

开源软件地址:

https://github.com/bwv1041/homebridge-mi-remote

开源编程语言:

JavaScript 100.0%

开源软件介绍:

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



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Gcenx/homebrew-wine发布时间:2022-06-17
下一篇:
Yleisradio/homebrew-terraforms: Homebrew repository for a Terraform version swit ...发布时间:2022-06-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap