0.0.6 • Published 5 years ago

homebridge-http-garage-sensor v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

homebridge-http-garage-sensor

npm npm

Description

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-sensor
  3. Update your config.json

Configuration

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

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
sensorURLURL to trigger the closing of your garageN/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

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 accessoryhomebridge-http-garage-sensor
serial (optional)Appears under the Serial field for the accessoryN/A
manufacturer (optional)Appears under the Manufacturer field for the accessoryN/A
0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago