0.0.2 • Published 7 years ago

homebridge-commandgaragedoor v0.0.2

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

homebridge-commandgaragedoor

Garage Door Opener plugin for Homebridge.

Executes a shell command taking care of opening a door.

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-commandgaragedoor
  3. Update your configuration file. See the sample below.

Updating

  • npm update -g homebridge-commandgaragedoor

Configuration

KeyDescription
namedefault accessory name
commandshell command to execute
simulateTimeOpeningTime in seconds displaying 'opening' state after open triggered
simulateTimeOpenTime in seconds displaying 'open' state after 'opening' state
simulateTimeClosingTime in seconds showing 'closing' state after 'open' state
manufacturerManufacturer entry in iOS Home®
modelModel entry in iOS Home®
serialnumberSerial Number entry in iOS Home®

Sample Configuration

  "accessories": [{
      "name": "Sample Garage Door",
      "command": "python ~/opendoor.py",
      "simulateTimeOpening": 3,
      "simulateTimeOpen": 5,
      "simulateTimeClosing": 2,
      "manufacturer": "selfmade",
      "model": "model x",
      "serialnumber": "y"
  }]

Credit

The original work was done by plasticrake in his homebridge-real-fake-garage-doors project.