在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:oogje/homebridge-i6-bigAssFans开源软件地址:https://github.com/oogje/homebridge-i6-bigAssFans开源编程语言:TypeScript 100.0%开源软件介绍:homebridge-i6-bigassfans
The plugin name reflects that it was created to support, and was limited to, i6 model fans when no other homebridge alternative was available. Some time around the beginning of April 2022, with a firmware update to the Haiku series fans, BigAssFans changed the Haiku's communication protocol to be compatible with the i6 model, and therefore this plugin. Having access only to an i6 fan, I collaborated with Haiku fan owners (notably @pponce) to add support for their fans. I've guessed the format of the binary protocol and of the approximately eighty unique message types I've seen, I think I know what about half of them mean. BugsThe network connection to the fan will reset on occasion. I try to handle that gracefully but if it happens at the moment you issue a command (e.g., turn on the light) as opposed to when the periodic probe message is issued, the command will be ignored. Try again after two seconds. Occasionally HomeKit will briefly show the light (if equipped) or the light auto switch (if configured) "on" even though it's actually off. Features
InstallationIf you are not already running homebridge you'll find how to install it in the homebridge documentation. After you install homebridge you can install and configure the Install homebridge-i6-bigassfans:sudo npm install -g homebridge-i6-bigassfans To install a pre-release version, append it to the package name after '@'. For example:
ConfigurationAdd the Add your fan(s) in the Example configuration simple: {
"platforms": [
{
"platform": "BigAssFans-i6",
"fans": [
{
"name": "Big Fan i6",
"mac": "20:F8:5E:00:00:00",
"ip": "192.168.7.150"
}
]
}
]
} Example configuration with optional params and multiple fans: {
"platforms": [
{
"platform": "BigAssFans-i6",
"fans": [
{
"name": "Big Fan i6",
"mac": "20:F8:5E:00:00:00",
"ip": "BigFani6.local",
"showFanAutoSwitch": true,
"showLightAutoSwitch": true,
"showWhooshSwitch": false,
"showDimToWarmSwitch": false
},
{
"name": "BigAssFans Haiku",
"mac": "20:F8:5E:00:00:01",
"ip": "192.168.1.151",
"showFanAutoSwitch": true,
"showLightAutoSwitch": true,
"showWhooshSwitch": true,
"showEcoModeSwitch": true
}
]
}
]
} Platform configuration fields
General configuration fields
Advanced Configuration Fields
Other Configuration Fields
TroubleshootingFirst, make sure you can control your fan from the official Big Ass Fans app. If you have any issues with the plugin, you can run Homebridge in debug mode, which will provide some additional information. This may be useful for investigating issues. Homebridge debug mode: homebridge -D Special thanks@bdraco for suggesting BAF is using protobufs and @jfroy for building a working BAF controller using protobufs. @pponce, without whom there would be no Haiku implementation and a lot less testing, and for generally being an awesome collaborator. homebridge-miot - whose style served as a guide. Bruce Pennypacker - whose blog provided some clarity. homebridge-bigAssFans - where the Haiku message protocol gave me some insight. HAP-NodeJS & homebridge - for making this possible. Big Ass Fans - who I hope is working on their HomeKit implementation. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论