oogje / homebridge-i6-bigAssFans

A Homebridge plugin which allows you to control a Big Ass Fan.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect Haiku H/I fan without light correctly

wojo opened this issue · comments

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

Perhaps related is also the following log entry that maybe is used to detect the model (which shows i6 still in HomeKit) and the light:

[4/10/2022, 6:49:49 PM] [BigAssFans-i6] Fan configured with ip: X.X.X.X is not responding to our probe.  This could happen if the fan model is not i6, but for instance Haiku.

Other small things I think already mentioned in sean9keenan/homebridge-bigAssFans#40 are that humidity, temperature don't exist on the Haiku L series. Only temperature exists on the H/I series I believe.

commented

Thanks for the reports.

I'll add the light issue to my todo list and get back to you here when I have a build that I think addresses it.

Regarding the model name, try 0.3.9-beta and see if it correctly shows your model. Then let me know the literal string and I'll use that to eliminate the temperature sensor. I think the humidity sensor is already gone as of 0.3.9-beta.

@oogje nice! here's what 0.3.9-beta shows:

4/10/2022, 8:03:06 PM] [BigAssFans-i6] Restoring existing accessory from cache: Living Room Fan
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] Restoring existing accessory from cache: Aspen's Bedroom Fan
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] Restoring existing accessory from cache: Liam's Bedroom Fan
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] Restoring existing accessory from cache: Play Room Fan
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] Restoring existing accessory from cache: Master Bedroom Fan
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] Restoring existing accessory from cache: Guest Bedroom Fan
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] chunkSizeSansToken: 107590477504629890, not what we expected with data length: 0
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] chunkSizeSansToken: 107590477504629890, not what we expected with data length: 0
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] chunkSizeSansToken: 107590477504629890, not what we expected with data length: 0
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] current temperature out of range: 1000, ignored
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] current relative humidity out of range: 1000, ignored
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] chunkSizeSansToken: 107590477504629890, not what we expected with data length: 0
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] current temperature out of range: 1000, ignored
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] current relative humidity out of range: 1000, ignored
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] chunkSizeSansToken: 107590477504629890, not what we expected with data length: 0
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] current temperature out of range: 1000, ignored
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] current relative humidity out of range: 1000, ignored
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] chunkSizeSansToken: 107590477504629890, not what we expected with data length: 0
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] current temperature out of range: 1000, ignored
[4/10/2022, 8:03:06 PM] [BigAssFans-i6] current relative humidity out of range: 1000, ignored

For the model, 0.3.9 shows as the "Firmware" in HomeKit, but the Model is still i6 in all cases (Haiku L and H).

I tried clearing the cache for that device as well, no change.

commented

I forgot to ask you to add some debugging directives to the fans' config entries in order to see what my code thinks the model strings are.

Please add:

        "debugLevels": [ 
          [ "newcode", 3 ]
        ]

From the log output you posted I guess you're already running homebridge with the "-D' option.

So for instance my fan shows:
[BigAssFans-i6] dblog newcode(3/3) Big Fan - model: i6
and @pponce's shows
[homebridge-i6-bigassfans] dblog newcode(1/1) - model: Haiku H/I Series

I think the firmware version will be correct in the next beta.

eta - @pponce's and I are running different betas

@wojo you likely will need to start homebridge with the -D option to see the debug messages.

I then run this command to get only the recent i6 output:

journalctl -u homebridge.service --since 14:02 | grep "\[homebridge-i6-bigassfans\]"

changing the time in 24h format.

Yup, restarted with -D @pponce -- here is the output @oogje below.

BTW added it to multiple fans, but only got one output. So I added the debug to one fan of each type at a time. Here is the Haiku L:

[4/10/2022, 10:32:10 PM] [BigAssFans-i6] dblog newcode(1/3) Play Room Fan - model: Haiku L Series

And the Haiku H:

[4/10/2022, 10:34:36 PM] [BigAssFans-i6] dblog newcode(1/3) Master Bedroom Fan - model: Haiku H/I Series
[4/10/2022, 10:34:36 PM] [BigAssFans-i6] dblog newcode(1/3) Master Bedroom Fan - no HumiditySensor for you!
commented

Great, thanks. I'll add doesn't show logs for multiple fans to the list.

