• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

OpenGarage/homebridge-og: Homebridge plugin for OpenGarage

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

OpenGarage/homebridge-og

开源软件地址:

https://github.com/OpenGarage/homebridge-og

开源编程语言:

JavaScript 100.0%

开源软件介绍:

OpenGarage Garage door

Homebridge plugin for OpenGarage. This plugin is a modified version of homebridge-loxone-garage made to work with OpenGarage

Installation

This plugin only works with OpenGarage Firmware 1.0.8 or later.

You must have NodeJS v8.1.4 or later installed as homebridge-og depends on JavaScript features introduced at that point. Check your node version:

node --version

You need Homebridge installed and configured. This plugin was developed against Homebridge 0.4.43.

npm install -g homebridge

Install this plugin from source:

git clone ...
cd homebridge-og
npm pack
sudo npm install -g homebridge-og-3.0.0.tgz

Configuration

Update your config.json configuration file. See the example below.

  • ip - The host name or IP address of your OpenGarage device
  • key - The password to control your OpenGarage device
  • openCloseDurationSecs - The amount of time within which an open/close transition should reliably complete (and OpenGarage will sense the new door state), including the OpenGarage warning beeps.
  • pollFrequencySecs - How often to poll OpenGarage for state changes. This will enable state updates for the garage door when not controlled via this homebridge plugin.

Sample config.json

    {
        "accessories":
        [
            {
                "accessory": "OpenGarage",
                "name": "Garage",
                "ip": "192.168.0.4",
                "key": "YourPassword",
                "openCloseDurationSecs": 22,
                "pollFrequencySecs": 60
            }
        ]
    }

NOTES

  1. Change the IP in the example to the IP or hostname of your OpenGarage.
  2. Be sure to change the "YourPassword" part to the password used for your OpenGarage.
  3. Measure how long it takes for your garage door to close after triggering the state change using OpenGarage, including the warning beeps if applicable. Add a few seconds and set the value openCloseDurationSecs accordingly.
  4. Enjoy telling Siri to open and close your Garage as well as receiving push notifications on state change.



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap