Git Product home page Git Product logo

homebridge-i6-bigassfans's Introduction

homebridge-i6-bigassfans (v0.6.0)

verified-by-homebridge

homebridge-i6-bigassfans is a plugin for Homebridge which allows you to control Big Ass Fans i6, es6, Haiku H/I Series and Haiku L Series fans with firmware version 3.0 or greater.

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, Big Ass Fans 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. es6 seems to work as well.

Bugs

The 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

  • Turn fan and/or light(s) on or off!
  • Change speed, and direction (Keep in mind Big Ass Fans discourages reversing speed.)
  • Ability to disable the fan direction control.
  • Change brightness level of LED light.
  • Control UV-C light
  • Exposes Motion Sensors
  • Display the fan's bluetooth remote's temperature and humidity sensors (i6 only).
  • Display the fan's temperature sensors (Haiku Fans).
  • Turn Whoosh Mode on or off.
  • Turn Dim to Warm on or off (i6 Fans).
  • Turn Fan Auto mode on or off.
  • Turn Light Auto mode on or off.
  • Turn Eco Mode on or off (Haiku fans).

Installation

If 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 homebridge-i6-bigassfans plugin through homebridge-config-ui-x using a command line and editor as described below.

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:

sudo npm install -g [email protected]

Configuration

Add the BigAssFans-i6 platform in config.json in your home directory inside .homebridge.

Add your fan(s) in the fans array.

Example basic configuration:

