Homebridge plugin that supports triggering commands to check state, open, and close a garage door.
- Install homebridge using:
npm install -g homebridge
- Install this plugin using:
npm install -g homebridge-imp-garagedoor
Configuration sample:
"accessories": [
{
"accessory": "GarageDoorImp",
"name": "Garage Door",
"url": "https://agent.electricimp.com/HOmf6N8jHm9F",
"sharedKey": "asdfghjklpoiuytrewqASDFGHJKL0987",
"status_update_delay": 15
}
]
Field | Description |
---|---|
accessory | Must always be "GarageDoorImp" (required) |
name | Name of the Garage Door |
url | url to respond to &msg=check |
sharedKey | 32 character alphanumeric shared secret ?apiKey=sharedKey (required) |
status_update_delay | Time to delay updating state to ensure state updated (defaults to 15 seconds) |
The open, close, and state commands should return an encoded json object with 2 values with the keys "current" and "target". Accepted current values are: OPEN, CLOSED, OPENING, CLOSING, STOPPED Accepted target values are: OPEN, CLOSED Assembled secure URL should resemble: https://the-url.com?apiKey=qwertyASDFGHzxcvbnPLkm0123456789&msg=check