Skip to content

drewskix86/homebridge-imp-garagedoor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-imp-garagedoor

Homebridge plugin that supports triggering commands to check state, open, and close a garage door.

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-imp-garagedoor

Configuration

Configuration sample:

"accessories": [
  {
    "accessory": "GarageDoorImp",
    "name": "Garage Door",
    "url": "https://agent.electricimp.com/HOmf6N8jHm9F",
    "sharedKey": "asdfghjklpoiuytrewqASDFGHJKL0987",
    "status_update_delay": 15
  }
]

Explanation:

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published