derek-miller / homebridge-genie-aladdin-connect

Homebridge plugin to integrate Genie Aladdin Connect enabled garage door openers.
https://www.npmjs.com/package/homebridge-genie-aladdin-connect
Apache License 2.0
30 stars 4 forks source link

Lots and lots of API calls #35

Closed nickali closed 1 year ago

nickali commented 1 year ago

I don't know if this is a bug or standard behavior but the API seems to be called constantly. Here is a couple screenshots from my pi-hole:

Screen Shot 2023-07-28 at 11 03 22 AM

Screen Shot 2023-07-28 at 11 03 45 AM

I set up this plugin in homebridge just yesterday.

The plugin itself is working just fine.

derek-miller commented 1 year ago

Yes that is expected since this is a polling based integration. The genie service does not offer a web socket or other realtime event delivery. You can change the polling interval in the settings if you wish, but just know this will delay updates to the accessory in HomeKit by that amount. https://github.com/derek-miller/homebridge-genie-aladdin-connect/blob/master/config.schema.json#L59

nickali commented 1 year ago

If I use this:

{
    "name": "Garage Opener",
    "email": "<EMAIL>",
    "password": "<PASSWORD>",
    "batteryDetection": false,
    "logLevel": 3,
    "platform": "AladdinConnectPlatform",
    "_bridge": {
        "username": "<USERNAME>",
        "port": 50599
    },
    "doorStatusPollInterval": 60000
}

I still see this:

Screen Shot 2023-07-28 at 1 50 07 PM

Perhaps I not setting doorStatusPollInterval properly?

derek-miller commented 1 year ago

AladdinConnectPlatform is not this plugin. Make sure you are using homebridge-genie-aladdin-connect and not homebridge-AladdinConnect.

nickali commented 1 year ago

Oh duh, yup, you are correct, wrong plugin.