-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Stephen Papierski edited this page Mar 15, 2020
·
2 revisions
- Download Raspian Lite (Raspian Buster Lite version February 2020 at the time of writing this) [https://www.raspberrypi.org/downloads/raspbian/]
- Install Raspian on the Pi [https://www.raspberrypi.org/documentation/installation/installing-images/README.md]
- Enable SSH by placing a file named “ssh” (without any extension) onto the boot partition of the SD card
- Insert SD card and network cable, then power the Pi
- SSH to the Pi ssh pi@raspberrypi (default password is “raspberry”)
- Run configuration sudo raspi-config
- Optional: Change default password (Default passwords can be a security risk. If you’re worried about it, you should change it.)
- Select “Change User Password
- Enter new password
- Optional: Change hostname (Set the visible name for this Pi on the network)
- Select “Network Options”
- Select “Hostname”
- Enter new hostname (PiGarage)
- Configure Wi-fi (unless you plan to run hardwired)
- Select “Network Options”
- Select “Wi-fi”
- Select country
- Enter SSID (Network name)
- Enter network password
- See WiFi Setup for more advanced wireless options.
- Select “Finish”
- Configure DHCP IP Reservation (process varies per router)
- This will ensure the IP of the device doesn’t change, which would cause the Hubitat driver to lose connection with the device.
- Reboot the Pi
- sudo reboot
- SSH to the Pi
- ssh pi@PiGarage
- Install dependencies
- sudo apt update
- sudo apt install git python3-pip
- Install python packages
- pip3 install RPi.GPIO flask
- Install PiGarage
- Make PiGarage start when the Pi does
- sudo cp PiGarage/raspi/pi-garage.service /etc/systemd/system/
- sudo systemctl start pi-garage.service
- sudo systemctl enable pi-garage.service