Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoPro HERO8 / MAX / API refactor #122

Open
KonradIT opened this issue Nov 14, 2019 · 7 comments
Open

GoPro HERO8 / MAX / API refactor #122

KonradIT opened this issue Nov 14, 2019 · 7 comments

Comments

@KonradIT
Copy link
Owner

This weekend I'll push 4.1.0 which adds support for GoPro MAX commands, refactors the media download/get part to work better and more consistently across all cameras. GoPro HERO8 support is also in the works.

Regarding turning WiFi on with MAX and HERO8, this will come in a later release as I need to figure out a way to interface with the computer BT chip across all major OSes asynchronously without requiring sudo access.

Peace.

@KonradIT KonradIT pinned this issue Nov 14, 2019
@torolito
Copy link

Awesome!
Looking forward to your BT solution, I didn't want do go down that rabbit hole.

Cheers

@cwerner
Copy link

cwerner commented Nov 28, 2019

Great! Awaiting Hero8 compatibility ;-) 👍

@mrgard
Copy link

mrgard commented Nov 30, 2019

Hi Konrad, today I tried the bluetooth commands on a HERO8, it works with bluetoothctl (scan on, trust, pair, connect, disconnect) and gatttool (connect).

However, when I try to issue commands for e.g. turn on wifi, nothing happens
(char-write-req 2f 03170101). Maybe this is part of the different new commands on HERO8?

Also, connection with bluetoothctl and gatttool ONLY works when HERO8 pairing mode is active (when the GOPRO APP connect dialog is active). As soon as exiting this dialog on the camera itself, all bluetooth commands fails.

If you have any commands I can test, I'm more than happy to try :)

I'm testing from either a Win10 PC, or from a Raspberry PI4.
Streaming works fine with low latency!

Keep up the good work!
greetings from Gard

@eztutnahi
Copy link

Hi Konrad,
I'm trying to get control over a gopro Max but, though I managed to connect via wifi and start recording, once Max's recording i goes deaf and cannot stop it; I'm guessing it has to do with bluetooth connection (couldn't pair it). I've tried to upgrade goprocam from 4.0.2 to 4.1.0 (I assume that's were my problem is), but can't seem to be able to find the way to do it. I'm an absolute new to github, so I'm sure there's something wrong I'm doing. Could you give me guidance?
Working on Raspberry Pi3.
Thanks for the great work

@Fougl
Copy link

Fougl commented Jun 1, 2020

Hi Konrad,
I'm trying to get control over a gopro Max but, though I managed to connect via wifi and start recording, once Max's recording i goes deaf and cannot stop it; I'm guessing it has to do with bluetooth connection (couldn't pair it). I've tried to upgrade goprocam from 4.0.2 to 4.1.0 (I assume that's were my problem is), but can't seem to be able to find the way to do it. I'm an absolute new to github, so I'm sure there's something wrong I'm doing. Could you give me guidance?
Working on Raspberry Pi3.
Thanks for the great work

@eztutnahi how did you manage to connect via wifi? My windows does not discover gopro max over wifi.

@eztutnahi
Copy link

Hi @Fougl
I believe that gopros activate wifi via bluetooth command. I was never capable of doing it with my raspi, though I managed to pair it. I configured the wifi in my raspi ([https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md]) and, whenever I want access to it I make a syncing attempt with the gopro phone app. Not the best solution, because I want to be able to control it remotely, but once connected to the gopro wifi, it'll keep connected no matter what, as long as the pi/gopro is not restarted.
hope it helps... a bit

@KonradIT
Copy link
Owner Author

Well this has been going on for more than a year, as a progress update:

  • Hero8 and MAX require WiFi to be turned on via a BLE command, see gopro-ble-py.
  • Hero9 as well, but now the default USB behavior exposes the gpControl APIs, gpMediaList and new gpWebcam endpoints over USB Ethernet, so no WiFi or BLE fidgeting needed.
  • This API now supports most Hero8 and Hero9 settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants