Comments (6)
update your python3 to 3.6.* (recommended target for this API)
from gopro-py-api.
Thank you KnoradIT. I'll close this whilst I do the python update and re-open if the problem persists.
from gopro-py-api.
Still awaiting the python update for the pi, but I discovered the following workaround for pair.
In file GoProCamera.py at
line 367. add _ to make _context
lines 369 and 371. add _ to make context=_context
from gopro-py-api.
So like this?
_context = ssl._create_unverified_context()
ssl._create_default_https_context = ssl._create_unverified_context
response_raw = urllib.request.urlopen('https://' + self.ip_addr + '/gpPair?c=start&pin=' + code + '&mode=0', context=_context).read().decode('utf8')
print(response_raw)
response_raw = urllib.request.urlopen('https://' + self.ip_addr + '/gpPair?c=finish&pin=' + code + '&mode=0', context=_context).read().decode('utf8')
from gopro-py-api.
Exactly!
My GoPro is paired and all is working perfectly now (Pi is currently at Python 3.5.3).
Thanks again for making your code available.
from gopro-py-api.
Cool this will be added in the next release.
from gopro-py-api.
Related Issues (20)
- Gopro8 Black Not Waking up. HOT 2
- GetMediaList error
- downloadAll - urlopen error retrieval incomplete
- Error using opencv to display stream HOT 4
- Connect ubuntu and gopro10 with USB HOT 2
- USB connection with a GoPro HOT 4
- GoPro MAX Metadata during Livestream
- GoPro Hero 9 connected via USB - take_photo() not returning HOT 1
- Hero 10 webcam python script HOT 6
- ERROR: HTTP Error 500: Internal Server Error when trying to download images
- Gopro Hero 11 support HOT 5
- GoPro HERO 10 power_off() and power_on() HOT 1
- Using GoPro (Hero 9) for Octolapse HOT 1
- GoPro Max 360 Images and Videos HOT 2
- Max 360° Foto Video Mode
- Help: Control settings via usb HOT 4
- Will this library work with Hero 11? HOT 1
- Control GoPRo hero 7 black via usb wired connection HOT 3
- My GoPro hero 7 does not apear in my WIFI list HOT 1
- GoPro Hero 12 Error record video with USB connection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gopro-py-api.