5 Star 29 Fork 6

吴泽滨 / homekit-bridge

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
吴泽滨 提交于 2023-06-12 01:46 . implement config system

Mi Home - miio

English Version | 中文版

Introduction

miio implement the miio protocol, and encapsulate the class MiioDevice, provide features:

  • Create a device object.
  • Start a request and get the response synchronously.
  • Get/Set properties.

miio also implements a protocol for communicating with the xiaomi cloud, allowing to automatically get device information (including device token) from the cloud after configuring the user name and password, so as to establish a connection with the miio device later.

When the device is created, the plugin will look for the adapted product script based on the device's model {mfg}.{product}.{submodel}, and if it can find it, it will generate a HomeKit accessory.

Configure

Configuration field

Name Type Description Required Example
miio.region string Server region YES cn,de,us,ru,tw,sg,in,i2
miio.username string User ID or email YES xxx@xxx.com,12345678
miio.password string User password YES 12345678
miio.ssid string The SSID of the Wi-Fi YES HUAWEI-A1
1
https://gitee.com/zebin-wu/homekit-bridge.git
git@gitee.com:zebin-wu/homekit-bridge.git
zebin-wu
homekit-bridge
homekit-bridge
master

搜索帮助