2.0.0 • Published 4 years ago

homebridge-http-garage-lowercase v2.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

homebridge-http-garage

npm npm

Description

Forked from: Tomm Rodrigues

This homebridge plugin exposes a web-based garage opener to Apple's HomeKit. Using simple HTTP requests, the plugin allows you to open/close the garage.

Installation

  1. Install homebridge
  2. Install this plugin: npm install -g homebridge-http-garage
  3. Update your config.json

Configuration

"accessories": [
     {
       "accessory": "GarageDoorOpener",
       "name": "Garage",
       "openURL": "http://myurl.com/open",
       "closeURL": "http://myurl.com/close",
       "stateURL": "http://myurl.com"
     }
]

Core

KeyDescriptionDefault
accessoryMust be GarageDoorOpenerN/A
nameName to appear in the Home appN/A
openURLURL to trigger the opening of your garageN/A
closeURLURL to trigger the closing of your garageN/A
stateURLURL to get the status of the garage (must return OPEN or CLOSED as text)N/A

Optional fields

KeyDescriptionDefault
openTime (optional)Time (in seconds) to simulate your garage opening5
closeTime (optional)Time (in seconds) to simulate your garage closing5
autoLock (optional)Whether your garage should auto-close after being openedfalse
autoLockDelay (optional)Time (in seconds) until your garage will automatically close (if enabled)10
enablePolling (optional)Poll the garage for its status and update HomeKittrue
pollingDelay (opttional)How often the garage is polled for its status5000

Additional options

KeyDescriptionDefault
timeout (optional)Time (in milliseconds) until the accessory will be marked as Not Responding if it is unreachable3000
http_method (optional)HTTP method used to communicate with the deviceGET
username (optional)Username if HTTP authentication is enabledN/A
password (optional)Password if HTTP authentication is enabledN/A
model (optional)Appears under the Model field for the accessoryplugin
serial (optional)Appears under the Serial field for the accessoryversion
manufacturer (optional)Appears under the Manufacturer field for the accessoryauthor
firmware (optional)Appears under the Firmware field for the accessoryversion
2.0.0

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

0.0.66

4 years ago

0.0.65

4 years ago