rsporny / homebridge-gpio-blinds

Homebridge plugin to control blinds via Raspberry Pi GPIO pins.
MIT License
13 stars 10 forks source link

Homebridge GPIO Blinds

Homebridge plugin to control blinds via Raspberry Pi GPIO pins.

Motivation

I've got 16 windows with blinds in my house. Controlling them manually would be simply annoying. See how it works -> https://youtu.be/jc-fZn0_fBA

Installation

  1. install homebridge npm install -g homebridge
  2. install this plugin npm install -g homebridge-gpio-blinds
  3. update your ~/.homebridge/config.json file (use sample-config.json as a reference)

Configuration

Sample accessory:

"accessories": [
  {
    "accessory": "Blinds",
    "name": "Garage",
    "pinUp": 5,
    "pinDown": 11,
    "durationUp": 13000,
    "durationDown": 13000,
    "durationOffset": 1000,
    "pinClosed": 17,
    "pinOpen": 18,
    "activeLow": false,
    "reedSwitchActiveLow": false
  }
]

Fields:

Raspberry Pi setup

Troubleshooting