Just FYI:
@oogje i have debug set in my cconfig for both of my haiku H/I series fans and I get messages from both.
Here's my config

  {
            "platform": "BigAssFans-i6",
            "fans": [
                            {
                                    "name": "Haiku",
                                    "mac": "20:F8:5E:00:00:00",
                                    "ip": "192.168.1.000",
                                    "fanAuto": true,
                                    "lightAuto": true,
                                    "whoosh": true,
                                    "debugLevels": [
                                            [ "connected", 0 ],
                                            [ "newcode", 0 ],
                                            [ "network", 11 ],
                                            [ "cluing", 2 ],
                                            [ "characteristics", 0 ]
                                    ]
                            },
                            {
                                    "name": "EmilesHaiku",
                                    "mac": "20:F8:5E:00:00:00",
                                    "ip": "192.168.1.000",
                                    "fanAuto": true,
                                    "lightAuto": true,
                                    "whoosh": true,
                                    "debugLevels": [
                                            [ "connected", 0 ],
                                            [ "newcode", 0 ],
                                            [ "network", 11 ],
                                            [ "cluing", 2 ],
                                            [ "characteristics", 0 ]
                                    ]
                            }
                    ],
            "_bridge": {
                    "username": "20:F8:5E:00:00:00",
                    "port": 00000
            }
    },
commented

I pushed out 0.3.10-beta. hoping model/firmware text issue is fixed, no "not expected" warnings, no temp and humidity sensors or "out of range" warnings for Haiku L, no humidity sensor for Haiku H/I.

