oogje / homebridge-i6-bigAssFans

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

Tested with latest H/I Series fan firmware? #1

Closed davidmac27 closed 1 year ago

davidmac27 commented 3 years ago

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: homebridge-config-ui-x@4.41.1
[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: homebridge-i6-bigassfans@0.1.0
[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. -->
oogje commented 3 years ago

Hello. Thank you for trying out this plugin. As far as I know you are the first. And thank you for submitting this issue.

First of all, are your fans model i6? The firmware reported by the vendor's Big Ass Fans app, shows my i6 fan's firmware is version 1.7.1 and their app indicates "No Updates Needed."

IMG_407A839C82F9-1

davidmac27 commented 3 years ago

Hi,

Thanks for your quick reply!  That’s the problem.  I have a Haiku model fan - I had never heard of i6 - you must live in a huge loft!!  ;)

My problem was when searching for plugins, if you search for “Haiku" you get different plugins versus if you search for "Big Ass” but “Big Ass” search results show two other plugins including yours that would seem to work with my fan (but they are old plugins).  I gravitated towards your since you have been doing a lot of work.

I found the plugin that I originally had working again (Haiku by Big Ass Fans - homebridge-haiku-senseme v3.3.0).  They have a nice auto-discovery feature that you might try to incorporate if it works with the i6 series.

Thanks,

David On May 15, 2021, 11:19 AM -0700, oogje @.***>, wrote:

Hello. Thank you for trying out this plugin. As far as I know you are the first. And thank you for submitting this issue. First of all, are your fans model i6? The firmware reported by the vendor's Big Ass Fans app, shows my i6 fan's firmware is version 1.7.1 and their app indicates "No Updates Needed." — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

oogje commented 3 years ago

My i6 is only 60” but it’s as large as was practical because I only have 9-foot ceilings. The room’s about 12’ x 18’ if you don’t count the open kitchen.

Thanks for the tip about the homebridge-haiku-senseme plugin. I missed that one because I only thought to search for bigassfans. Yes, I should check out auto discovery .

In any event, thanks for opening the issue, I should log some warnings if things don’t seem to be behaving correctly.

On May 15, 2021, at 2:26 PM, davidmac27 @.***> wrote:

Hi,

Thanks for your quick reply! That’s the problem. I have a Haiku model fan - I had never heard of i6 - you must live in a huge loft!! ;)

My problem was when searching for plugins, if you search for “Haiku" you get different plugins versus if you search for "Big Ass” but “Big Ass” search results show two other plugins including yours that would seem to work with my fan (but they are old plugins). I gravitated towards your since you have been doing a lot of work.

I found the plugin that I originally had working again (Haiku by Big Ass Fans - homebridge-haiku-senseme v3.3.0). They have a nice auto-discovery feature that you might try to incorporate if it works with the i6 series.

Thanks,

David On May 15, 2021, 11:19 AM -0700, oogje @.***>, wrote:

Hello. Thank you for trying out this plugin. As far as I know you are the first. And thank you for submitting this issue. First of all, are your fans model i6? The firmware reported by the vendor's Big Ass Fans app, shows my i6 fan's firmware is version 1.7.1 and their app indicates "No Updates Needed." — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/oogje/homebridge-i6-bigAssFans/issues/1#issuecomment-841704967, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKLWWCGVYHLCT7KEYAAZY3TN24G3ANCNFSM446CYNLA.

davidmac27 commented 3 years ago

Gotcha.  It would be cool if you could add the Haiku series to your plugin.  I got really excited when I saw that your plug-in reported the temperature and humidity values!  Very cool!

Thanks,

David On May 15, 2021, 11:50 AM -0700, oogje @.***>, wrote:

My i6 is only 60” but it’s as large as was practical because I only have 9-foot ceilings. The room’s about 12’ x 18’ if you don’t count the open kitchen.

Thanks for the tip about the homebridge-haiku-senseme plugin. I missed that one because I only thought to search for bigassfans. Yes, I should check out auto discovery .

In any event, thanks for opening the issue, I should log some warnings if things don’t seem to be behaving correctly.

On May 15, 2021, at 2:26 PM, davidmac27 @.***> wrote:

Hi,

Thanks for your quick reply! That’s the problem. I have a Haiku model fan - I had never heard of i6 - you must live in a huge loft!! ;)

My problem was when searching for plugins, if you search for “Haiku" you get different plugins versus if you search for "Big Ass” but “Big Ass” search results show two other plugins including yours that would seem to work with my fan (but they are old plugins). I gravitated towards your since you have been doing a lot of work.

I found the plugin that I originally had working again (Haiku by Big Ass Fans - homebridge-haiku-senseme v3.3.0). They have a nice auto-discovery feature that you might try to incorporate if it works with the i6 series.

Thanks,

David On May 15, 2021, 11:19 AM -0700, oogje @.***>, wrote:

Hello. Thank you for trying out this plugin. As far as I know you are the first. And thank you for submitting this issue. First of all, are your fans model i6? The firmware reported by the vendor's Big Ass Fans app, shows my i6 fan's firmware is version 1.7.1 and their app indicates "No Updates Needed." — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/oogje/homebridge-i6-bigAssFans/issues/1#issuecomment-841704967, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKLWWCGVYHLCT7KEYAAZY3TN24G3ANCNFSM446CYNLA.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

oogje commented 3 years ago

I was more excited about temperature/humidity before I realized the sensors are in the bluetooth remote control rather than in the fan. As far as adding Haiku, it could happen if/when I get a Haiku fan.

I made my email public in my profile so if you want to talk more about the Haiku send me mail and we can continue outside this issue. Thanks.

oogje commented 3 years ago

Version (0.1.1) should show users an error if their fan can't be reached or doesn't communicate with the i6 plugin. I'll close this and see how it goes,

oogje commented 2 years ago

Reopening this to let davidmac27 know that the plugin supports Haiku now and he should start with the beta (homebridge-i6-bigassfans@0.5.0-beta3) if he wants to check it out.