Raspberry Pi powered garage door opener.
- Flash an SD card with Raspbian lite 1a. Configure wifi and ssh for use in headless mode
- Boot Pi and SSH in. Run
sudo apt-get update
. - Install GO. I usually use these steps
- Install git with
sudo apt install git
- Clone this repo to
/home/pi/git/pi-door-opener
- Register the service with systemd.
sudo cp /home/pi/git/pi-door-opener/garageDoor.service /lib/systemd/system/
thensudo systemctl enable garageDoor.service
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.