Socket
Book a DemoInstallSign in
Socket

homebridge-gpio-garagedoor

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-gpio-garagedoor

Raspberry Pi GPIO based Garage Door plugin for Homebridge

latest
Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
3
-82.35%
Maintainers
1
Weekly downloads
 
Created
Source

homebridge-gpio-garagedoor

RPi GPIO based Garage Door plugin for Homebridge

Installation

  • Install homebridge using: npm install -g homebridge
  • Install this plugin using: npm install -g homebridge-gpio-garagedoor
  • Update your configuration file. See sample config.json snippet below.

Configuration

Configuration sample:

   "accessories": [
   	{
   		"accessory": "GPIOGarageDoor",
   		"name": "Garage Door",
   		"doorSwitchPin": 23,
   		"doorSensorPin": 24,
   		"isNCSensor": false,
   		"doorOpensInSeconds": 14
   	}
   ]

Fields:

  • "accessory": Must always be "GPIOGarageDoor" (required)
  • "name": Can be anything (required)
  • "doorSwitchPin": GPIO pin that is used to trigger the garage door switch (required)
  • "doorSensorPin": GPIO pin that is used to detect if the state of the garage door (required)
  • "isNCSensor": Specifies whether the door sensor is a Normally Closed (NC) type or Normally Open (NO) type (optional, default false NO)
  • "doorOpensInSeconds": Number of seconds for the garage door to open completely (required)

Keywords

homebridge-plugin

FAQs

Package last updated on 20 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts