oogje / homebridge-i6-bigAssFans

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

Control up and downlight simultaneously? Debugging light issues… #30

Open brianchasalow opened 11 months ago

brianchasalow commented 11 months ago

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.

wadel1 commented 7 months ago

I have the same results and am emailing the log now.

oogje commented 7 months ago

When I run the latest log file through my primitive simulator beginning at 1/14/2024, 11:30:13 PM, it shows the downlight coming on and the brightness being turned up to 100%, then the same for the uplight. The messages from the fan indicate that the downlight remains on.

When you run this exercise and the downlight unexpectedly turns off, do the BAF app and the Home app show the downlight as being off?

For what it's worth, here's a screen recording of what the fan messages show. It's slowed down to see the effect of each message the fan sends.

https://github.com/oogje/homebridge-i6-bigAssFans/assets/1358680/826a1652-9cde-4e49-8859-908b3c04bbdb