Skip to content

tecamenz/gopro_timelapse

Repository files navigation

GOPRO_TIMELAPSE

Installation

Update

sudo apt-get update && sudo apt-get upgrade

Install important packages

sudo apt-get install tmux ntp -y
sudo apt-get install python3 python3-venv -y

Config timezone

sudo timedatectl set-timezone Europe/Zurich

Create a virtual environment and activate it

cd GOPRO_TIMELAPSE
python3 -m venv .venv
source .venv/bin/activate

Install dependencies:

pip install -r requirements.txt

Connect to GoPro

  1. Go to "Preferences" --> "Connections" --> "Connect Device" --> "GoPro App"
  2. Tap on the "info icon"
  3. Remember Camera Name and Password
  4. Update wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=CH

network={
        ssid="GP26******"
        psk="*********"
}

Reconfigure the interface

wpa_cli -i wlan0 reconfigure

You can verify whether it has successfully connected using ifconfig wlan0

  1. Pairing: run python pair.py
  2. Start tmux session, activate env and start keepalive.py

Install Service & Start

sudo cp /home/pi/gopro_timelapse/gopro_timelapse_service.service /etc/systemd/system/gopro_timelapse_service.service
sudo systemctl daemon-reload
sudo systemctl start gopro_timelapse_service.service

About

Long Term Time-Lapse with GoPro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published