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

homebridge-miio

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

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

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

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

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

Note that currently only the WiFi plugs are supported, not the gateway-basedones 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
    }
  ]
}
  • 首先声明本文纯属依照如下链接的文章进行测试的小结: https://www.wandianshenme.com/play/siri-iphone-homekit-control-xiaomi-devices-by-homebridge-miio/ 我这里只是记录一下我测试的步骤,,非常感谢牛人的分享。 1. 安装依赖: sudo apt-get install python-dev python-

  • 安装Python3并更换镜像源 sudo apt-get install python3-pip python3-venv 编辑 ~/.pip/pip.conf 文件,用以下内容取代: [global] index-url = https://mirrors.ustc.edu.cn/pypi/web/simple 复制代码 注:应先创建.pip文件夹及pip.conf 安装Homeassistan

 相关资料
  • Homebridge 是一个轻量级 NodeJS 服务器,它模拟 iOS HomeKit API,提供从 HomeKit 到“智能家居”设备制造商提供的各种第三方 API 的基本桥接。通过 Homebridge 的桥接,可以让 Siri 控制完全不支持 HomeKit 的设备。 此外 Homebridge 支持插件。

  • homebridge-vsx homebridge-vsx is a plugin made for homebridge,which allows switching on and off your Pioneer AV receiver. All AV receivers (VSX and SC),which work with the iControl AV5 App are support

  • homebridge-sesame Control and monitor your Sesame smart lock with HomeKit integration. Prerequisites Installation of Homebridge iOS 11 or later Sesame lock with enabled cloud integration Sesame Wifi A

  • homebridge-panasonictv A homebridge plugin for turning on and off your Panasonic Viera TV. The plugin also has experimental support for changing the volume and channel. These characteristics are not r

  • Quick Start | Contribute A Wake on Lan plugin for Homebridge Turn your PCs, laptops, servers and more on and off through Siri Quick Start To install the plugin, head over to the machine with Homebridg

  • Docker Homebridge This Alpine/Ubuntu Linux based Docker image allows you to run Nfarina's Homebridge on your home network which emulates the iOS HomeKit API. This is a multi-arch image and will also r

  • This Plugin is no longer being maintained. The ST platform removed all of the greatness that made it fun to develop for and I will not rewrite my years of code to adapt. I have moved to Hubitat and al

  • Homebridge myQ myQ garage door and other myQ-enabled device support for Homebridge. homebridge-myq is a Homebridge plugin that makes myQ-enabled devices available to Apple's HomeKit smart home platfor