{
  "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

  • platform [required] Should always be "BigAssFans-i6".
  • fans [required] A list of your fans.

General configuration fields

  • name [required] Name of your fan.
  • ip [required] IP address or hostname of your fan. IP address can be found in the Big Ass Fans app's Wi-Fi settings screen.
  • mac [required] MAC address of your fan. Can be found in the Big Ass Fans app's Wi-Fi settings screen.
  • showWhooshSwitch [optional] Adds accessory switch for Whoosh Mode (true/false, defaults to false).
  • showDimToWarmSwitch [optional] Adds accessory switch for Dim to Warm (true/false, defaults to false).
  • showFanAutoSwitch [optional] Adds accessory switch for the fan's Fan Auto mode (true/false, defaults to false).
  • showLightAutoSwitch [optional] Adds accessory switch for the fan's Light Auto mode (true/false, defaults to false).
  • showEcoModeSwitch [optional] Adds accessory switch for the fan's Eco mode (true/false, defaults to false).

Advanced Configuration Fields

  • probeFrequency [optional] Sets the frequency that probe messages are sent to the fan. A frequency 0 milliseconds turns probing off (defaults to 60000 milliseconds).

Other Configuration Fields

  • noLights [optional] Eliminates light switches (defaults to false)
  • showHumidity [optional] Exposes humidity sensor (defaults to true)
  • showTemperature [optional] Exposes temperature sensor (defaults to true).
  • downlightEquipped [optional] Overrides downlight detection (defaults to undefined)

Other

If you find you cannot change the fan icon in Apple's Home app and you are showing your fan with its lights and/or switches as a single tile, then show it as separate tiles. That should unlock the icon so you can change it, then set it back to Show as Single Tile and the icon will be locked with your change in effect.

In some cases the Home app doesn't have the option to Show as Separate Tiles or Show as Single Tile in the Fan's settings, e.g. a Haiku H/I with no light and no optional switches being shown. In this case the work-around is to add "showTemperature": false to your config.json for the fan, restart, then change the icon, then remove the "showTemperature" line or change the setting to true, and restart.

Troubleshooting

First, 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 problems.

Homebridge debug mode:

homebridge -D

Check out the Issues (open and closed) for something relevant to the problem your experiencing.

Perhaps try running the most recent beta shown in the list of npm versions. The Release Notes include tidbits about the betas.

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 and for the Haiku photo.

All the users who reported issues and helped debug them, including @aveach who also made the es6 photo.

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.

homebridge-i6-bigassfans's People

Contributors

oogje avatar pponce avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

homebridge-i6-bigassfans's Issues

noLights option written as noLight in README.md

Not sure where else to report this, but I see under the Other Configuration Fields section the noLights option is written as noLight. I was struggling to figure out why the setting wasn't disabling the light for me so I dug into the commits and saw it should be plural.

Thanks for adding this feature!

Haiku Gen 4 with uplight but no downlight - detects both, creates bad switch

Describe The Bug:
I have configured a Haiku Gen 4 fan with an installed Uplight. During device detection, both an uplight and downlight are detected (see logs below). This creates a second light switch in Homekit which does not do anything, but which when activated (via homekit) confuses the BAF app - even using the BAF app the uplight cannot be used until the erroneous downlight switch is deactivated in homekit and the uplight switch is toggled. E.g. if the erroneous downlight switch is the last-used light switch in homekit, no lights will work.

Logs:

[6/17/2023, 7:57:18 PM] [BigAssFans-i6] Executed didFinishLaunching callback
[6/17/2023, 7:57:18 PM] [BigAssFans-i6] Init - initializing devices
[6/17/2023, 7:57:18 PM] [BigAssFans-i6] Restoring existing accessory from cache: Bedroom Fan
[6/17/2023, 7:57:19 PM] Homebridge v1.6.1 (HAP v0.11.1) (Homebridge 1D8E) is running on port 51258.
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(7/11) Bedroom Fan - sending c012021a00c0
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(8/11) Bedroom Fan - accessory client got: 847 bytes
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[0]: 0x12, 0x6e, 0x22, 0x24, 0x12, 0x0f, 0xc2, 0x07, 0x0c, 0x31, 0x39, 0x32, 0x2e, 0x31, 0x36, 0x38, 0x2e, 0x31, 0x2e, 0x36, 0x38, 0x12, 0x03, 0xc8, 0x07, 0x00, 0x12, 0x0c, 0xe2, 0x07, 0x09, 0x0a, 0x07, 0x49, 0x4e, 0x4e, 0x48, 0x49, 0x4f, 0x54, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x64, 0x31, 0x35, 0x66, 0x34, 0x64, 0x66, 0x62, 0x34, 0x63, 0x65, 0x61, 0x63, 0x33, 0x38, 0x31, 0x66, 0x37, 0x31, 0x37, 0x66, 0x33, 0x37, 0x61, 0x62, 0x30, 0x65, 0x35, 0x66, 0x39, 0x61, 0x33, 0x37, 0x36, 0x61, 0x34, 0x38, 0x35, 0x62, 0x66, 0x61, 0x31, 0x34, 0x32, 0x66, 0x38, 0x31, 0x34, 0x36, 0x33, 0x37, 0x62, 0x38, 0x38, 0x63, 0x39, 0x65, 0x38, 0x66, 0x38, 0x39, 0x38, 0x38, 0x33
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[1]: 0x12, 0xec, 0x01, 0x22, 0xa1, 0x01, 0x12, 0x03, 0xd8, 0x02, 0x00, 0x12, 0x03, 0xe0, 0x02, 0x00, 0x12, 0x03, 0xe8, 0x02, 0x00, 0x12, 0x03, 0xf0, 0x02, 0x00, 0x12, 0x06, 0xc2, 0x03, 0x03, 0x6e, 0x6f, 0x77, 0x12, 0x03, 0xd0, 0x03, 0x00, 0x12, 0x03, 0xc8, 0x08, 0x01, 0x12, 0x03, 0xd0, 0x08, 0x07, 0x12, 0x03, 0xa8, 0x08, 0x01, 0x12, 0x03, 0x88, 0x04, 0x00, 0x12, 0x03, 0xf8, 0x05, 0x00, 0x12, 0x03, 0x80, 0x06, 0x00, 0x12, 0x03, 0xf8, 0x03, 0x00, 0x12, 0x03, 0x80, 0x04, 0x00, 0x12, 0x03, 0xa0, 0x03, 0x01, 0x12, 0x04, 0xa8, 0x03, 0xd8, 0x04, 0x12, 0x03, 0xb0, 0x03, 0x00, 0x12, 0x04, 0xb8, 0x03, 0x84, 0x07, 0x12, 0x03, 0xc8, 0x03, 0x00, 0x12, 0x03, 0xe0, 0x08, 0x00, 0x12, 0x03, 0xda, 0x03, 0x00, 0x12, 0x03, 0x90, 0x04, 0x01, 0x12, 0x03, 0x98, 0x04, 0x00, 0x12, 0x04, 0x80, 0x03, 0x9d, 0x12, 0x12, 0x03, 0xf8, 0x02, 0x01, 0x12, 0x03, 0x88, 0x03, 0x00, 0x12, 0x03, 0xe0, 0x03, 0x00, 0x12, 0x03, 0xf0, 0x03, 0x00, 0x12, 0x03, 0x90, 0x03, 0x00, 0x12, 0x03, 0x98, 0x03, 0x07, 0x12, 0x03, 0xe8, 0x03, 0x01, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x62, 0x63, 0x30, 0x64, 0x32, 0x37, 0x35, 0x34, 0x39, 0x64, 0x35, 0x62, 0x66, 0x33, 0x34, 0x63, 0x38, 0x31, 0x32, 0x63, 0x37, 0x36, 0x34, 0x61, 0x35, 0x36, 0x62, 0x61, 0x37, 0x36, 0x31, 0x34, 0x37, 0x31, 0x61, 0x65, 0x34, 0x37, 0x36, 0x63, 0x33, 0x30, 0x64, 0x62, 0x36, 0x35, 0x38, 0x32, 0x39, 0x65, 0x36, 0x37, 0x32, 0x61, 0x32, 0x37, 0x39, 0x34, 0x65, 0x33, 0x61, 0x62, 0x61, 0x66
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[2]: 0x12, 0xbd, 0x01, 0x22, 0x73, 0x12, 0x03, 0xa8, 0x04, 0x00, 0x12, 0x03, 0xb0, 0x04, 0x00, 0x12, 0x04, 0xb8, 0x04, 0x8c, 0x15, 0x12, 0x03, 0xa0, 0x04, 0x00, 0x12, 0x04, 0xf0, 0x04, 0x8c, 0x15, 0x12, 0x04, 0xf8, 0x04, 0xa0, 0x1f, 0x12, 0x06, 0xe2, 0x04, 0x03, 0x6e, 0x6f, 0x77, 0x12, 0x03, 0xe8, 0x04, 0x00, 0x12, 0x03, 0x90, 0x05, 0x01, 0x12, 0x03, 0x9a, 0x05, 0x00, 0x12, 0x03, 0xe0, 0x0a, 0x01, 0x12, 0x06, 0xf0, 0x0a, 0x80, 0xdd, 0xdb, 0x01, 0x12, 0x07, 0xe8, 0x0a, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x12, 0x03, 0xf8, 0x0a, 0x00, 0x12, 0x03, 0xc0, 0x04, 0x01, 0x12, 0x04, 0xc8, 0x04, 0xd8, 0x04, 0x12, 0x03, 0xd0, 0x04, 0x00, 0x12, 0x04, 0xd8, 0x04, 0xa0, 0x38, 0x12, 0x03, 0xa8, 0x05, 0x01, 0x12, 0x03, 0xe8, 0x06, 0x00, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x65, 0x33, 0x34, 0x66, 0x34, 0x38, 0x38, 0x32, 0x61, 0x37, 0x36, 0x63, 0x65, 0x62, 0x37, 0x39, 0x63, 0x66, 0x65, 0x61, 0x66, 0x61, 0x64, 0x65, 0x62, 0x66, 0x39, 0x34, 0x39, 0x64, 0x36, 0x30, 0x38, 0x37, 0x63, 0x32, 0x35, 0x37, 0x31, 0x38, 0x34, 0x61, 0x61, 0x34, 0x65, 0x61, 0x66, 0x37, 0x32, 0x62, 0x66, 0x37, 0x63, 0x38, 0x62, 0x34, 0x36, 0x61, 0x34, 0x31, 0x33, 0x36, 0x61, 0x32
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[3]: 0x12, 0x74, 0x22, 0x2a, 0x12, 0x03, 0xc8, 0x05, 0x09, 0x12, 0x04, 0xb0, 0x05, 0x99, 0x11, 0x12, 0x04, 0xb8, 0x05, 0xf4, 0x24, 0x12, 0x17, 0x8a, 0x01, 0x14, 0x08, 0x01, 0x10, 0x01, 0x18, 0x01, 0x30, 0x01, 0x38, 0x01, 0x40, 0x01, 0x50, 0x01, 0x58, 0x01, 0x68, 0x01, 0x70, 0x01, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x33, 0x32, 0x31, 0x39, 0x38, 0x66, 0x32, 0x36, 0x35, 0x32, 0x63, 0x61, 0x64, 0x62, 0x33, 0x38, 0x66, 0x32, 0x61, 0x36, 0x39, 0x35, 0x63, 0x62, 0x34, 0x32, 0x36, 0x31, 0x39, 0x66, 0x65, 0x33, 0x38, 0x35, 0x33, 0x31, 0x30, 0x31, 0x62, 0x31, 0x65, 0x63, 0x61, 0x62, 0x33, 0x62, 0x63, 0x31, 0x35, 0x31, 0x61, 0x36, 0x30, 0x64, 0x61, 0x62, 0x65, 0x61, 0x66, 0x37, 0x39, 0x37, 0x31, 0x30
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] Bedroom Fan - downlight detected
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] Bedroom Fan - uplight detected
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[4]: 0x12, 0xab, 0x01, 0x22, 0x61, 0x12, 0x03, 0xa0, 0x05, 0x01, 0x12, 0x16, 0x82, 0x0b, 0x13, 0x08, 0x01, 0x10, 0xe8, 0x02, 0x1a, 0x05, 0x02, 0x03, 0x04, 0x05, 0x06, 0x20, 0x1e, 0x28, 0x4b, 0x38, 0x8c, 0x15, 0x12, 0x13, 0x8a, 0x0b, 0x10, 0x1a, 0x07, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x20, 0x1e, 0x28, 0x64, 0x38, 0x88, 0x27, 0x12, 0x15, 0x92, 0x0b, 0x12, 0x08, 0x01, 0x1a, 0x07, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x20, 0x1e, 0x28, 0x4b, 0x38, 0x8c, 0x15, 0x12, 0x16, 0x9a, 0x0b, 0x13, 0x10, 0xe4, 0x0a, 0x1a, 0x07, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x20, 0x78, 0x28, 0x01, 0x38, 0x98, 0x11, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x33, 0x63, 0x65, 0x66, 0x30, 0x38, 0x32, 0x61, 0x61, 0x62, 0x39, 0x37, 0x37, 0x37, 0x65, 0x65, 0x62, 0x39, 0x31, 0x65, 0x39, 0x64, 0x31, 0x62, 0x32, 0x65, 0x34, 0x33, 0x64, 0x64, 0x36, 0x66, 0x34, 0x31, 0x39, 0x35, 0x31, 0x39, 0x62, 0x38, 0x36, 0x34, 0x36, 0x64, 0x66, 0x36, 0x36, 0x38, 0x30, 0x62, 0x62, 0x66, 0x31, 0x38, 0x61, 0x64, 0x37, 0x35, 0x31, 0x31, 0x31, 0x39, 0x32, 0x31
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(8/11) Bedroom Fan - accessory client got: 509 bytes
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[0]: 0x12, 0xf6, 0x03, 0x22, 0xab, 0x03, 0x12, 0x11, 0x82, 0x01, 0x0e, 0x12, 0x05, 0x33, 0x2e, 0x32, 0x2e, 0x31, 0x1a, 0x05, 0x33, 0x2e, 0x32, 0x2e, 0x31, 0x12, 0x0f, 0x0a, 0x0d, 0x42, 0x65, 0x64, 0x72, 0x6f, 0x6f, 0x6d, 0x20, 0x48, 0x61, 0x69, 0x6b, 0x75, 0x12, 0x12, 0x12, 0x10, 0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x48, 0x2f, 0x49, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x04, 0x18, 0xc0, 0xbe, 0x01, 0x12, 0x15, 0x22, 0x13, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x36, 0x2d, 0x31, 0x37, 0x54, 0x31, 0x39, 0x3a, 0x35, 0x37, 0x3a, 0x31, 0x39, 0x12, 0x16, 0x2a, 0x14, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x36, 0x2d, 0x31, 0x37, 0x54, 0x32, 0x33, 0x3a, 0x35, 0x37, 0x3a, 0x31, 0x39, 0x5a, 0x12, 0x3c, 0x32, 0x3a, 0x47, 0x4d, 0x54, 0x35, 0x3a, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x47, 0x4d, 0x54, 0x34, 0x3a, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x2c, 0x4d, 0x30, 0x33, 0x2e, 0x30, 0x32, 0x2e, 0x30, 0x30, 0x2f, 0x30, 0x32, 0x3a, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x2c, 0x4d, 0x31, 0x31, 0x2e, 0x30, 0x31, 0x2e, 0x30, 0x30, 0x2f, 0x30, 0x32, 0x3a, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x12, 0x07, 0x3a, 0x05, 0x33, 0x2e, 0x32, 0x2e, 0x31, 0x12, 0x13, 0x42, 0x11, 0x38, 0x63, 0x3a, 0x34, 0x62, 0x3a, 0x31, 0x34, 0x3a, 0x35, 0x30, 0x3a, 0x62, 0x32, 0x3a, 0x36, 0x34, 0x12, 0x26, 0x4a, 0x24, 0x34, 0x38, 0x38, 0x65, 0x64, 0x62, 0x30, 0x34, 0x2d, 0x61, 0x66, 0x65, 0x33, 0x2d, 0x34, 0x63, 0x35, 0x63, 0x2d, 0x38, 0x66, 0x33, 0x65, 0x2d, 0x31, 0x36, 0x62, 0x35, 0x39, 0x36, 0x32, 0x37, 0x30, 0x64, 0x66, 0x63, 0x12, 0x26, 0x52, 0x24, 0x39, 0x39, 0x35, 0x32, 0x39, 0x62, 0x66, 0x31, 0x2d, 0x39, 0x66, 0x31, 0x66, 0x2d, 0x35, 0x30, 0x33, 0x35, 0x2d, 0x38, 0x31, 0x36, 0x37, 0x2d, 0x36, 0x64, 0x64, 0x30, 0x37, 0x63, 0x38, 0x63, 0x64, 0x62, 0x36, 0x36, 0x12, 0x14, 0x5a, 0x12, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x69, 0x67, 0x61, 0x73, 0x73, 0x66, 0x61, 0x6e, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x12, 0x03, 0xb0, 0x07, 0x00, 0x12, 0x03, 0x6a, 0x01, 0x36, 0x12, 0x17, 0x8a, 0x01, 0x14, 0x08, 0x01, 0x10, 0x01, 0x18, 0x01, 0x30, 0x01, 0x38, 0x01, 0x40, 0x01, 0x50, 0x01, 0x58, 0x01, 0x68, 0x01, 0x70, 0x01, 0x12, 0x02, 0x70, 0x00, 0x12, 0x03, 0xb0, 0x08, 0x00, 0x12, 0x03, 0xb8, 0x08, 0x00, 0x12, 0x03, 0xc0, 0x08, 0x00, 0x12, 0x02, 0x78, 0x18, 0x12, 0x03, 0xb0, 0x09, 0x01, 0x12, 0x03, 0xc8, 0x09, 0x01, 0x12, 0x0a, 0xe2, 0x09, 0x07, 0x08, 0x91, 0x01, 0x10, 0x06, 0x20, 0x02, 0x12, 0x0d, 0xaa, 0x02, 0x0a, 0x31, 0x30, 0x35, 0x30, 0x2d, 0x34, 0x36, 0x2d, 0x35, 0x30, 0x12, 0x1b, 0x82, 0x01, 0x18, 0x08, 0x01, 0x12, 0x05, 0x33, 0x2e, 0x32, 0x2e, 0x30, 0x1a, 0x0d, 0x49, 0x6e, 0x64, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x65, 0x35, 0x32, 0x35, 0x61, 0x66, 0x64, 0x33, 0x35, 0x39, 0x61, 0x37, 0x39, 0x63, 0x66, 0x62, 0x65, 0x38, 0x65, 0x64, 0x62, 0x62, 0x35, 0x64, 0x34, 0x37, 0x31, 0x36, 0x34, 0x31, 0x31, 0x61, 0x61, 0x30, 0x61, 0x32, 0x31, 0x64, 0x35, 0x37, 0x31, 0x66, 0x35, 0x64, 0x36, 0x66, 0x35, 0x31, 0x65, 0x61, 0x65, 0x32, 0x37, 0x32, 0x62, 0x63, 0x62, 0x35, 0x62, 0x34, 0x36, 0x65, 0x65, 0x66
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog progress(0/0) Bedroom Fan - product type: Haiku H/I Series (0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x48, 0x2f, 0x49, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73)
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog progress(0/0) Bedroom Fan - firmware: 3.2.1
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(8/11) Bedroom Fan - accessory client got: 295 bytes
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[0]: 0x12, 0x7c, 0x22, 0x32, 0x12, 0x03, 0xb8, 0x09, 0x01, 0x12, 0x2b, 0xc2, 0x09, 0x28, 0x12, 0x05, 0x33, 0x2e, 0x32, 0x2e, 0x30, 0x1a, 0x05, 0x33, 0x2e, 0x30, 0x2e, 0x30, 0x22, 0x11, 0x38, 0x46, 0x3a, 0x35, 0x33, 0x3a, 0x36, 0x43, 0x3a, 0x37, 0x45, 0x3a, 0x46, 0x41, 0x3a, 0x44, 0x35, 0x28, 0x64, 0x30, 0xc1, 0x19, 0x38, 0x03, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x62, 0x65, 0x36, 0x64, 0x66, 0x36, 0x31, 0x37, 0x66, 0x63, 0x35, 0x39, 0x34, 0x34, 0x34, 0x36, 0x36, 0x65, 0x38, 0x64, 0x32, 0x61, 0x63, 0x38, 0x38, 0x32, 0x39, 0x63, 0x61, 0x64, 0x39, 0x37, 0x63, 0x32, 0x63, 0x63, 0x37, 0x37, 0x65, 0x66, 0x62, 0x35, 0x34, 0x35, 0x65, 0x32, 0x63, 0x36, 0x31, 0x37, 0x61, 0x64, 0x36, 0x34, 0x37, 0x62, 0x62, 0x31, 0x65, 0x33, 0x39, 0x37, 0x31, 0x37
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[1]: 0x12, 0x4f, 0x22, 0x05, 0x12, 0x03, 0xda, 0x0a, 0x00, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x65, 0x33, 0x34, 0x65, 0x33, 0x31, 0x32, 0x64, 0x35, 0x36, 0x32, 0x39, 0x62, 0x33, 0x31, 0x33, 0x62, 0x31, 0x63, 0x30, 0x62, 0x36, 0x63, 0x63, 0x64, 0x37, 0x65, 0x35, 0x38, 0x37, 0x30, 0x32, 0x35, 0x37, 0x34, 0x30, 0x65, 0x66, 0x36, 0x61, 0x63, 0x38, 0x61, 0x39, 0x30, 0x31, 0x66, 0x34, 0x35, 0x31, 0x35, 0x37, 0x66, 0x62, 0x30, 0x39, 0x31, 0x39, 0x35, 0x36, 0x35, 0x64, 0x30, 0x39
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[2]: 0x12, 0x50, 0x22, 0x06, 0x1a, 0x04, 0x08, 0x03, 0x20, 0x10, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x30, 0x30, 0x61, 0x35, 0x64, 0x30, 0x30, 0x30, 0x66, 0x63, 0x63, 0x35, 0x39, 0x32, 0x35, 0x34, 0x35, 0x66, 0x39, 0x65, 0x30, 0x35, 0x63, 0x61, 0x38, 0x34, 0x30, 0x30, 0x36, 0x62, 0x32, 0x38, 0x65, 0x36, 0x31, 0x66, 0x62, 0x35, 0x31, 0x66, 0x63, 0x65, 0x37, 0x33, 0x36, 0x62, 0x30, 0x34, 0x35, 0x35, 0x62, 0x62, 0x63, 0x33, 0x33, 0x65, 0x36, 0x38, 0x66, 0x64, 0x34, 0x36, 0x36, 0x34
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(8/11) Bedroom Fan - accessory client got: 847 bytes
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[0]: 0x12, 0x6e, 0x22, 0x24, 0x12, 0x0f, 0xc2, 0x07, 0x0c, 0x31, 0x39, 0x32, 0x2e, 0x31, 0x36, 0x38, 0x2e, 0x31, 0x2e, 0x36, 0x38, 0x12, 0x03, 0xc8, 0x07, 0x00, 0x12, 0x0c, 0xe2, 0x07, 0x09, 0x0a, 0x07, 0x49, 0x4e, 0x4e, 0x48, 0x49, 0x4f, 0x54, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x64, 0x31, 0x35, 0x66, 0x34, 0x64, 0x66, 0x62, 0x34, 0x63, 0x65, 0x61, 0x63, 0x33, 0x38, 0x31, 0x66, 0x37, 0x31, 0x37, 0x66, 0x33, 0x37, 0x61, 0x62, 0x30, 0x65, 0x35, 0x66, 0x39, 0x61, 0x33, 0x37, 0x36, 0x61, 0x34, 0x38, 0x35, 0x62, 0x66, 0x61, 0x31, 0x34, 0x32, 0x66, 0x38, 0x31, 0x34, 0x36, 0x33, 0x37, 0x62, 0x38, 0x38, 0x63, 0x39, 0x65, 0x38, 0x66, 0x38, 0x39, 0x38, 0x38, 0x33
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[1]: 0x12, 0xec, 0x01, 0x22, 0xa1, 0x01, 0x12, 0x03, 0xd8, 0x02, 0x00, 0x12, 0x03, 0xe0, 0x02, 0x00, 0x12, 0x03, 0xe8, 0x02, 0x00, 0x12, 0x03, 0xf0, 0x02, 0x00, 0x12, 0x06, 0xc2, 0x03, 0x03, 0x6e, 0x6f, 0x77, 0x12, 0x03, 0xd0, 0x03, 0x00, 0x12, 0x03, 0xc8, 0x08, 0x01, 0x12, 0x03, 0xd0, 0x08, 0x07, 0x12, 0x03, 0xa8, 0x08, 0x01, 0x12, 0x03, 0x88, 0x04, 0x00, 0x12, 0x03, 0xf8, 0x05, 0x00, 0x12, 0x03, 0x80, 0x06, 0x00, 0x12, 0x03, 0xf8, 0x03, 0x00, 0x12, 0x03, 0x80, 0x04, 0x00, 0x12, 0x03, 0xa0, 0x03, 0x01, 0x12, 0x04, 0xa8, 0x03, 0xd8, 0x04, 0x12, 0x03, 0xb0, 0x03, 0x00, 0x12, 0x04, 0xb8, 0x03, 0x84, 0x07, 0x12, 0x03, 0xc8, 0x03, 0x00, 0x12, 0x03, 0xe0, 0x08, 0x00, 0x12, 0x03, 0xda, 0x03, 0x00, 0x12, 0x03, 0x90, 0x04, 0x01, 0x12, 0x03, 0x98, 0x04, 0x00, 0x12, 0x04, 0x80, 0x03, 0x9d, 0x12, 0x12, 0x03, 0xf8, 0x02, 0x01, 0x12, 0x03, 0x88, 0x03, 0x00, 0x12, 0x03, 0xe0, 0x03, 0x00, 0x12, 0x03, 0xf0, 0x03, 0x00, 0x12, 0x03, 0x90, 0x03, 0x00, 0x12, 0x03, 0x98, 0x03, 0x07, 0x12, 0x03, 0xe8, 0x03, 0x01, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x62, 0x63, 0x30, 0x64, 0x32, 0x37, 0x35, 0x34, 0x39, 0x64, 0x35, 0x62, 0x66, 0x33, 0x34, 0x63, 0x38, 0x31, 0x32, 0x63, 0x37, 0x36, 0x34, 0x61, 0x35, 0x36, 0x62, 0x61, 0x37, 0x36, 0x31, 0x34, 0x37, 0x31, 0x61, 0x65, 0x34, 0x37, 0x36, 0x63, 0x33, 0x30, 0x64, 0x62, 0x36, 0x35, 0x38, 0x32, 0x39, 0x65, 0x36, 0x37, 0x32, 0x61, 0x32, 0x37, 0x39, 0x34, 0x65, 0x33, 0x61, 0x62, 0x61, 0x66
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[2]: 0x12, 0xbd, 0x01, 0x22, 0x73, 0x12, 0x03, 0xa8, 0x04, 0x00, 0x12, 0x03, 0xb0, 0x04, 0x00, 0x12, 0x04, 0xb8, 0x04, 0x8c, 0x15, 0x12, 0x03, 0xa0, 0x04, 0x00, 0x12, 0x04, 0xf0, 0x04, 0x8c, 0x15, 0x12, 0x04, 0xf8, 0x04, 0xa0, 0x1f, 0x12, 0x06, 0xe2, 0x04, 0x03, 0x6e, 0x6f, 0x77, 0x12, 0x03, 0xe8, 0x04, 0x00, 0x12, 0x03, 0x90, 0x05, 0x01, 0x12, 0x03, 0x9a, 0x05, 0x00, 0x12, 0x03, 0xe0, 0x0a, 0x01, 0x12, 0x06, 0xf0, 0x0a, 0x80, 0xdd, 0xdb, 0x01, 0x12, 0x07, 0xe8, 0x0a, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x12, 0x03, 0xf8, 0x0a, 0x00, 0x12, 0x03, 0xc0, 0x04, 0x01, 0x12, 0x04, 0xc8, 0x04, 0xd8, 0x04, 0x12, 0x03, 0xd0, 0x04, 0x00, 0x12, 0x04, 0xd8, 0x04, 0xa0, 0x38, 0x12, 0x03, 0xa8, 0x05, 0x01, 0x12, 0x03, 0xe8, 0x06, 0x00, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x65, 0x33, 0x34, 0x66, 0x34, 0x38, 0x38, 0x32, 0x61, 0x37, 0x36, 0x63, 0x65, 0x62, 0x37, 0x39, 0x63, 0x66, 0x65, 0x61, 0x66, 0x61, 0x64, 0x65, 0x62, 0x66, 0x39, 0x34, 0x39, 0x64, 0x36, 0x30, 0x38, 0x37, 0x63, 0x32, 0x35, 0x37, 0x31, 0x38, 0x34, 0x61, 0x61, 0x34, 0x65, 0x61, 0x66, 0x37, 0x32, 0x62, 0x66, 0x37, 0x63, 0x38, 0x62, 0x34, 0x36, 0x61, 0x34, 0x31, 0x33, 0x36, 0x61, 0x32
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[3]: 0x12, 0x74, 0x22, 0x2a, 0x12, 0x03, 0xc8, 0x05, 0x09, 0x12, 0x04, 0xb0, 0x05, 0x99, 0x11, 0x12, 0x04, 0xb8, 0x05, 0xf4, 0x24, 0x12, 0x17, 0x8a, 0x01, 0x14, 0x08, 0x01, 0x10, 0x01, 0x18, 0x01, 0x30, 0x01, 0x38, 0x01, 0x40, 0x01, 0x50, 0x01, 0x58, 0x01, 0x68, 0x01, 0x70, 0x01, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x33, 0x32, 0x31, 0x39, 0x38, 0x66, 0x32, 0x36, 0x35, 0x32, 0x63, 0x61, 0x64, 0x62, 0x33, 0x38, 0x66, 0x32, 0x61, 0x36, 0x39, 0x35, 0x63, 0x62, 0x34, 0x32, 0x36, 0x31, 0x39, 0x66, 0x65, 0x33, 0x38, 0x35, 0x33, 0x31, 0x30, 0x31, 0x62, 0x31, 0x65, 0x63, 0x61, 0x62, 0x33, 0x62, 0x63, 0x31, 0x35, 0x31, 0x61, 0x36, 0x30, 0x64, 0x61, 0x62, 0x65, 0x61, 0x66, 0x37, 0x39, 0x37, 0x31, 0x30
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] Bedroom Fan - downlight detected
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] Bedroom Fan - uplight detected
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[4]: 0x12, 0xab, 0x01, 0x22, 0x61, 0x12, 0x03, 0xa0, 0x05, 0x01, 0x12, 0x16, 0x82, 0x0b, 0x13, 0x08, 0x01, 0x10, 0xe8, 0x02, 0x1a, 0x05, 0x02, 0x03, 0x04, 0x05, 0x06, 0x20, 0x1e, 0x28, 0x4b, 0x38, 0x8c, 0x15, 0x12, 0x13, 0x8a, 0x0b, 0x10, 0x1a, 0x07, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x20, 0x1e, 0x28, 0x64, 0x38, 0x88, 0x27, 0x12, 0x15, 0x92, 0x0b, 0x12, 0x08, 0x01, 0x1a, 0x07, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x20, 0x1e, 0x28, 0x4b, 0x38, 0x8c, 0x15, 0x12, 0x16, 0x9a, 0x0b, 0x13, 0x10, 0xe4, 0x0a, 0x1a, 0x07, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x20, 0x78, 0x28, 0x01, 0x38, 0x98, 0x11, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x33, 0x63, 0x65, 0x66, 0x30, 0x38, 0x32, 0x61, 0x61, 0x62, 0x39, 0x37, 0x37, 0x37, 0x65, 0x65, 0x62, 0x39, 0x31, 0x65, 0x39, 0x64, 0x31, 0x62, 0x32, 0x65, 0x34, 0x33, 0x64, 0x64, 0x36, 0x66, 0x34, 0x31, 0x39, 0x35, 0x31, 0x39, 0x62, 0x38, 0x36, 0x34, 0x36, 0x64, 0x66, 0x36, 0x36, 0x38, 0x30, 0x62, 0x62, 0x66, 0x31, 0x38, 0x61, 0x64, 0x37, 0x35, 0x31, 0x31, 0x31, 0x39, 0x32, 0x31
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(8/11) Bedroom Fan - accessory client got: 509 bytes
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[0]: 0x12, 0xf6, 0x03, 0x22, 0xab, 0x03, 0x12, 0x11, 0x82, 0x01, 0x0e, 0x12, 0x05, 0x33, 0x2e, 0x32, 0x2e, 0x31, 0x1a, 0x05, 0x33, 0x2e, 0x32, 0x2e, 0x31, 0x12, 0x0f, 0x0a, 0x0d, 0x42, 0x65, 0x64, 0x72, 0x6f, 0x6f, 0x6d, 0x20, 0x48, 0x61, 0x69, 0x6b, 0x75, 0x12, 0x12, 0x12, 0x10, 0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x48, 0x2f, 0x49, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x04, 0x18, 0xc0, 0xbe, 0x01, 0x12, 0x15, 0x22, 0x13, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x36, 0x2d, 0x31, 0x37, 0x54, 0x31, 0x39, 0x3a, 0x35, 0x37, 0x3a, 0x31, 0x39, 0x12, 0x16, 0x2a, 0x14, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x36, 0x2d, 0x31, 0x37, 0x54, 0x32, 0x33, 0x3a, 0x35, 0x37, 0x3a, 0x31, 0x39, 0x5a, 0x12, 0x3c, 0x32, 0x3a, 0x47, 0x4d, 0x54, 0x35, 0x3a, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x47, 0x4d, 0x54, 0x34, 0x3a, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x2c, 0x4d, 0x30, 0x33, 0x2e, 0x30, 0x32, 0x2e, 0x30, 0x30, 0x2f, 0x30, 0x32, 0x3a, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x2c, 0x4d, 0x31, 0x31, 0x2e, 0x30, 0x31, 0x2e, 0x30, 0x30, 0x2f, 0x30, 0x32, 0x3a, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x12, 0x07, 0x3a, 0x05, 0x33, 0x2e, 0x32, 0x2e, 0x31, 0x12, 0x13, 0x42, 0x11, 0x38, 0x63, 0x3a, 0x34, 0x62, 0x3a, 0x31, 0x34, 0x3a, 0x35, 0x30, 0x3a, 0x62, 0x32, 0x3a, 0x36, 0x34, 0x12, 0x26, 0x4a, 0x24, 0x34, 0x38, 0x38, 0x65, 0x64, 0x62, 0x30, 0x34, 0x2d, 0x61, 0x66, 0x65, 0x33, 0x2d, 0x34, 0x63, 0x35, 0x63, 0x2d, 0x38, 0x66, 0x33, 0x65, 0x2d, 0x31, 0x36, 0x62, 0x35, 0x39, 0x36, 0x32, 0x37, 0x30, 0x64, 0x66, 0x63, 0x12, 0x26, 0x52, 0x24, 0x39, 0x39, 0x35, 0x32, 0x39, 0x62, 0x66, 0x31, 0x2d, 0x39, 0x66, 0x31, 0x66, 0x2d, 0x35, 0x30, 0x33, 0x35, 0x2d, 0x38, 0x31, 0x36, 0x37, 0x2d, 0x36, 0x64, 0x64, 0x30, 0x37, 0x63, 0x38, 0x63, 0x64, 0x62, 0x36, 0x36, 0x12, 0x14, 0x5a, 0x12, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x69, 0x67, 0x61, 0x73, 0x73, 0x66, 0x61, 0x6e, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x12, 0x03, 0xb0, 0x07, 0x00, 0x12, 0x03, 0x6a, 0x01, 0x36, 0x12, 0x17, 0x8a, 0x01, 0x14, 0x08, 0x01, 0x10, 0x01, 0x18, 0x01, 0x30, 0x01, 0x38, 0x01, 0x40, 0x01, 0x50, 0x01, 0x58, 0x01, 0x68, 0x01, 0x70, 0x01, 0x12, 0x02, 0x70, 0x00, 0x12, 0x03, 0xb0, 0x08, 0x00, 0x12, 0x03, 0xb8, 0x08, 0x00, 0x12, 0x03, 0xc0, 0x08, 0x00, 0x12, 0x02, 0x78, 0x18, 0x12, 0x03, 0xb0, 0x09, 0x01, 0x12, 0x03, 0xc8, 0x09, 0x01, 0x12, 0x0a, 0xe2, 0x09, 0x07, 0x08, 0x91, 0x01, 0x10, 0x06, 0x20, 0x02, 0x12, 0x0d, 0xaa, 0x02, 0x0a, 0x31, 0x30, 0x35, 0x30, 0x2d, 0x34, 0x36, 0x2d, 0x35, 0x30, 0x12, 0x1b, 0x82, 0x01, 0x18, 0x08, 0x01, 0x12, 0x05, 0x33, 0x2e, 0x32, 0x2e, 0x30, 0x1a, 0x0d, 0x49, 0x6e, 0x64, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x65, 0x35, 0x32, 0x35, 0x61, 0x66, 0x64, 0x33, 0x35, 0x39, 0x61, 0x37, 0x39, 0x63, 0x66, 0x62, 0x65, 0x38, 0x65, 0x64, 0x62, 0x62, 0x35, 0x64, 0x34, 0x37, 0x31, 0x36, 0x34, 0x31, 0x31, 0x61, 0x61, 0x30, 0x61, 0x32, 0x31, 0x64, 0x35, 0x37, 0x31, 0x66, 0x35, 0x64, 0x36, 0x66, 0x35, 0x31, 0x65, 0x61, 0x65, 0x32, 0x37, 0x32, 0x62, 0x63, 0x62, 0x35, 0x62, 0x34, 0x36, 0x65, 0x65, 0x66
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog progress(0/0) Bedroom Fan - product type: Haiku H/I Series (0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x48, 0x2f, 0x49, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73)
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog progress(0/0) Bedroom Fan - firmware: 3.2.1
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(8/11) Bedroom Fan - accessory client got: 295 bytes
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[0]: 0x12, 0x7c, 0x22, 0x32, 0x12, 0x03, 0xb8, 0x09, 0x01, 0x12, 0x2b, 0xc2, 0x09, 0x28, 0x12, 0x05, 0x33, 0x2e, 0x32, 0x2e, 0x30, 0x1a, 0x05, 0x33, 0x2e, 0x30, 0x2e, 0x30, 0x22, 0x11, 0x38, 0x46, 0x3a, 0x35, 0x33, 0x3a, 0x36, 0x43, 0x3a, 0x37, 0x45, 0x3a, 0x46, 0x41, 0x3a, 0x44, 0x35, 0x28, 0x64, 0x30, 0xc1, 0x19, 0x38, 0x03, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x62, 0x65, 0x36, 0x64, 0x66, 0x36, 0x31, 0x37, 0x66, 0x63, 0x35, 0x39, 0x34, 0x34, 0x34, 0x36, 0x36, 0x65, 0x38, 0x64, 0x32, 0x61, 0x63, 0x38, 0x38, 0x32, 0x39, 0x63, 0x61, 0x64, 0x39, 0x37, 0x63, 0x32, 0x63, 0x63, 0x37, 0x37, 0x65, 0x66, 0x62, 0x35, 0x34, 0x35, 0x65, 0x32, 0x63, 0x36, 0x31, 0x37, 0x61, 0x64, 0x36, 0x34, 0x37, 0x62, 0x62, 0x31, 0x65, 0x33, 0x39, 0x37, 0x31, 0x37
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[1]: 0x12, 0x4f, 0x22, 0x05, 0x12, 0x03, 0xda, 0x0a, 0x00, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x65, 0x33, 0x34, 0x65, 0x33, 0x31, 0x32, 0x64, 0x35, 0x36, 0x32, 0x39, 0x62, 0x33, 0x31, 0x33, 0x62, 0x31, 0x63, 0x30, 0x62, 0x36, 0x63, 0x63, 0x64, 0x37, 0x65, 0x35, 0x38, 0x37, 0x30, 0x32, 0x35, 0x37, 0x34, 0x30, 0x65, 0x66, 0x36, 0x61, 0x63, 0x38, 0x61, 0x39, 0x30, 0x31, 0x66, 0x34, 0x35, 0x31, 0x35, 0x37, 0x66, 0x62, 0x30, 0x39, 0x31, 0x39, 0x35, 0x36, 0x35, 0x64, 0x30, 0x39
[6/17/2023, 7:57:19 PM] [BigAssFans-i6] dblog network(11/11) Bedroom Fan - raw (unstuffed) chunks[2]: 0x12, 0x50, 0x22, 0x06, 0x1a, 0x04, 0x08, 0x03, 0x20, 0x10, 0x28, 0xdf, 0x90, 0xb9, 0xa4, 0x06, 0x32, 0x40, 0x30, 0x30, 0x61, 0x35, 0x64, 0x30, 0x30, 0x30, 0x66, 0x63, 0x63, 0x35, 0x39, 0x32, 0x35, 0x34, 0x35, 0x66, 0x39, 0x65, 0x30, 0x35, 0x63, 0x61, 0x38, 0x34, 0x30, 0x30, 0x36, 0x62, 0x32, 0x38, 0x65, 0x36, 0x31, 0x66, 0x62, 0x35, 0x31, 0x66, 0x63, 0x65, 0x37, 0x33, 0x36, 0x62, 0x30, 0x34, 0x35, 0x35, 0x62, 0x62, 0x63, 0x33, 0x33, 0x65, 0x36, 0x38, 0x66, 0x64, 0x34, 0x36, 0x36, 0x34

