Giter Club home page Giter Club logo

homebridge-og's Introduction

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.

homebridge-og's People

Contributors

salbahra avatar timcharper avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.