在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:pieter/homebridge-miio-gateway开源软件地址:https://github.com/pieter/homebridge-miio-gateway开源编程语言:JavaScript 100.0%开源软件介绍:HomeBridge Xiaomi Gateway support through miioThis package provides support for Xiaomi Gateway and attached devices, like switches and temperature sensors, in homebridge. There are many similar packages, like the following: Why create another package?Most of these plugins have their own protocol parsing logic, which can be a bit of a hit-and-miss. In my case, this didn't work because the plugins seem to either depend on multicast, or don't allow you to bind to a specific source address. By using miio, a gateway can be configured using its IP Address and token (if necessary), which means multicast isn't required. Miio seems to be more stable than the other implementations, at least for me. What is suppported?This plugin currently supports:
ConfigurationFirst you'll need to enable local access in the Xiaomi Mi Home app. Here's how that works on iOS:
Now add the plugin to your homebridge config: "platforms": [
{
"platform": "XiaomiMiioGateway",
"gateways": [
{
"address": "192.168.1.XXX",
"token": "0ab9152c80b94827960db8c6ef49ee39"
}
]
},
...
] Check out the plugin locally, and start homebridge. It should show the found devices in the log. Use Note: right now this library depends on a few fixes required in |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论