Plugin Config:

        {
            "fans": [
                {
                    "name": "Bedroom Fan",
                    "ip": "192.168.1.68",
                    "mac": "8c:4b:14:50:b2:64",
                    "fanModel": "Haiku H/I Series",
                    "showWhooshSwitch": true,
                    "showFanAutoSwitch": false,
                    "showLightAutoSwitch": false,
                    "showDimToWarmSwitch": false,
                    "showEcoModeSwitch": false,
                    "disableDirectionControl": false
                }
            ],
            "platform": "BigAssFans-i6"
        }

Environment:

  • Plugin Version:
  • Homebridge Version: 1.6.1
  • Node.js Version: Node.js v18.13.0
  • Operating System: OS: Linux 6.1.21-v8+ arm64

Homebridge cannot start w/plugin enabled. Support for regular Haiku?

Describe Your Problem:

I was previously using homebridge-bigAssFans v1.1.5 plugin and that worked out well for the older fan firmware. After updating the fan firmware to use the new Big Ass Fans app, I discovered the old plugin no longer worked with the fan. I think this is to be expected. I found this plugin and it appears to have recently added support for the new firmware fans. I didn't see mention of the 'regular' Haiku, but was hoping this may work for me.

After installing and configuring this plugin, Homebridge does not come back up after reboot. If I disable the plugin, Homebridge runs ok. I am hoping to get this working again if possible, but realize my fan might not be supported. Happy to assist with collecting any info that you may need from the regular Haiku as well. Thanks!

Logs:

[5/15/2022, 1:12:55 PM] Loaded plugin: [email protected]
[5/15/2022, 1:12:55 PM] Registering platform 'homebridge-i6-bigassfans.BigAssFans-i6'
...
[5/15/2022, 1:12:56 PM] [BigAssFans-i6] Initializing BigAssFans-i6 platform...
[5/15/2022, 1:12:56 PM] [BigAssFans-i6] Finished initializing platform
...
[5/15/2022, 1:12:56 PM] [BigAssFans-i6] Executed didFinishLaunching callback
[5/15/2022, 1:12:56 PM] [BigAssFans-i6] Init - initializing devices
[5/15/2022, 1:12:56 PM] [BigAssFans-i6] Adding new accessory: Haiku
...
[5/15/2022, 1:12:56 PM] Publishing bridge accessory (name: Homebridge C1A5, publishInfo: {
  username: '**',
  port: **,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: undefined
}).
Setup Payload:
X-HM://**
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

 ***-**-***

[5/15/2022, 1:12:56 PM] Homebridge v1.4.1 (HAP v0.10.2) (Homebridge C1A5) is running on port 52497.
[5/15/2022, 1:12:56 PM] [BigAssFans-i6] dblog progress(0/0) Haiku - model: Haiku H/I Series (0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x48, 0x2f, 0x49, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73)
[5/15/2022, 1:12:56 PM] [BigAssFans-i6] dblog progress(0/0) Haiku - firmware: 3.0.1
[5/15/2022, 1:12:56 PM] TypeError: Cannot read properties of undefined (reading 'updateCharacteristic')
    at lightOnState (/homebridge/node_modules/homebridge-i6-bigassfans/src/platformAccessory.ts:1211:31)
    at onData (/homebridge/node_modules/homebridge-i6-bigassfans/src/platformAccessory.ts:696:7)
    at Socket.<anonymous> (/homebridge/node_modules/homebridge-i6-bigassfans/src/platformAccessory.ts:652:5)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:199:23)
[5/15/2022, 1:12:56 PM] Got SIGTERM, shutting down Homebridge...
[5/15/2022, 1:12:56 PM] [BigAssFans-i6] Haiku - light detected
[5/15/2022, 1:12:56 PM] [BigAssFans-i6] Haiku - current relative humidity out of range: 1000, assuming no humidity sensor for model "Haiku H/I Series"



Plugin Config:
Fan has a static IP and confirmed Mac address is correct as reported on my network. (redacted)

{
    "fans": [
        {
            "name": "Haiku",
            "ip": "10.x.x.x",
            "mac": "xx:xx:xx:xx:xx:xx",
            "fanModel": "other",
            "whoosh": false,
            "fanAuto": false,
            "lightAuto": false,
            "dimToWarm": false,
            "ecoMode": false
        }
    ],
    "platform": "BigAssFans-i6"
}

Screenshots:

Environment:

  • Plugin Version: 0.4.3
  • Homebridge Version: 1.4.1
  • Node.js Version: 16.13.0
  • NPM Version: 8.1.0
  • Operating System: Docker on Ubuntu

Night Light Support

Not sure how feasible it is to enable this since I believe it would have to appear as another dimmer in the fan's settings and turning it on would turn off the main uplight/downlight, but it would be nice to automate it through HomeKit if it was possible.

I found the settings for it in the app under:
Fan Light Page → Settings → Light Tab → Night Light

light settings

night light

I am using a Gen 4 Haiku with the chromatic uplight:
https://store.bigassfans.com/en_us/haiku-chromatic-uplight

Thank you for all the hard work on this amazing plugin! I absolutely love it ♥️

Expose motion detection information

The es6 (and others I believe) have motion detection for their "auto" features. Would be cool to have this exposed to HomeKit so you can trigger things off of detected motion/persons.

Option for showFanDirectionSwitch

Is your feature request related to a problem? Please describe:
As stated in the documentation, Big Ass Fans discourages reversing speed. Having the option available in the Home app opens up the possibility that a family member will inadvertently toggle that at some point.

Describe the solution you'd like:
I'd like a toggle added in the config that I can enable to disable the fan direction characteristic all together. The goal is to remove the fan direction option on this device in HomeKit.

Haiku I-series fan light should not advertise color-changing

Describe The Bug:
Haiku I-series light control has controls for changing the color. This light only has adjustable brightness, not color.

To Reproduce:
Add a Haiku I-series fan with light. Open Home app, open fan light controls. There will be a white temperature selector which does not function.

Expected behavior:
Light dim-only controls.

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

                {
                    "name": "Master Bedroom Overhead Fan",
                    "ip": “xxx",
                    "mac": “xxx",
                    "whoosh": false,
                    "dimToWarm": false,
                    "fanAuto": false,
                    "lightAuto": false
                },

Screenshots:

IMG_2656

Environment:

  • Plugin Version: 0.4.1
  • Homebridge Version: 1.4.0
  • Node.js Version: v12.22.12
  • NPM Version: 6.14.16
  • Operating System: Ubuntu 20.04

propertiesTable === undefined

Describe The Bug:

I think, but unsure, after updating the Fan Firmware to 3.1.0 I see the following in the Logs.
However, the fan still responds controlling by HomeKit.

To Reproduce:

Expected behavior:

Logs:
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - propertiesTable[0x90, 0x04] === undefined
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - propertiesTable[0x98, 0x04] === undefined
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - propertiesTable[0xa8, 0x05] === undefined
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - propertiesTable[0xe8, 0x06] === undefined
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - no light detected
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - current relative humidity out of range: 1000, assuming no humidity sensor for model "Haiku H/I Series"
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - propertiesTable[0xa0, 0x05] === undefined
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - propertiesTable[0x82, 0x0b] === undefined
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - propertiesTable[0x8a, 0x0b] === undefined
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - propertiesTable[0x92, 0x0b] === undefined
[21.7.2022, 11:10:27] [BigAssFans-i6] Deckenventilator - propertiesTable[0x9a, 0x0b] === undefined

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

{
            "fans": [
                {
                    "name": "Deckenventilator",
                    "ip": "xxx:xxx:xxx:xx",
                    "mac": "xx:xx:xx:xx:xx",
                    "fanModel": "Haiku H/I Series",
                    "whoosh": true,
                    "fanAuto": true,
                    "lightAuto": false,
                    "dimToWarm": false,
                    "ecoMode": false,
                    "showTemperature": false
                }
            ],
            "platform": "BigAssFans-i6"
        }

Screenshots:

Environment:

  • Plugin Version: 0.4.3
  • Homebridge Version: 1.5.0
  • Node.js Version: 16.16.0
  • NPM Version:
  • Operating System: Raspbian GNU/Linux Stretch (9)

Hi from Germany. I migrated my Haiku Ceiling Fan, I Series to the Big Ass Fans app and FW 3.0.0 and switched to your plugin v0.3.14-beta.

Hi from Germany. I migrated my Haiku Ceiling Fan, I Series to the Big Ass Fans app and FW 3.0.0 and switched to your plugin v0.3.14-beta.
At first, it worked, but then I see this line in the log and the fan is not responding anymore.

[15.4.2022, 07:31:46] [BigAssFans-i6] Fan configured with ip: xxx.xxx.xxx.xx is not responding to our probe. This could happen if the fan model is not i6, but for instance Haiku.

Homebridge and all other plugins are running. Only restart the Homebridge makes the Fan available again.
I will have an eye on it.

@oogje Thanks for your time and work, sharing with the community and for the ongoing development.

Originally posted by @DJay-X in #3 (comment)

Fans that are not yet online when the plugin starts are left in a weird state

Describe The Bug:
Fans that are not immediately reachable when the plugin starts seem to remain stuck in Homebridge indefinitely. This was shortly after shutting off my house's main breaker, then turning it back on. The fans would have come online shortly after this, but were not online when the plugin first starts.

Strangely, no fan accessories are shown in the homebridge UI when it's in this state, but the fans are still in the home app with their previous settings. I can appear to alter fan state in the home app (adjust speed, light brightness) and these settings "stick" but do not actually update the fan.

Restarting homebridge fixes this issue.

To Reproduce:
Shutoff main breaker, then turn back on. Some alternative would work, as long as Homebridge comes online before the fans do.

Expected behavior:
The plugin is able to retry after a period and discover the fans once they're online. Similarly, if the fans are truly offline this should be reflected in the home app.

Logs:

[02/02/2024, 10:52:08] [BigAssFans-i6] Init - initializing devices
[02/02/2024, 10:52:08] [BigAssFans-i6] Restoring existing accessory from cache: X Room Fan
[02/02/2024, 10:52:08] [BigAssFans-i6] Restoring existing accessory from cache: Y Room Fan
[02/02/2024, 10:52:08] [BigAssFans-i6] Restoring existing accessory from cache: Z Room Fan
[02/02/2024, 10:52:08] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge BEED) is running on port 51107.
[02/02/2024, 10:52:08] [BigAssFans-i6] X Room Fan (192.168.5.210) is unreachable [ENETUNREACH].  Check the correct IP is in json.config.
[02/02/2024, 10:52:08] [BigAssFans-i6] Y Room Fan (192.168.5.211) is unreachable [ENETUNREACH].  Check the correct IP is in json.config.
[02/02/2024, 10:52:08] [BigAssFans-i6] Z Room Fan (192.168.5.212) is unreachable [ENETUNREACH].  Check the correct IP is in json.config.

Plugin Config:

{
    "fans": [
        {
            "name": "X Room Fan",
            "ip": "192.168.5.210",
            "mac": "8c:4b:14:b7:13:fd",
            "fanModel": "Haiku H/I Series",
            "showWhooshSwitch": false,
            "showFanAutoSwitch": false,
            "showLightAutoSwitch": false,
            "showDimToWarmSwitch": false,
            "showEcoModeSwitch": false,
            "disableDirectionControl": true,
            "uplightEquipped": false
        },
        {
            "name": "Y Room Fan",
            "ip": "192.168.5.211",
            "mac": "8c:4b:14:53:ae:45",
            "fanModel": "Haiku L Series",
            "showWhooshSwitch": false,
            "showFanAutoSwitch": false,
            "showLightAutoSwitch": false,
            "showDimToWarmSwitch": false,
            "showEcoModeSwitch": false,
            "disableDirectionControl": true
        },
        {
            "name": "Z Room Fan",
            "ip": "192.168.5.212",
            "mac": "e8:31:cd:8b:14:ed",
            "fanModel": "Haiku H/I Series",
            "showWhooshSwitch": false,
            "showFanAutoSwitch": false,
            "showLightAutoSwitch": false,
            "showDimToWarmSwitch": false,
            "showEcoModeSwitch": false,
            "disableDirectionControl": true,
            "uplightEquipped": true,
            "downlightEquipped": false
        }
    ],
    "platform": "BigAssFans-i6"
}

Screenshots:
N/A

Environment:

  • Plugin Version: v0.6.0-beta7
  • Homebridge Version: v1.7.0
  • Node.js Version: v18.18.0
  • NPM Version: v9.8.1
  • Operating System: Raspbian

Feature Request: Add more light controllability

Would be nice to have full on/off control and dimming capabilities of the main and up lights on both the i6 and Haikus.

Also, my i6s es6s have the “UV-C Clean Mode” so would be nice to be able to toggle that on and off as well.

Thanks for the amazing plugin!

Support for haiku model fans?

Love that you made a plugin for bigassfans.
Any chance you can extend it to work with their other types of fans? Haiku?
I have two of those and can help troubleshoot as needed. The other plugin for bigassfans does not seem to be actively developed.
I know it’s a long shot since you probably need one of these fans in your possession both for the drive to do it and also to be effective… thought I’d ask anyway. 😄

double lights

Hi,

since upgrading the plug-in to v0.5.2 both of my Haiku H series fans show two lights. Had installed the beta of v0.5.2 before because of my resolved issue #14

2E62F90D-A82F-44E7-980F-81A9D4233FF1

mDNS hostnames stopped working

Describe The Bug:

I’ve been successfully using the Entryway-XX:XX:XX.local type format since, well, April 23 2022 presumably (#6).

Today some combination of updates seems to have made that stop working. I repeatedly get:

Logs:

[7/22/2023, 7:15:42 AM] [homebridge-i6-bigassfans] Cocktail Room Overhead Fan (CocktailRoom-XX:XX:XX.local) : Unhandled network error: ENOTFOUND.  Attempting reconnect in 512 seconds.

Plugin Config:

{
    "fans": [
        {
            "name": "Master Bedroom Overhead Fan",
            "ip": “MasterBedroom-XX:XX:XX.local",
            "mac": “XX:XX:XX:XX:XX:XX",
            "fanModel": "Haiku H/I Series",
            "showWhooshSwitch": false,
            "showFanAutoSwitch": false,
            "showLightAutoSwitch": false,
            "showDimToWarmSwitch": false,
            "showEcoModeSwitch": false,
            "disableDirectionControl": false
        },
        {
            "name": "Cocktail Room Overhead Fan",
            "ip": “CocktailRoom-XX:XX:XX.local",
            "mac": "XX:XX:XX:XX:XX:XX",
            "fanModel": "Haiku H/I Series",
            "showWhooshSwitch": true,
            "showFanAutoSwitch": false,
            "showLightAutoSwitch": false,
            "showDimToWarmSwitch": false,
            "showEcoModeSwitch": false,
            "disableDirectionControl": false
        },
        {
            "name": "Study Overhead Fan",
            "ip": “Study-XX:XX:XX.local",
            "mac": "XX:XX:XX:XX:XX:XX",
            "fanModel": "Haiku H/I Series",
            "showWhooshSwitch": true,
            "showFanAutoSwitch": false,
            "showLightAutoSwitch": false,
            "showDimToWarmSwitch": false,
            "showEcoModeSwitch": false,
            "disableDirectionControl": false
        }
    ],
    "_bridge": {
        "username": "XX:XX:XX:XX:XX:XX"
    },
    "platform": "BigAssFans-i6"
}

Environment:

  • Plugin Version: v0.5.4 (updated recently)
  • Homebridge Version: 1.6.1 (updated recently)
  • Node.js Version: v18.17.0 (updated recently)
  • NPM Version: 9.6.7
  • Operating System: Ubunutu 22.04.2 LTS (didn’t change, but I perform regular apt full-upgrade)

Things I tried:

  • Confirmed I can ping CocktailRoom-XX:XX:XX.local and all the rest from the computer running Homebridge just fine.
  • Switched Homebridge between Avahi and Ciao, no change.

For now I’ve switched to resolved IP address, which works.

es6 support

Requesting support for the new es6 model. This model has separate up light and down light controls.

Haiku L Series , connects and tiles show, but does not control anything

Fan: Haiku L Series
Firmware: 3.1.0

I am having an issue in which the plugin connects to the Fan and shows all the necessary tiles/accessories in homekit. There are no error messages on Homebridge.

The fan will not do anything when I use the tiles in homebridge or in homekit. It seems to be communicating with the fan since all the correct accessories populate, but it just does not control anything. I just tried clearing the accessory cache and restarted, still nothing. Clicking the tiles does not result in controlling the fan.

Below is the initialization log:
[9/13/2022, 3:55:55 PM] [homebridge-i6-bigassfans] Launched child bridge with PID 3148 [9/13/2022, 3:55:55 PM] Registering platform 'homebridge-i6-bigassfans.BigAssFans-i6' [9/13/2022, 3:55:55 PM] [homebridge-i6-bigassfans] Loaded homebridge-i6-bigassfans v0.5.1 child bridge successfully [9/13/2022, 3:55:56 PM] Loaded 1 cached accessories from cachedAccessories.0E397D7A7D42. [9/13/2022, 3:55:56 PM] [homebridge-i6-bigassfans] Loading accessory from cache: Haiku-Fam [9/13/2022, 3:55:56 PM] [homebridge-i6-bigassfans] Init - initializing devices [9/13/2022, 3:55:56 PM] [homebridge-i6-bigassfans] Restoring existing accessory from cache: Haiku-Fam [9/13/2022, 3:55:56 PM] Homebridge v1.4.0 (HAP v0.10.0) (homebridge-i6-bigassfans) is running on port 56706. [9/13/2022, 3:55:56 PM] [homebridge-i6-bigassfans] Haiku-Fam - current relative humidity out of range: 1000, assuming no humidity sensor for model "Haiku Switch" [9/13/2022, 3:55:56 PM] [homebridge-i6-bigassfans] Haiku-Fam - light detected

Detect Haiku H/I fan without light correctly

Describe The Bug:

When adding a Haiku H/I series that was upgraded to the latest i6 compatible firmware, it shows that I have a light in HomeBridge even if the fan does not have a light.

To Reproduce:

Add a Haiku H/I fan that was upgraded to the latest 3.0.0 firmware.

Expected behavior:

Light should not appear in HomeBridge/HomeKit. If there isn't a way to enumerate, perhaps a way to disable in the config is possible?

Logs:
Nothing was logged regarding this, just:

[4/10/2022, 6:49:19 PM] [BigAssFans-i6] Adding new accessory: Master Bedroom Fan

Plugin Config:

Snippet of this device:

                {
                    "name": "Master Bedroom Fan",
                    "ip": "x.x.x.x",
                    "mac": "20:F8:5E:XX:XX:XX",
                    "whoosh": false,
                    "dimToWarm": false,
                    "fanAuto": false,
                    "lightAuto": false
                },

Screenshots:

Environment:

  • Plugin Version: 0.3.8-beta
  • Homebridge Version: 1.4.0
  • Node.js Version: v16.14.2
  • NPM Version: 8.50
  • Operating System: Docker

Chunk Size Error in Log

I have two Haiku L Series fans (both have lights) configured using your app. It is working great, but I am getting two of the following errors every minute in the log. I assume one entry for each fan. I have not noticed any degraded functionality, it is just cluttering up the Homebridge logs. Please let me know what other information I can provide.

Error:

[26/04/2022, 15:20:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:20:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:21:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:21:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:22:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:22:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:23:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:23:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:24:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:24:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:25:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:25:43] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36

Debug log:

[26/04/2022, 15:43:26] [BigAssFans-i6] dblog progress(0/0) Kitchen Fan - model: Haiku L Series (0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x4c, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73)
[26/04/2022, 15:43:26] [BigAssFans-i6] dblog progress(0/0) Kitchen Fan - firmware: 3.0.1
[26/04/2022, 15:43:26] [BigAssFans-i6] dblog progress(0/0) Bedroom Fan - model: Haiku L Series (0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x4c, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73)
[26/04/2022, 15:43:26] [BigAssFans-i6] dblog progress(0/0) Bedroom Fan - firmware: 3.0.1
[26/04/2022, 15:43:26] [BigAssFans-i6] light detected
[26/04/2022, 15:43:26] [BigAssFans-i6] current temperature out of range: 1000, assuming no temperature sensor for model "Haiku L Series"
[26/04/2022, 15:43:26] [BigAssFans-i6] Assuming no humidity sensor for model "Haiku L Series"
[26/04/2022, 15:43:26] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36
[26/04/2022, 15:43:26] [BigAssFans-i6] this is not the chunk size we're looking for: undefined, actual: 36

Config:

{
    "fans": [
        {
            "name": "Kitchen Fan",
            "ip": “X.X.X.X”,
            "mac": "20:F8:5E:XX:XX:XX”,
            "whoosh": true,
            "dimToWarm": false,
            "fanAuto": false,
            "lightAuto": true,
            "ecoMode": true
        },
        {
            "name": "Bedroom Fan",
            "ip": "X.X.X.X",
            "mac": "20:F8:5E:XX:XX:XX”,
            "whoosh": true,
            "dimToWarm": false,
            "fanAuto": false,
            "lightAuto": true,
            "ecoMode": true
        }
    ],
    "platform": "BigAssFans-i6"
}

Environment:

  • Plugin Version: v0.4.2
  • Homebridge Version: v1.4.0
  • Node.js Version: v16.14.2
  • NPM Version: v8.7.0
  • Operating System: Raspbian

Fan showing as accessory but no controllable through home bridge/homekit

Hi, I can't seem to control the fan via home bridge or HomeKit. I'm running home bridge on a M1 Max Mac and have the latest beta of this plug-in installed.Tried as a child bridge also. I read through one of the other issues and added the same debug code but I really have no clue what I'm doing. Any help would be appreciated! Log is from turning fan on and off via Haiku app and then on and off via HomeKit.

Logs:

Setup Payload:
X-HM://00244RT919ZST
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ │     
└────────────┘     

[12/4/2022, 8:06:33 AM] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge 9705) is running on port 51476.
[12/4/2022, 8:06:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012021a00c0
[12/4/2022, 8:06:34 AM] [BigAssFans-i6] dblog light(1/1) Living Room Fan - Get Characteristic Down ColorTemperature -> 455 (2200)
[12/4/2022, 8:06:40 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 43 bytes
[12/4/2022, 8:07:02 AM] [BigAssFans-i6] dblog light(1/1) Living Room Fan - Get Characteristic Down ColorTemperature -> 455 (2200)
[12/4/2022, 8:07:02 AM] [BigAssFans-i6] dblog light(1/1) Living Room Fan - Get Characteristic Down ColorTemperature -> 455 (2200)
[12/4/2022, 8:07:03 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03d80201c0
[12/4/2022, 8:07:05 AM] [BigAssFans-i6] dblog light(1/1) Living Room Fan - Get Characteristic Down ColorTemperature -> 455 (2200)
[12/4/2022, 8:07:05 AM] [BigAssFans-i6] dblog light(1/1) Living Room Fan - Get Characteristic Down ColorTemperature -> 455 (2200)
[12/4/2022, 8:07:31 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 28 bytes
[12/4/2022, 8:07:32 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:32 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 28 bytes
[12/4/2022, 8:07:32 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:32 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 28 bytes
[12/4/2022, 8:07:32 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:32 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 28 bytes
[12/4/2022, 8:07:33 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
[12/4/2022, 8:07:33 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 28 bytes
[12/4/2022, 8:07:33 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:33 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 28 bytes
[12/4/2022, 8:07:33 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:35 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 124 bytes
[12/4/2022, 8:07:36 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 90 bytes
[12/4/2022, 8:07:36 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:38 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 28 bytes
[12/4/2022, 8:07:38 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:38 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 28 bytes
[12/4/2022, 8:07:38 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:48 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 29 bytes
[12/4/2022, 8:07:48 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:48 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 29 bytes
[12/4/2022, 8:07:48 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:07:59 AM] [BigAssFans-i6] dblog light(1/1) Living Room Fan - Get Characteristic Down ColorTemperature -> 455 (2200)
[12/4/2022, 8:08:05 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03d80200c0
[12/4/2022, 8:08:05 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03f00201c0c0120712051a03f00200c0
[12/4/2022, 8:08:14 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03f00205c0
[12/4/2022, 8:08:14 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03d80201c0
[12/4/2022, 8:08:14 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03f00205c0
[12/4/2022, 8:08:18 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03f00207c0
[12/4/2022, 8:08:18 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03d80201c0
[12/4/2022, 8:08:28 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03f00202c0
[12/4/2022, 8:08:28 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03d80201c0
[12/4/2022, 8:08:28 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03d80200c0
[12/4/2022, 8:08:28 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c0120712051a03f00201c0c0120712051a03f00200c0
[12/4/2022, 8:08:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
[12/4/2022, 8:09:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
[12/4/2022, 8:10:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
[12/4/2022, 8:10:47 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 43 bytes
[12/4/2022, 8:11:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
[12/4/2022, 8:11:47 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 28 bytes
[12/4/2022, 8:11:47 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:12:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
[12/4/2022, 8:13:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
[12/4/2022, 8:14:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
[12/4/2022, 8:15:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
[12/4/2022, 8:15:46 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 29 bytes
[12/4/2022, 8:15:46 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:16:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
[12/4/2022, 8:16:45 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 28 bytes
[12/4/2022, 8:16:45 AM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 34 bytes
[12/4/2022, 8:17:33 AM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012041a020803c0
Plugin Config:

 
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "fans": [
                {
                    "name": "Living Room Fan",
                    "ip": "192.168.1.226",
                    "mac": "20:F8:5E:4A:3C:CE",
                    "fanModel": "Haiku H/I Series",
                    "showWhooshSwitch": true,
                    "showFanAutoSwitch": false,
                    "showLightAutoSwitch": false,
                    "showDimToWarmSwitch": false,
                    "showEcoModeSwitch": true,
                    "disableDirectionControl": false,
                    "debugLevels": [
                        [
                            "light",
                            1
                        ],
                        [
                            "redflags",
                            1
                        ],
                        [
                            "network",
                            11
                        ],
                        [
                            "characteristics",
                            1
                        ]
                    ]
                }
            ],
            "platform": "BigAssFans-i6"
        }
    ]
}


**Environment:**

* **Plugin Version**:5.4 beta4
* **Homebridge Version**: 1.6.0
* **Node.js Version**: v18.12.1
* **NPM Version**: 9.1.3
* **Operating System**: macOS Montery 12.6

Loop of Child bridge process ended

Describe The Bug:

The plugin was working flawlessy for several month, but now the Child bridge process ends continually

To Reproduce:

I have remove the plugin, clean the cache, restart the server, reinstall the plugin, reconfigure my Haiku Fan.
The process start normaly. when I restart Homebridge, the child bridge process ends again continually

Expected behavior:

The process stay up after a Homebridge restart

Logs:

[24/09/2022, 20:21:22] [BigAssFans-i6] Initializing BigAssFans-i6 platform...
[24/09/2022, 20:21:22] [BigAssFans-i6] Initializing child bridge 0E:7A:F6:A6:CA:CB
[24/09/2022, 20:21:24] [homebridge-i6-bigassfans] Launched child bridge with PID 4695
[24/09/2022, 20:21:24] Registering platform 'homebridge-i6-bigassfans.BigAssFans-i6'
[24/09/2022, 20:21:24] [homebridge-i6-bigassfans] Loaded homebridge-i6-bigassfans v0.5.1 child bridge successfully
[24/09/2022, 20:21:24] [homebridge-i6-bigassfans] Init - initializing devices
[24/09/2022, 20:21:24] [homebridge-i6-bigassfans] Adding new accessory: Haiku_Salon

This a part of the loop : 
[24/09/2022, 20:30:17] [homebridge-i6-bigassfans] Restarting Process...
[24/09/2022, 20:30:19] [homebridge-i6-bigassfans] Launched child bridge with PID 11307
[24/09/2022, 20:30:20] Registering platform 'homebridge-i6-bigassfans.BigAssFans-i6'
[24/09/2022, 20:30:20] [homebridge-i6-bigassfans] Loaded homebridge-i6-bigassfans v0.5.1 child bridge successfully
[24/09/2022, 20:30:20] Loaded 1 cached accessories from cachedAccessories.0E7AF6A6CACB.
[24/09/2022, 20:30:20] [homebridge-i6-bigassfans] Loading accessory from cache: Haiku_Salon
[24/09/2022, 20:30:20] [homebridge-i6-bigassfans] Init - initializing devices
[24/09/2022, 20:30:20] [homebridge-i6-bigassfans] Restoring existing accessory from cache: Haiku_Salon
Error: listen EADDRINUSE: address already in use :::45070
    at Server.setupListenHandle [as _listen2] (node:net:1372:16)
    at listenInCluster (node:net:1420:12)
    at Server.listen (node:net:1508:7)
    at EventedHTTPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:155:20)
    at HAPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:332:21)
    at Bridge.<anonymous> (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1279:18)
    at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:144:27)
    at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:115:62)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[24/09/2022, 20:30:20] [homebridge-i6-bigassfans] Child bridge process ended
[24/09/2022, 20:30:20] [homebridge-i6-bigassfans] Process Ended. Code: 1, Signal: null

[24/09/2022, 20:30:27] [homebridge-i6-bigassfans] Restarting Process...
[24/09/2022, 20:30:30] [homebridge-i6-bigassfans] Launched child bridge with PID 11328
[24/09/2022, 20:30:30] Registering platform 'homebridge-i6-bigassfans.BigAssFans-i6'
[24/09/2022, 20:30:30] [homebridge-i6-bigassfans] Loaded homebridge-i6-bigassfans v0.5.1 child bridge successfully
[24/09/2022, 20:30:30] Loaded 1 cached accessories from cachedAccessories.0E7AF6A6CACB.
[24/09/2022, 20:30:30] [homebridge-i6-bigassfans] Loading accessory from cache: Haiku_Salon
[24/09/2022, 20:30:30] [homebridge-i6-bigassfans] Init - initializing devices
[24/09/2022, 20:30:30] [homebridge-i6-bigassfans] Restoring existing accessory from cache: Haiku_Salon
Error: listen EADDRINUSE: address already in use :::45070
    at Server.setupListenHandle [as _listen2] (node:net:1372:16)
    at listenInCluster (node:net:1420:12)
    at Server.listen (node:net:1508:7)
    at EventedHTTPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:155:20)
    at HAPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:332:21)
    at Bridge.<anonymous> (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1279:18)
    at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:144:27)
    at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:115:62)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[24/09/2022, 20:30:31] [homebridge-i6-bigassfans] Child bridge process ended
[24/09/2022, 20:30:31] [homebridge-i6-bigassfans] Process Ended. Code: 1, Signal: null

Plugin Config:

Note : I have remove the "pin", "ip address" and "mac Address"
{
    "bridge": {
        "name": "Homebridge AADC",
        "username": "0E:95:9B:BC:AA:DC",
        "port": 51808,
        "pin": "",
        "advertiser": "avahi"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "purple",
            "tempUnits": "c",
            "lang": "auto",
            "sessionTimeout": 57600,
            "platform": "config"
        },
{
            "fans": [
                {
                    "name": "Haiku_Salon",
                    "ip": "",
                    "mac": "",
                    "fanModel": "Haiku H/I Series",
                    "showWhooshSwitch": true,
                    "showFanAutoSwitch": false,
                    "showLightAutoSwitch": false,
                    "showDimToWarmSwitch": false,
                    "showEcoModeSwitch": true
                }
            ],
            "_bridge": {
                "username": "0E:7A:F6:A6:CA:CB",
                "port": 45070
            },
            "platform": "BigAssFans-i6"
        }
    ]
}

Screenshots:

Environment:: Homebridge run on a Raspberry Pi 4B, Raspbian GNU/Linux 11 (bullseye)

  • Plugin Version: 0.5.1
  • Homebridge Version: 1.5.0
  • Node.js Version: v16.16.0
  • NPM Version: 8.11.0
  • Operating System: Homebridge run on a Raspberry Pi 4B, Raspbian GNU/Linux 11 (bullseye)

Permit changing of device icon in Homekit

Is your feature request related to a problem? Please describe:
The fan device icon appears as a standing desk fan in the Home app. The icon cannot be changed to the "ceiling fan" icon.

Describe the solution you'd like:
Permit changing of the device icon in Homekit.

Additional context:
In the Home app, smart switch icons can be changed to show the device it controls e.g. light, standing fan, ceiling fan, etc.

Disabled fan direction shows up in Homekit

Hi all,

great plugin. Even though I disabled direction control in the plugin settings, direction control still shows up in Homekit.

I am using latest non beta version of plugin and homebridge. Otherwise the plugin is rock solid.

Turning on light via Siri turns on fan as well

I have a Haiku L series fan with a light. I’ve separated the light from the fan in HomeKit, but when I ask Siri to turn on the light, it turns on the light as well. Not sure if bug or I’m doing something wrong

Suppress Light Switch

I'd propose an enhancement to be able to suppress the light function for each fan by adding a line to the configuration. (i.e. hide the light switch even if it's discovered to be available for the specific model fan).

Question - Haiku firmware 2.6

Hello - I have an older Haiku fan. It has maxed out at firmware 2.6. The plugin installs fine with IP and MAC address. No functions work. I read the notes that indicated that it requires firmware 3.0 or later. Wanted to confirm before I troubleshoot any further. Big Ass is exploring if a new smart board would be required to upgrade firmware.

new Haiku H/I - light not detected

Got my first Haiku H/I with light kit (Haiku Schlafzimmer) two years ago. This one has an IR remote. It works flawlessly with your plugin after updating it to the latest i6-compatible firmware.

Bought a second Haiku H/I with light kit (Haiku Wohnzimmer) a month ago. It has a smaller Bluetooth remote. Adding it to my config doesn’t show the light switch. It’s also on the latest firmware (3.1.0).

[13/08/2022, 20:07:31] [BigAssFans-i6] dblog progress(0/0) Haiku Schlafzimmer - product type: Haiku H/I Series (0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x48, 0x2f, 0x49, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73)
[13/08/2022, 20:07:31] [BigAssFans-i6] dblog progress(0/0) Haiku Schlafzimmer - firmware: 3.1.0
[13/08/2022, 20:07:31] [BigAssFans-i6] Haiku Wohnzimmer - no light detected
[13/08/2022, 20:07:31] [BigAssFans-i6] dblog progress(0/0) Haiku Wohnzimmer - product type: Haiku H/I Series (0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x48, 0x2f, 0x49, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73)
[13/08/2022, 20:07:31] [BigAssFans-i6] dblog progress(0/0) Haiku Wohnzimmer - firmware: 3.1.0
[13/08/2022, 20:07:32] [BigAssFans-i6] Haiku Schlafzimmer - light detected

Fan spped question

Describe Your Problem:
Wondering if speeds can be controlled by the fan spped numbers instead of percentages.

I have tried asking Siri to set the fan speed to number X and that is not working. I have tried to ask Siri to increase the fan spped and that works but it is not incrementing the spped by one speed, it is incrementing by multiple speed levels. The same behavior for asking Siri to decrease the sppeds. Speeds are decreased by more than one speed level at a time. I have Haiku L series fans and the firmware is v3.2.5.

Is controlling speed by percentage the only way for the speed changes to work?

Thanks!

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

{
    "fans": [
        {
            "name": "Office Fan",
            "ip": "192.168.0.",
            "mac": "",
            "fanModel": "Haiku L Series",
            "showWhooshSwitch": true,
            "showFanAutoSwitch": true,
            "showLightAutoSwitch": true,
            "showDimToWarmSwitch": false,
            "showEcoModeSwitch": true,
            "disableDirectionControl": true
        },
        {
            "name": "Main Bedroom Fan",
            "ip": "192.168.0.",
            "mac": "",
            "fanModel": "Haiku L Series",
            "showWhooshSwitch": true,
            "showFanAutoSwitch": true,
            "showLightAutoSwitch": true,
            "showDimToWarmSwitch": false,
            "showEcoModeSwitch": true,
            "disableDirectionControl": true
        },
        {
            "name": "Front Bedroom Fan",
            "ip": "192.168.0.",
            "mac": "",
            "fanModel": "Haiku L Series",
            "showWhooshSwitch": true,
            "showFanAutoSwitch": true,
            "showLightAutoSwitch": true,
            "showDimToWarmSwitch": false,
            "showEcoModeSwitch": true,
            "disableDirectionControl": true
        }
    ],
    "platform": "BigAssFans-i6"
}

Screenshots:

Environment:

  • Plugin Version: v0.5.4
  • Homebridge Version: v1.8.0
  • Node.js Version: v18.19.0
  • NPM Version: 10.2.3
  • Operating System: Raspbian GNU/Linux Buster (10)

Option to set speed as an enumerated value (1-7)

The Big Ass Fans app sets the speed of the Haiku L as a value in the range 1-7. (I don't have a different model and am unsure whether this behaviour applies to all consumer models.)

Would it be possible to provide a configuration option that allows the fan to have these seven speeds listed explicitly so that I can say, "Hey Siri, set the living room fan speed to 3" instead of using a percentage? I'm lazy and don't always want to do the maths :)

I am very happy to help test this feature (or any new release) on our fan.

Thank you for your consideration.

Unhandled network error: EHOSTUNREACH. Attempting reconnect in 2 seconds.

Started receiving this message after updating to v0.5.2 yesterday for both fans I have installed.

Attempted a version rollback but same consistent error.

Also showing both fan and a light for their respective tiles in home app. No light installed on fans and was not showing prior to update. Can not see where I have selected a light within the plugin either.

Think a reinstall help alleviate this?

Plugin incorrectly thinks there's an uplight.

    I am still seeing this issue with the plugin seemingly randomly creating a light for my fans appending "Upight" at the end of the name in Homebridge.. 

I am running v0.5.3 and have two Haiku L fans. Once I installed v0.5.3 I started having the problems discussed above and used the suggestions in this issue to fix by deleting cache etc. Occasionally the names of the two fan lights would change to just "fan" in Home and I would have to rename them and add them back to scenes etc. About 4 days ago I got everything working properly and it seemed stable again. This morning one of my lights was renamed again in Home and I looked in Homebridge and there was a second light with "Upight" appended to the end of the name. While I was looking at this the same thing happened to the other fan. I deleted the cache and rebooted and both of the extra lights were no longer in Homebridge. I then updated Home with the correct names and updated scenes and things are back to normal, or as normal as they get around here.

Are there any other steps I can take on my end to keep this from happening? If am able to send you logs or troubleshoot if you would like.

Thanks in advance.

Originally posted by @afellows77 in #17 (comment)

Tested with latest H/I Series fan firmware?

Describe Your Problem:
I can install the plugin and the tiles show up in the Home app but nothing happens when I change fan speeds or turn lights on/off/dim. Also, I only have two fans setup (IP and MACs added to your plugin) but 4 fans show up? Have you tested your plugin with the latest fan firmware (version 2.7.3 dated 4/21/21)? It seems that this firmware may have broken your plugin - I have trouble getting other plugins to work (that used to work).

Logs:

5/15/2021, 10:22:06 AM] Loaded 0 cached accessories from cachedAccessories.
[5/15/2021, 10:22:06 AM] ---
[5/15/2021, 10:22:06 AM] Loaded plugin: [email protected]
[5/15/2021, 10:22:06 AM] Registering platform 'homebridge-config-ui-x.config'
[5/15/2021, 10:22:06 AM] ---
[5/15/2021, 10:22:06 AM] Loaded plugin: [email protected]
[5/15/2021, 10:22:06 AM] Registering platform 'homebridge-i6-bigassfans.BigAssFans-i6'
[5/15/2021, 10:22:06 AM] ---
[5/15/2021, 10:22:06 AM] Loading 2 platforms...
[5/15/2021, 10:22:06 AM] [Config] Initializing config platform...
[5/15/2021, 10:22:06 AM] [Config] Running in Service Mode
[5/15/2021, 10:22:06 AM] [BigAssFans-i6] Initializing BigAssFans-i6 platform...
[5/15/2021, 10:22:06 AM] [BigAssFans-i6] Initializing child bridge 0E:C1:E3:85:AF:6C
Preparing Advertiser for 'Homebridge 54BC 316F' using bonjour-hap backend!
Setup Payload:
X-HM://00241ES9LMLNT
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 343-96-057 │     
    └────────────┘     
                       
Starting to advertise 'Homebridge 54BC 316F' using bonjour-hap backend!
[5/15/2021, 10:22:06 AM] Homebridge v1.3.4 (Homebridge 54BC) is running on port 51834.
Initializing HAP-NodeJS v0.9.4...
[5/15/2021, 10:22:06 AM] [homebridge-i6-bigassfans] Launched child bridge with PID 2631
[5/15/2021, 10:22:06 AM] Registering platform 'homebridge-i6-bigassfans.BigAssFans-i6'
[5/15/2021, 10:22:06 AM] [homebridge-i6-bigassfans] Loaded homebridge-i6-bigassfans v0.1.0 child bridge successfully
[5/15/2021, 10:22:06 AM] Loaded 4 cached accessories from cachedAccessories.0EC1E385AF6C.
[5/15/2021, 10:22:06 AM] [homebridge-i6-bigassfans] Loading accessory from cache: Bedroom
[5/15/2021, 10:22:06 AM] [homebridge-i6-bigassfans] Loading accessory from cache: Family Room
[5/15/2021, 10:22:06 AM] [homebridge-i6-bigassfans] Loading accessory from cache: Bedroom
[5/15/2021, 10:22:06 AM] [homebridge-i6-bigassfans] Loading accessory from cache: Family Room
Preparing Advertiser for 'homebridge-i6-bigassfans 2F42' using bonjour-hap backend!
[5/15/2021, 10:22:06 AM] [homebridge-i6-bigassfans] Init - initializing devices
[5/15/2021, 10:22:06 AM] [homebridge-i6-bigassfans] Restoring existing accessory from cache: Bedroom
[5/15/2021, 10:22:06 AM] [homebridge-i6-bigassfans] Restoring existing accessory from cache: Family Room
Starting to advertise 'homebridge-i6-bigassfans 2F42' using bonjour-hap backend!
[5/15/2021, 10:22:06 AM] Homebridge v1.3.4 (homebridge-i6-bigassfans) is running on port 41214.
[5/15/2021, 10:23:31 AM] [Homebridge UI] [admin] Accessory layout changes saved.

**Plugin Config:**

```json
{
    "bridge": {
        "name": "Homebridge 54BC",
        "username": "0E:FD:69:A3:54:BC",
        "port": 51834,
        "pin": "343-96-057"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "fans": [
                {
                    "name": "Bedroom",
                    "ip": "192.168.0.190",
                    "mac": "20:F8:5E:33:46:48",
                    "whoosh": false,
                    "dimToWarm": false,
                    "megaDebugLevel": "11"
                },
                {
                    "name": "Family Room",
                    "ip": "192.168.0.158",
                    "mac": "20:F8:5E:2E:C5:E2",
                    "whoosh": false,
                    "dimToWarm": false,
                    "megaDebugLevel": "0"
                }
            ],
            "_bridge": {
                "username": "0E:C1:E3:85:AF:6C",
                "port": 41214
            },
            "platform": "BigAssFans-i6"
        }
    ]
}
![Screen Shot 2021-05-15 at 10 30 41 AM](https://user-images.githubusercontent.com/84244276/118372895-9f5f9600-b568-11eb-832d-080cf33ebe44.png)

**Screenshots:**
<!-- If applicable, add screenshots to help explain your problem. -->

**Environment:**

* **Plugin Version**:
* **Homebridge Version**: <!-- homebridge -V --> 1.3.4
* **Node.js Version**: <!-- node -v -->. 14.17.0
* **NPM Version**: <!-- npm -v -->. 7.13.0
* **Operating System**: <!-- Raspbian / Ubuntu / Debian / Windows / macOS / Docker / hb-service -->. MacOS 11.4

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->

don't require IP address or fully qualified domain name

Is your feature request related to a problem? Please describe:
My fans did not have fixed IP addresses. I modified my network set up to get my DHCP server to assign them fixed IPs for now, but wish I didn’t have to.

Describe the solution you'd like:
No idea what exists in this version of the Big Ass Fans protocol, but the older Haiku fans plugin supported discovering fans if I told it how many to expect.

Detecting an uplight when one does not exist

Describe The Bug:
As the title says. My fan has a downlight but no uplight, and the plugin is detecting both. Sort of the opposite problem of #28.

To Reproduce:
This is a Haiku Gen 4 with a downlight and no uplight.

Reading #28, I attempted to set uplightEquipped to false, but this does not appear to do anything. It still detects the uplight in the homebridge logs and still presents the false switch in Homekit.

Expected behavior:
No uplight switch for fans that do not have one. At least an option to disable it.

Logs:

[09/10/2023, 12:46:44] [BigAssFans-i6] Main Room Fan - uplight detected

Plugin Config:

        {
            "fans": [
                {
                    "name": "Main Room Fan",
                    "ip": "192.168.5.1",
                    "mac": "ab:cd:ef:12:34:56",
                    "fanModel": "Haiku H/I Series",
                    "showWhooshSwitch": false,
                    "showFanAutoSwitch": false,
                    "showLightAutoSwitch": false,
                    "showDimToWarmSwitch": false,
                    "showEcoModeSwitch": false,
                    "disableDirectionControl": true,
                    "uplightEquipped": false
                }
            ],
            "platform": "BigAssFans-i6"
        }

Screenshots:
N/A

Environment:

  • Plugin Version: 0.5.4
  • Homebridge Version: 1.6.1
  • Node.js Version: 16.14.0
  • NPM Version:
  • Operating System: Raspbian

Additional switches all have the same name

Fan: Haiku I Series
Firmware: 3.1.1
Plugin version 0.5.3

Hi there,
I set up my Haiku I today and after updating the firmware to 3.1.1 everything started working in the Home app.
I noticed though that each of the additional switches all default to having the same name in Home.app

In my case they were all "Master Bedroom Fan" which is the fan name that I specified in the config file. I turned each of the functions on one by one and checked the state in the BAF app and then renamed them which was fine but it would be nice if they each had unique names when they first get added to HomeKit.

The switches I enabled were:
"showWhooshSwitch": true,
"showFanAutoSwitch": true,
"showLightAutoSwitch": true,
"showEcoModeSwitch": true

I then tried grouping each of these switches together which wasn't a good idea because HomeKit wouldn't allow me to ungroup them once I worked out that it wasn't going to do what I wanted (the ungroup button wouldn't show). I was hoping to just group those switches together in one tile but then have the 4 switches show when tapping on the tile but I've now learned that's not how HomeKit works with groups.

I have the Home+ app installed and I was able to ungroup from within it but I wondered if it was because they all had the same name initially that I had troubles ungrouping them.

Using the show as a single tile doesn't work for me as I'd still like to have the fan and light as separate tiles and then the advanced options all on one tile.

Great job on the plugin, other than this little hiccup, it's all working very well so far.

Thanks,
Brad.

Control up and downlight simultaneously? Debugging light issues…

I have a new Haiku fan with both an uplight and a downlight. Both show up in HomeKit - but when I adjust the uplight brightness slider, it turns off the downlight, and vice versa. This changes the “mode” in the official app to “downlight only” or “uplight only” mode.

Q: Is there a way to set a fan light control slider to control “both” uplight and downlight?

Some background: I’ve been having some intermittent uplight issues with my haiku fan for several months, ever since I bought it. I installed the homebridge plugin to see if I could figure out what set of circumstances cause the uplight to no longer respond to control in the official iOS app. I’ve replaced the entire fan twice through Big Ass Fans customer support. When my fan gets into this funky state, are there any debug things I can run to see why my uplight is not responding to commands? My downlight always works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.