oogje / homebridge-i6-bigAssFans

A Homebridge plugin which allows you to control a Big Ass Fan.
MIT License
18 stars 3 forks source link

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

Closed tbach closed 1 year ago

tbach commented 1 year ago

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:

oogje commented 1 year ago

Thanks for the debug logs. What version of the plugin are you using?

tbach commented 1 year ago

I first noted it on 0.5.3, which was the behavior described in the ticket - I then tried 0.5.4-beta10 and the detection bug didn't change, but the switches seemed to confuse the actual BAF app/fan itself even more. I've stayed on beta10 in order to use the noLights pref for now.

oogje commented 1 year ago

I think I have a handle on what's going on but I don't know how to resolve it yet. I could add a noDownlight pref as a temporary hack or you can run with noLights until we figure out a proper fix.

tbach commented 1 year ago

I'm totally fine to run with noLights for now. Appreciate your looking into it on a Sunday!

oogje commented 1 year ago

As it stands I don't know of non-hacky way to address this without breaking downlight detection for the user who opened issue #14. I've asked for more information that could help to find a reasonable solution.

In the meantime, I think a config option would be the most practical work-around.

tbach commented 1 year ago

In the interim, having config options to override auto-detection for cases like this might be the most flexible path forward. Basically, for now, keep auto-detection the way it is but give config keys that let a slightly more advanced user say "ignore auto detection, set uplight/downlight/etc to _____"

oogje commented 1 year ago

That sounds reasonable. How about for now I'll do uplight and downlight and see how that works out?

tbach commented 1 year ago

Makes sense to me

oogje commented 1 year ago

homebridge-i6-bigassfans@0.5.4-beta11 groks uplightEquipped and downlightEquipped with values or true or false. With any luck "downlightEquipped": false should address this extraneous light issue.

tbach commented 1 year ago

Works great with "downlightEquipped": false - thank you @oogje

uhTWO commented 1 month ago

I know this issue is closed but I'm new to Homebridge and this plugin and I wanted to share my experience incase someone runs into a similar problem I had.

I was running 0.5.4 of the plugin and I have a Haiku H/I fan with an uplight BUT only an LED "downlight" that indicates connectivity to the remote or app. It's not able to be turned on to light the room.

When I first installed the plugin, it would detect the fan with a "Light" switch and an "Uplight" switch. Homebridge would change both switches and reflect the current status as long as I changed it in the app or the remote. As soon as I made the change in Homebridge, the light would stop listening to commands from ALL sources. The only way to fix this was to power cycle it at the wall switch. I initially had given up last night, but I love a challenge.

I found this issue thread and my problem was similar enough that I followed a previous suggestion of trying one of the beta versions. Up until this point, no version of JSON configs would change any of the behaviors. Once I installed 0.6.0 beta 9 and rebooted with my last JSON config file I had previously used, I noticed the JSON had removed some of the variables I had forced before to suppress light detection. It took a few more seconds to connect to the fan (about 5 or 6 reconnect errors), but it finally connected and IT WORKS. I can control the light from Homebridge. All I really wanted to do was to be able to schedule the uplight based on sun up/down throughout the year, heck even a scheduler that let you pick the months that it would be active would've been great...but BAF didn't include that functionality which is CRAZY for how expensive these fans are.

Regardless, I wanted to thank you @tbach for your hard work on this and hopefully my post helps someone else reading this.

tbach commented 1 month ago

To be clear, @oogje did all the work here and deserves all the credit, I just raised the original issue.

uhTWO commented 1 month ago

You're correct, that was my mistake as looking who closed the issue.

Thanks @oogje !!

oogje commented 1 month ago

You all deserve credit for reporting and engaging.