Open gopro for raspberry pi ? #27
-
Hello , |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hello. Yes, you do need the correct python version: 3.8.x. Other than that, the python SDK has limited testing on Linux. I have seen at least one bug in the bleak driver where it can not pair. In order to get around this, I had to manually connect and pair first using BlueZ from the command. After that, the python SDK does work as expected. I started a discussion about this on the bleak repo but haven't gotten around to filing an issue / debugging it more yet. I haven't tested this in months so perhaps it is fixed now. In any case, I encourage you to give it a try and report your findings 👍 |
Beta Was this translation helpful? Give feedback.
-
Here's some more info on GoPro BLE on the Pi: https:/KonradIT/goprowifihack/blob/master/Bluetooth/Platforms/RaspberryPi.md Those instructions are as bulletproof it gets for pairing Linux/RPI with GoPro's BLE. I recommend everyone follows before using the demos here. I'm able to control the camera using the CLI tool This is on a Raspberry Pi 4, with BlueZ version 5.50. To pair the camera I followed the steps on the guide I linked earlier, it seems no other way works. Note that I used the gopro-ble-py's Pipfile, which forces Python 3.8 and also installs the bleak library. Maybe OpenGoPro could have a pipfile as well, as it would make installing the deps easier. Unable to try OpenGoPro due to the program connecting to GoPro's WiFi thus kicking me out of the shell. |
Beta Was this translation helpful? Give feedback.
-
Marking this an answered. Per the discussion above, it is possible to use the Open GoPro Python SDK with the RPi. However, due to a current Bleak limitation, you must first pair from the command line using BlueZ. There is future work to improve this which can be tracked here: #29 |
Beta Was this translation helpful? Give feedback.
Marking this an answered. Per the discussion above, it is possible to use the Open GoPro Python SDK with the RPi. However, due to a current Bleak limitation, you must first pair from the command line using BlueZ. There is future work to improve this which can be tracked here: #29