Still doesn't recognize when there's no light. Do you have a light in either of your fans? Probably going to need a full dump of everything the fan tells you on startup to try to guess which code might mean "has a light" (add ['network', 11] to the debug logs array if you want help nail this. It'll really blow up your logs.

By the way, the Auto setting for the light is unpredictable at this point - trying to understand how it's supposed to work is hurting my brain, particularly because my i6 fan doesn't behave like Haiku fans as far as I'm aware of.

commented

Just FYI: @oogje i have debug set in my cconfig for both of my haiku H/I series fans and I get messages from both. Here's my config

...

@pponce In particular, do both of your fans report the model name?

@oogje Yup:
from beta 0.3.10:

Apr 11 12:26:23 homebridge homebridge[14354]: [4/11/2022, 12:26:23 PM] [homebridge-i6-bigassfans] dblog cluing(2/2) EmilesHaiku - Et tu, "Haiku H/I Series"
Apr 11 12:26:23 homebridge homebridge[14354]: [4/11/2022, 12:26:23 PM] [homebridge-i6-bigassfans] dblog cluing(2/2) Haiku - Et tu, "Haiku H/I Series"

commented

@oogje Yup: from beta 0.3.10:

Apr 11 12:26:23 homebridge homebridge[14354]: [4/11/2022, 12:26:23 PM] [homebridge-i6-bigassfans] dblog cluing(2/2) EmilesHaiku - Et tu, "Haiku H/I Series" Apr 11 12:26:23 homebridge homebridge[14354]: [4/11/2022, 12:26:23 PM] [homebridge-i6-bigassfans] dblog cluing(2/2) Haiku - Et tu, "Haiku H/I Series"

I mean do they both spit out the model name tagged as such, as in - "model: Haiku H/I Series"

@oogje I see model name in those two lines that I shared for each fan.
You're saying I should see it elsewhere. I'll check.
What debug levels should I have to see them?

@oogje Here you go. Saw both model name return values.

Apr 12 10:19:54 homebridge homebridge[27013]: [4/12/2022, 10:19:53 AM] [homebridge-i6-bigassfans] dblog newcode(3/3) Haiku - model: Haiku H/I Series
Apr 12 10:19:54 homebridge homebridge[27013]: [4/12/2022, 10:19:54 AM] [homebridge-i6-bigassfans] dblog newcode(3/3) EmilesHaiku - model: Haiku H/I Series

commented

Excellent. Thank you!

[edited typo]

@oogje okay, here is the network level 11 debug results for the Haiku H model. There are clear differences in the protocol responses but I do not know the structure, perhaps something you can spot easily.

With light:

[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(7/11) Master Bedroom Fan - sending c012021a00c0
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(2/11) Master Bedroom Fan - assuming new protocol
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(8/11) Master Bedroom Fan - accessory client got: 107 bytes
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(11/11) Master Bedroom Fan - raw (unstuffed) data: 0xc0, 0x12, 0x67, 0x22, 0x65, 0x12, 0x0a, 0x82, 0x01, 0x07, 0x1a, 0x05, 0x32, 0x2e, 0x35, 0x2e, 0x30, 0x12, 0x0c, 0x82, 0x01, 0x09, 0x08, 0x01, 0x12, 0x05, 0x35, 0x2e, 0x38, 0x2e, 0x31, 0x12, 0x12, 0x12, 0x10, 0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x48, 0x2f, 0x49, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x07, 0x3a, 0x05, 0x33, 0x2e, 0x30, 0x2e, 0x30, 0x12, 0x13, 0x42, 0x11, 0x32, 0x30, 0x3a, 0x46, 0x38, 0x3a, 0x35, 0x45, 0x3a, 0xXX, 0xXX, 0x3a, 0xXX, 0xXX, 0x3a, 0xXX, 0xXX, 0x12, 0x03, 0x6a, 0x01, 0x34, 0x12, 0x02, 0x78, 0x07, 0x12, 0x03, 0xc8, 0x09, 0x00, 0x12, 0x09, 0xaa, 0x02, 0x06, 0x30, 0x30, 0x35, 0x37, 0x37, 0x37, 0xc0
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog newcode(3/3) Master Bedroom Fan - model: Haiku H/I Series
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog newcode(2/3) Master Bedroom Fan - no HumiditySensor for you!
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog newcode(3/3) Master Bedroom Fan - firmware: 3.0.0
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(8/11) Master Bedroom Fan - accessory client got: 139 bytes
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(11/11) Master Bedroom Fan - raw (unstuffed) data: 0xc0, 0x12, 0x86, 0x01, 0x22, 0x83, 0x01, 0x12, 0x03, 0xd8, 0x02, 0x01, 0x12, 0x03, 0xe0, 0x02, 0x00, 0x12, 0x03, 0xe8, 0x02, 0x09, 0x12, 0x03, 0xf0, 0x02, 0x01, 0x12, 0x06, 0xc2, 0x03, 0x03, 0x6e, 0x6f, 0x77, 0x12, 0x03, 0xd0, 0x03, 0x00, 0x12, 0x03, 0xa8, 0x08, 0x00, 0x12, 0x03, 0x88, 0x04, 0x00, 0x12, 0x03, 0xf8, 0x03, 0x24, 0x12, 0x03, 0x80, 0x04, 0x1f, 0x12, 0x03, 0xa0, 0x03, 0x00, 0x12, 0x04, 0xa8, 0x03, 0x90, 0x1c, 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, 0x04, 0x80, 0x03, 0xae, 0x11, 0x12, 0x03, 0xf8, 0x02, 0x01, 0x12, 0x03, 0x88, 0x03, 0x00, 0x12, 0x03, 0xe0, 0x03, 0x00, 0x12, 0x03, 0xf0, 0x03, 0x00, 0x12, 0x03, 0x90, 0x03, 0x01, 0x12, 0x03, 0x98, 0x03, 0x02, 0x12, 0x03, 0xe8, 0x03, 0x01, 0xc0
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(8/11) Master Bedroom Fan - accessory client got: 113 bytes
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(11/11) Master Bedroom Fan - raw (unstuffed) data: 0xc0, 0x12, 0x6b, 0x22, 0x69, 0x12, 0x03, 0xa8, 0x04, 0x00, 0x12, 0x03, 0xb0, 0x04, 0x00, 0x12, 0x03, 0xa0, 0x04, 0x00, 0x12, 0x04, 0xb8, 0x04, 0x8c, 0x15, 0x12, 0x04, 0xf0, 0x04, 0x8c, 0x15, 0x12, 0x04, 0xf8, 0x04, 0x8c, 0x15, 0x12, 0x03, 0xc0, 0x04, 0x01, 0x12, 0x04, 0xc8, 0x04, 0x90, 0x1c, 0x12, 0x03, 0xd0, 0x04, 0x00, 0x12, 0x04, 0xd8, 0x04, 0xa0, 0x38, 0x12, 0x06, 0xe2, 0x04, 0x03, 0x6e, 0x6f, 0x77, 0x12, 0x03, 0xe8, 0x04, 0x00, 0x12, 0x03, 0x90, 0x05, 0x00, 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, 0xc0
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog newcode(1/3) Master Bedroom Fan - update Light On: false
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(8/11) Master Bedroom Fan - accessory client got: 56 bytes
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(11/11) Master Bedroom Fan - raw (unstuffed) data: 0xc0, 0x12, 0x34, 0x22, 0x32, 0x12, 0x0f, 0xc2, 0x07, 0x0c, 0xXX, 0xXX, 0xXX, 0x2e, 0xXX, 0xXX, 0x2e, 0xXX, 0xXX, 0x2e, 0xXX, 0xXX, 0x12, 0x03, 0xc8, 0x07, 0x00, 0x12, 0x1a, 0xe2, 0x07, 0x17, 0x0a, 0x0a, 0x77, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0x10, 0xc3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0xc0
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(8/11) Master Bedroom Fan - accessory client got: 12 bytes
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(11/11) Master Bedroom Fan - raw (unstuffed) data: 0xc0, 0x12, 0x08, 0x22, 0x06, 0x1a, 0x04, 0x08, 0x03, 0x20, 0x10, 0xc0
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(8/11) Master Bedroom Fan - accessory client got: 43 bytes
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(11/11) Master Bedroom Fan - raw (unstuffed) data: 0xc0, 0x12, 0x27, 0x22, 0x25, 0x12, 0x03, 0xc8, 0x05, 0x00, 0x12, 0x04, 0xb0, 0x05, 0xd9, 0x11, 0x12, 0x05, 0xb8, 0x05, 0xa0, 0x8d, 0x06, 0x12, 0x11, 0x8a, 0x01, 0x0e, 0x08, 0x01, 0x18, 0x01, 0x20, 0x01, 0x38, 0x01, 0x48, 0x01, 0x50, 0x01, 0x70, 0x01, 0xc0
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(8/11) Master Bedroom Fan - accessory client got: 11 bytes
[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog network(11/11) Master Bedroom Fan - raw (unstuffed) data: 0xc0, 0x12, 0x07, 0x22, 0x05, 0x12, 0x03, 0xda, 0x0a, 0x00, 0xc0
[4/13/2022, 9:35:10 PM] [BigAssFans-i6] dblog network(8/11) Master Bedroom Fan - accessory client got: 52 bytes
[4/13/2022, 9:35:10 PM] [BigAssFans-i6] dblog network(11/11) Master Bedroom Fan - raw (unstuffed) data: 0xc0, 0x12, 0x2e, 0x22, 0x2c, 0x12, 0x10, 0x0a, 0x0e, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x20, 0x42, 0x65, 0x64, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x04, 0x18, 0xc0, 0xbe, 0x01, 0x12, 0x03, 0xb0, 0x08, 0x01, 0x12, 0x03, 0xb8, 0x08, 0x00, 0x12, 0x03, 0xc0, 0x08, 0x01, 0x12, 0x03, 0xb0, 0x09, 0x00, 0xc0
[4/13/2022, 9:35:10 PM] [BigAssFans-i6] dblog network(8/11) Master Bedroom Fan - accessory client got: 115 bytes
[4/13/2022, 9:35:10 PM] [BigAssFans-i6] dblog network(11/11) Master Bedroom Fan - raw (unstuffed) data: 0xc0, 0x12, 0x6f, 0x22, 0x6d, 0x12, 0x15, 0x22, 0x13, 0x32, 0x30, 0x32, 0x32, 0x2d, 0x30, 0x34, 0x2d, 0x31, 0x33, 0x54, 0x32, 0x31, 0x3a, 0x33, 0x35, 0x3a, 0x31, 0x30, 0x12, 0x16, 0x2a, 0x14, 0x32, 0x30, 0x32, 0x32, 0x2d, 0x30, 0x34, 0x2d, 0x31, 0x34, 0x54, 0x30, 0x31, 0x3a, 0x33, 0x35, 0x3a, 0x31, 0x30, 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, 0xc0
[4/13/2022, 9:35:10 PM] [BigAssFans-i6] dblog network(8/11) Master Bedroom Fan - accessory client got: 153 bytes
[4/13/2022, 9:35:10 PM] [BigAssFans-i6] dblog network(11/11) Master Bedroom Fan - raw (unstuffed) data: 0xc0, 0x12, 0x94, 0x01, 0x22, 0x91, 0x01, 0x12, 0x26, 0x4a, 0x24, 0x30, 0x64, 0x39, 0x33, 0x34, 0x36, 0x61, 0x65, 0x2d, 0x36, 0x62, 0x34, 0x65, 0x2d, 0x34, 0x36, 0x36, 0x34, 0x2d, 0x38, 0x38, 0x64, 0x66, 0x2d, 0x37, 0x63, 0x36, 0x65, 0x66, 0x35, 0x65, 0x38, 0x66, 0x64, 0x30, 0x36, 0x12, 0x26, 0x52, 0x24, 0x63, 0x66, 0x38, 0x39, 0x35, 0x38, 0x35, 0x64, 0x2d, 0x33, 0x33, 0x62, 0x66, 0x2d, 0x34, 0x37, 0x61, 0x38, 0x2d, 0x62, 0x36, 0x33, 0x37, 0x2d, 0x62, 0x38, 0x37, 0x31, 0x38, 0x32, 0x66, 0x30, 0x38, 0x36, 0x33, 0x63, 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, 0x11, 0x8a, 0x01, 0x0e, 0x08, 0x01, 0x18, 0x01, 0x20, 0x01, 0x38, 0x01, 0x48, 0x01, 0x50, 0x01, 0x70, 0x01, 0x12, 0x11, 0xe2, 0x09, 0x0e, 0x08, 0xf1, 0x09, 0x10, 0x04, 0x20, 0x02, 0x28, 0x82, 0x01, 0x30, 0xfe, 0xff, 0x03, 0xc0

Without light:

[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(7/11) Living Room Fan - sending c012021a00c0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(2/11) Living Room Fan - assuming new protocol
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 107 bytes
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(11/11) Living Room Fan - raw (unstuffed) data:
0xc0, 0x12, 0x67, 0x22, 0x65, 0x12, 0x0a, 0x82, 0x01, 0x07, 0x1a, 0x05, 0x32, 0x2e, 0x35, 0x2e, 0x30, 0x12, 0x0c, 0x82, 0x01, 0x09, 0x08, 0x01, 0x12, 0x05, 0x35, 0x2e, 0x38, 0x2e, 0x31, 0x12, 0x12, 0x12, 0x10, 0x48, 0x61, 0x69, 0x6b, 0x75, 0x20, 0x48, 0x2f, 0x49, 0x20, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x07, 0x3a, 0x05, 0x33, 0x2e, 0x30, 0x2e, 0x30, 0x12, 0x13, 0x42, 0x11, 0x32, 0x30, 0x3a, 0x46, 0x38, 0x3a, 0x35, 0x45, 0x3a, 0xXX, 0xXX, 0x3a, 0xXX, 0xXX, 0x3a, 0xXX, 0xXX, 0x12, 0x03, 0x6a, 0x01, 0x34, 0x12, 0x02, 0x78, 0x07, 0x12, 0x03, 0xc8, 0x09, 0x00, 0x12, 0x09, 0xaa, 0x02, 0x06, 0x30, 0x30, 0x35, 0x37, 0x37, 0x37, 0xc0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog newcode(3/3) Living Room Fan - model: Haiku H/I Series
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog newcode(2/3) Living Room Fan - no HumiditySensor for you!
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog newcode(3/3) Living Room Fan - firmware: 3.0.0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 139 bytes
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(11/11) Living Room Fan - raw (unstuffed) data: 0xc0, 0x12, 0x86, 0x01, 0x22, 0x83, 0x01, 0x12, 0x03, 0xd8, 0x02, 0x01, 0x12, 0x03, 0xe0, 0x02, 0x00, 0x12, 0x03, 0xe8, 0x02, 0x01, 0x12, 0x03, 0xf0, 0x02, 0x01, 0x12, 0x06, 0xc2, 0x03, 0x03, 0x6e, 0x6f, 0x77, 0x12, 0x03, 0xd0, 0x03, 0x00, 0x12, 0x03, 0xa8, 0x08, 0x00, 0x12, 0x03, 0x88, 0x04, 0x00, 0x12, 0x03, 0xf8, 0x03, 0x16, 0x12, 0x03, 0x80, 0x04, 0x14, 0x12, 0x03, 0xa0, 0x03, 0x00, 0x12, 0x04, 0xa8, 0x03, 0x90, 0x1c, 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, 0x04, 0x80, 0x03, 0xdf, 0x0f, 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, 0xc0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 111 bytes
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(11/11) Living Room Fan - raw (unstuffed) data: 0xc0, 0x12, 0x69, 0x22, 0x67, 0x12, 0x03, 0xa8, 0x04, 0x00, 0x12, 0x03, 0xb0, 0x04, 0x00, 0x12, 0x03, 0xa0, 0x04, 0x00, 0x12, 0x04, 0xb8, 0x04, 0x8c, 0x15, 0x12, 0x03, 0xf0, 0x04, 0x00, 0x12, 0x03, 0xf8, 0x04, 0x00, 0x12, 0x03, 0xc0, 0x04, 0x01, 0x12, 0x04, 0xc8, 0x04, 0x90, 0x1c, 0x12, 0x03, 0xd0, 0x04, 0x00, 0x12, 0x04, 0xd8, 0x04, 0xa0, 0x38, 0x12, 0x06, 0xe2, 0x04, 0x03, 0x6e, 0x6f, 0x77, 0x12, 0x03, 0xe8, 0x04, 0x00, 0x12, 0x03, 0x90, 0x05, 0x00, 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, 0xc0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog newcode(1/3) Living Room Fan - update Light On: false
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 45 bytes
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(11/11) Living Room Fan - raw (unstuffed) data: 0xc0, 0x12, 0x29, 0x22, 0x27, 0x12, 0x0f, 0xc2, 0x07, 0x0c, 0xXX, 0xXX, 0xXX, 0x2e, 0xXX, 0xXX, 0x2e, 0xXX, 0xXX, 0x2e, 0xXX, 0xXX, 0x12, 0x03, 0xc8, 0x07, 0x00, 0x12, 0x0f, 0xe2, 0x07, 0x0c, 0x0a, 0x0a, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xc0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 12 bytes
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(11/11) Living Room Fan - raw (unstuffed) data: 0xc0, 0x12, 0x08, 0x22, 0x06, 0x1a, 0x04, 0x08, 0x03, 0x20, 0x10, 0xc0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 41 bytes
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(11/11) Living Room Fan - raw (unstuffed) data: 0xc0, 0x12, 0x25, 0x22, 0x23, 0x12, 0x03, 0xc8, 0x05, 0x00, 0x12, 0x04, 0xb0, 0x05, 0xea, 0x10, 0x12, 0x05, 0xb8, 0x05, 0xa0, 0x8d, 0x06, 0x12, 0x0f, 0x8a, 0x01, 0x0c, 0x08, 0x01, 0x18, 0x01, 0x38, 0x01, 0x48, 0x01, 0x50, 0x01, 0x70, 0x01, 0xc0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 11 bytes
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(11/11) Living Room Fan - raw (unstuffed) data: 0xc0, 0x12, 0x07, 0x22, 0x05, 0x12, 0x03, 0xda, 0x0a, 0x00, 0xc0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 49 bytes
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(11/11) Living Room Fan - raw (unstuffed) data: 0xc0, 0x12, 0x2b, 0x22, 0x29, 0x12, 0x0d, 0x0a, 0x0b, 0x4c, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x20, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x04, 0x18, 0xc0, 0xbe, 0x01, 0x12, 0x03, 0xb0, 0x08, 0x01, 0x12, 0x03, 0xb8, 0x08, 0x00, 0x12, 0x03, 0xc0, 0x08, 0x01, 0x12, 0x03, 0xb0, 0x09, 0x00, 0xc0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 115 bytes
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(11/11) Living Room Fan - raw (unstuffed) data: 0xc0, 0x12, 0x6f, 0x22, 0x6d, 0x12, 0x15, 0x22, 0x13, 0x32, 0x30, 0x32, 0x32, 0x2d, 0x30, 0x34, 0x2d, 0x31, 0x33, 0x54, 0x32, 0x31, 0x3a, 0x33, 0x36, 0x3a, 0x34, 0x35, 0x12, 0x16, 0x2a, 0x14, 0x32, 0x30, 0x32, 0x32, 0x2d, 0x30, 0x34, 0x2d, 0x31, 0x34, 0x54, 0x30, 0x31, 0x3a, 0x33, 0x36, 0x3a, 0x34, 0x35, 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, 0xc0
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(8/11) Living Room Fan - accessory client got: 151 bytes
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog network(11/11) Living Room Fan - raw (unstuffed) data: 0xc0, 0x12, 0x92, 0x01, 0x22, 0x8f, 0x01, 0x12, 0x26, 0x4a, 0x24, 0x65, 0x39, 0x39, 0x62, 0x63, 0x31, 0x62, 0x61, 0x2d, 0x37, 0x62, 0x66, 0x30, 0x2d, 0x34, 0x33, 0x32, 0x62, 0x2d, 0x62, 0x62, 0x62, 0x64, 0x2d, 0x39, 0x63, 0x61, 0x31, 0x33, 0x66, 0x33, 0x37, 0x32, 0x31, 0x39, 0x64, 0x12, 0x26, 0x52, 0x24, 0x38, 0x33, 0x30, 0x33, 0x38, 0x37, 0x61, 0x36, 0x2d, 0x36, 0x39, 0x32, 0x30, 0x2d, 0x34, 0x64, 0x36, 0x33, 0x2d, 0x39, 0x33, 0x33, 0x65, 0x2d, 0x34, 0x66, 0x66, 0x64, 0x65, 0x33, 0x38, 0x62, 0x36, 0x31, 0x64, 0x33, 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, 0x0f, 0x8a, 0x01, 0x0c, 0x08, 0x01, 0x18, 0x01, 0x38, 0x01, 0x48, 0x01, 0x50, 0x01, 0x70, 0x01, 0x12, 0x11, 0xe2, 0x09, 0x0e, 0x08, 0xed, 0x09, 0x10, 0x03, 0x20, 0x02, 0x28, 0x82, 0x01, 0x30, 0xfe, 0xff, 0x03, 0xc0

commented

Thank you! I've redacted the raw data for the time being. I'll edit it offline to remove the sorts of things you 'xx'ed out in your original post then I'll edit the other codes back into your comment.

eta: Okay, I've redacted some of the numbers.

commented

Aside from the "not noticing one of the fans is without a light" problem, is this the problem you were identifying when you were saying you only got one output? In other words, they both identify as "Haiku H/I Series", not Haiku H/I and Hainku L as you'd expect?

[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog newcode(3/3) Master Bedroom Fan - model: Haiku H/I Series
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog newcode(3/3) Living Room Fan - model: Haiku H/I Series

Aside from the "not noticing one of the fans is without a light" problem, is this the problem you were identifying when you were saying you only got one output? In other words, they both identify as "Haiku H/I Series", not Haiku H/I and Haiku L as you'd expect?

[4/13/2022, 9:35:09 PM] [BigAssFans-i6] dblog newcode(3/3) Master Bedroom Fan - model: Haiku H/I Series
[4/13/2022, 9:36:43 PM] [BigAssFans-i6] dblog newcode(3/3) Living Room Fan - model: Haiku H/I Series

These two units are both the same Haiku H/I Series (they are specifically H's). That is correct, not related to the debugging code output bug (adding levels on more than one fan at a time).

Thanks!

commented

These two units are both the same Haiku H/I Series (they are specifically H's). That is correct, not related to the debugging code output bug (adding levels on more than one fan at a time).

Ah, Okay. Thanks.

commented

@wojo, homebridge-i6-bigassfans@0.3.13-beta tries to handle a fan that isn't equipped with a light.

@oogje yes, it works!

commented

great. I don't have high confidence the change is even correct but it works for me and the two other users I know of, so we'll see what happens down the road.

commented

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.

commented

Thanks for checking in @DJay-X. If you want to comment in this other thead we can try to figure out the problem you're seeing.

commented

...

BTW added it to multiple fans, but only got one output. So I added the debug to one fan of each type at a time. Here is the Haiku L:
...

@wojo,

I'm ready to dig into this issue if you want to. If you don't, that's okay, I can just back-burner it until someone else runs into it.

commented

hello @wojo, the back burner has come to fore. If you run v0.4.2 you should find in your logs (I guess, assuming you're running homebridge with the -D option) a message soon after the QR code or what have you, dblog progress(0/0) <fan name> - model: for each of your fans. Do you see one for each fan?

commented

I think the "one debug output for multiple fans" issue is no longer present