当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

homebridge-aladdin-connect-garage-door

授权协议 MIT License
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 秦焱
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Homebridge Verified

homebridge-aladdin-connect-garage-door

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:

Parameter Description
accessory Must always be "AladdinConnectGarageDoorOpener" (required)
name Name of the Garage Door
username Your Aladdin Connect username (email address). NOTE: use 'owner' username. Delegated access does not work
password Your Aladdin Connect password
status_update_delay Time to have door in opening or closing state (defaults to 15 seconds)
poll_state_delay Time between polling for the garage door's state (leave blank to disable state polling)
device_number Genie Aladdin Connect device number (0-2). Defaults to 0
garage_number Garage number (1-3). Defaults to 1
battery_low_level Threshold for low battery warning
ignore_errors true/false. Causes the plugin to replace 'STOPPED' status with 'CLOSED' (defaults to false)
log_polling true/false. Poll logs only show on error; Set to true to log every poll (defaults to false)
allow_debug true/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.

 相关资料
  • homebridge-esp8266-garage-door An esp8266 powered garage door controller with HomeKit support powered by Homebridge. PlatformIO This project uses PlatformIO to manage dependencies and build process. S

  • Homebridge Sonoff Garage Door Opener This is a homebridge plugin to connect with a Sonoff Relay Board with ESPEasy firmware into a Garage Door Opener via the Home app on iOS using Homekit. I created t

  • 阿拉丁神灯是第六代动词算子式代码生成器,是光的技术升级版,使用了流行的技术栈和代码结构,其架构源于光 SBMEU 版 2.2 智慧版本,新使用了 SpringBoot 和 Maven。 项目图片 移植手记 花了一天时间,终于使光变身成为阿拉丁神灯,赶上了这个全民 SpringBoot 的时代,截屏以记之。

  • Willow Garage的开源机器人工程,它是起源于斯坦福大学的一个项目。机器人可以被开发在ROS(机器人操作系统)软件上,现在大概有25家研究机构在利用Willow Garage开放平台开发机器人应用。  

  • 描述 (Description) 此函数使用文件句柄SOCKET和EXPR指定的地址连接到远程套接字。 EXPR应该是套接字的适当类型的打包地址。 语法 (Syntax) 以下是此函数的简单语法 - connect SOCKET, EXPR 返回值 (Return Value) 此函数在失败时返回0,在成功时返回1。

  • 一、功能演示 如图:根据自己需要配置 。配置相对简单不在详述。