homebridge-og
v3.2.1
Published
Homebridge garage plugin for OpenGarage
Maintainers
Readme
OpenGarage Garage door
Homebridge plugin for OpenGarage.
Installation
This plugin only works with OpenGarage Firmware 1.0.8 or later.
You must have Node.js v18.0.0 or later installed (required for native fetch support). Check your node version:
node --versionYou need Homebridge installed and configured. This plugin requires Homebridge 1.8.0 or later.
npm install -g homebridgeInstall this plugin from npm:
npm install -g homebridge-ogOr directly from GitHub:
npm install -g github:OpenGarage/homebridge-ogOr from source:
git clone https://github.com/OpenGarage/homebridge-og.git
cd homebridge-og
npm pack
sudo npm install -g homebridge-og-$(node -e "console.log(require('./package.json').version)").tgzConfiguration
Update your config.json configuration file. See the example below.
ip- The host name or IP address of your OpenGarage devicekey- The password to control your OpenGarage deviceopenCloseDurationSecs- 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.logFrequencySecs- (Optional) How often to log a routine status message. Defaults to60. A status line is always logged immediately when the door or vehicle state changes regardless of this setting.
Sample config.json
{
"accessories":
[
{
"accessory": "OpenGarage",
"name": "Garage",
"ip": "192.168.0.4",
"key": "YourPassword",
"openCloseDurationSecs": 22,
"pollFrequencySecs": 60,
"logFrequencySecs": 60
}
]
}NOTES
- Change the IP in the example to the IP or hostname of your OpenGarage.
- Be sure to change the "YourPassword" part to the password used for your OpenGarage.
- 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
openCloseDurationSecsaccordingly. - Enjoy telling Siri to open and close your Garage as well as receiving push notifications on state change.
