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

Bluebie/homebridge-miio: Xiaomi Mi Home Plugin for Homebridge

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

开源软件名称:

Bluebie/homebridge-miio

开源软件地址:

https://github.com/Bluebie/homebridge-miio

开源编程语言:

JavaScript 100.0%

开源软件介绍:

homebridge-miio is a platform plugin for homebridge which lets you switch Xiaomi Power Plugs on and off using Homekit apps and Siri.

Note: this plugin works for me, but i'm not motivated to maintain it's compatibility with other devices or firmware versions that i'm not using. If you have problems, please send some pull requests! Opening an issue isn't enough. I'm not "upgrading" my devices to incompatible firmware versions just to debug issues for you.

It seems very reliable now, and should coexist happily with other Xiaomi home automation ecosystem plugins. Eventually it would be nice to support some other device types, if people who have those devices want to do pull requests, or donate hardware, it'd surely be welcomed. You don't need to configure anything, just install the platform plugin with npm install -g homebridge-miio. devices on the same subnet as your homebridge server will be discovered at launch and every half hour after that, and supported devices will be polled for changes occasionally to keep things responsive.

Here's an example homebridge config file, you could use to tweak the default settings. Numbers are presented in seconds. If you choose to disable pollChanges you may see some inconsistency if you also control your miIO devices via the Mi Home app (including via Mi Home app timers).

Note that currently only the WiFi plugs are supported, not the gateway-based ones operating over Zigbee, though this is likely to change in the future.

{
  "bridge": {
    "name": "TestBridge",
    "username": "CC:22:3D:E3:CE:33",
    "port": 51826,
    "pin": "031-45-154"
  },

  "description": "Test Bridge",
  "accessories": [],
  "platforms": [
    {
      "platform" : "XiaomiMiio",
      "name" : "XiaomiMiio",
      "pollChanges": true,
      "pollInterval": 15,
      "searchInterval": 1800
    }
  ]
}



鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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