homebridge-gpio-switch-home

0.0.2 • Public • Published

homebridge-gpio-switch-home

Supports triggering General Purpose Input Output (GPIO) pins on the Raspberry Pi. Useful to control relay switch from Siri.

It use on/off library to achieve that.

Requirements

Installation

  1. Install Homebridge using npm install -g homebridge
  2. Install this plugin npm install -g homebridge-gpio-switch-home
  3. Update your configuration file - see sample-config.json in this repo

Configuration

Example config.json

{
  "accessories": [
    {
      "accessory": "switchome",
        "name": "my switch",
        "pin": 7
    }
  ]
}

Package Sidebar

Install

npm i homebridge-gpio-switch-home

Weekly Downloads

1

Version

0.0.2

License

ISC

Unpacked Size

2.48 kB

Total Files

3

Last publish

Collaborators

  • stefano-sg