Skip to content

BlasiusVonSzerencsi/gopro-hero-session-playground

Repository files navigation

GoPro Hero Session Playground

Examples, how to control Your GoPro (Hero Session) via Ruby scripts.

All of the scripts assume, that the camera has Wi-Fi enabled, and that Your computer is connected to its network.

These scripts are based on the enthusiastic work of Konrad Iturbe who invested great effort in reverse-engineering the GoPro Wi-Fi "API". To access the documentation visit the GoPro WiFi Hack repository.

Wake up the camera

For this script to work You'll have to set the GOPRO_MAC environment variable. To do this You can either use Dotenv or set the variable manually.

(either) Use Dotenv:

echo 'GOPRO_MAC="<YOUR-GOPRO-MAC>"' > .env

(or) Set the variable "manually":

export GOPRO_MAC="<YOUR-GOPRO-MAC>"

Then execute the script

bundle exec ruby wake_up_camera.rb

Put camera back to sleep

bundle exec ruby put_camera_to_sleep.rb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages