1.0.6 • Published 2 years ago

homebridge-aladdin-connect-garage-door v1.0.6

Weekly downloads
57
License
MIT
Repository
github
Last release
2 years ago

This package is deprecated, please use https://github.com/derek-miller/homebridge-genie-aladdin-connect (https://www.npmjs.com/package/homebridge-aladdin-connect-garage-door) instead

homebridge-aladdin-connect-garage-door

npm npm verified-by-homebridge

Homebridge plugin that supports Genie Aladdin garage door opener.
This plugin is not affiliated with the Genie company.

This plugin is a combo of:

Mainly, so you can put username and password into your homebridge config, rather than hardcoding them into javascript, or devising a system to pass them on through docker secrets (I've done both). Also, homebridge won't be forking a shell and an extra node process every time it needs to issue a command, which (considering the state monitoring every 15 seconds) saves quite a lot of CPU cycles.

Configuration

This easiest way to use this plugin is to use homebridge-config-ui-x.
To configure manually, add to the accessories section of Homebridge's config.json after installing the plugin.

Config:

"accessories": [
  {
    "accessory": "AladdinConnectGarageDoorOpener",
    "name": "Garage Door",
    "username": "",
    "password": "",
    "status_update_delay": 15,
    "poll_state_delay": 20,
    "device_number": 0,
    "garage_number": 1,
    "battery_low_level": 15,
    "ignore_errors": true,
    "log_polling": false,
    "allow_debug": false
  }
]

Explanation:

ParameterDescription
accessoryMust always be "AladdinConnectGarageDoorOpener" (required)
nameName of the Garage Door
usernameYour Aladdin Connect username (email address). NOTE: use 'owner' username. Delegated access does not work
passwordYour Aladdin Connect password
status_update_delayTime to have door in opening or closing state (defaults to 15 seconds)
poll_state_delayTime between polling for the garage door's state (leave blank to disable state polling)
device_numberGenie Aladdin Connect device number (0-2). Defaults to 0
garage_numberGarage number (1-3). Defaults to 1
battery_low_levelThreshold for low battery warning
ignore_errorstrue/false. Causes the plugin to replace 'STOPPED' status with 'CLOSED' (defaults to false)
log_pollingtrue/false. Poll logs only show on error; Set to true to log every poll (defaults to false)
allow_debugtrue/false. Dumps a lot of debug info to stdout. (defaults to false)

Note:

I was unable to get proper response from the API when I used a secondary (invited) Aladdin Connect credentials. As a workaround, I had to use the primary login credentials instead. I advise you do the same.

The ignore_errors config option is in place to prevent false OPEN events from occuring if the aladdin connect API fails to respond. Events where STOPPED is replaced with CLOSED are logged, but consider this a word of caution that setting this option to true ignores errors and could incorrectly report your garage door as CLOSED when it is not.

1.0.6

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago