Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 934 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 934 Bytes

Pi Door Opener

Raspberry Pi powered garage door opener.

Install instructions

  1. Flash an SD card with Raspbian lite 1a. Configure wifi and ssh for use in headless mode
  2. Boot Pi and SSH in. Run sudo apt-get update.
  3. Install GO. I usually use these steps
  4. Install git with sudo apt install git
  5. Clone this repo to /home/pi/git/pi-door-opener
  6. Register the service with systemd. sudo cp /home/pi/git/pi-door-opener/garageDoor.service /lib/systemd/system/ then sudo systemctl enable garageDoor.service

Configuration

All configuration lives in the .env file. This should be created from a copy of .env.example.

  • ENV. Specify a name for the environment. Mainly used to tag sentry errors.
  • INVER_DOOR_SENSOR. By default, the door sensor will infer a broken circuit as closed. To invert this, set the variable to true.