Thursday, 20 April 2017

Wirelessly Control your GoPro Hero5 Black/Session from your PC


THIS BLOG HAS MOVE TO THE GRAFT ROBOTICS BLOG PAGE, AS PART OF THE NEWLY FORMED GRAFT ROBOTICS COMPANY. Using your laptop or desktop computer to wirelessly take a picture or video with your GoPro Hero5 can be useful when you don't already have the GoPro App on your phone, can't find your phone, or want to develop some GoPro controlling application. You could even set up a camera trap in your home for some funny moments! Using your laptop's web browser (Firefox, Chrome, etc.), you can send commands over wifi to your GoPro to do anything that the app can. These commands are specified by the GoPro API (application programming interface). If you are interested in a low cost solution for controlling a GoPro while attached to a drone, RC car, camera trap, or for a custom home project using a Raspberry Pi, check out our FREE GoPie software.

I will only show you how to connect, take a picture, video, and multishot. It is possible, although unlikely, that the commands differ between firmware versions (I was using version 01.05 while testing these commands) so make sure to check your GoPro firmware version.  You can also refer to the Unofficial GoPro API for a detailed description of possible commands. I plan to create a blog on how to determine the commands yourself using tcpdump, Android Debugger, and Wireshark.

Establishing a Connection

First you set up your GoPro for wifi connectivity:

  • Turn on your GoPro by holding down the mode button.
  • Slide your finger from top to bottom and then select the "Connectivity" option.
  • Scroll down and select the "Connect New" option.
  • Select "Capture App"; your GoPro ID and password will then appear.

Then you connect to the GoPro with your PC:

  • Open up the available wifi networks with your PC and then select the one that has your GoPro ID as its name.
  • Once connected, open up your favorite browser.
  • Copy and paste the following into the url text box and then press enter (this is sending the first command to initiate the connection): http://10.5.5.9/bacpac/cv
  • Then send (in the same way) the following command to present the name of your PC/connection (replace <name> with the name you would like to use): http://10.5.5.9/gp/gpControl/command/wireless/pair/complete?success=1&deviceName=<name>
  • After a successful connection, your GoPro will then display the name you provide and a "Connected" status.
  • You may need to perform this step again after rebooting the gopro, if the next commands do not work.
  • You will notice a new symbol in the top left of the GoPro screen representing enabled wifi.

Taking a Picture, Video, or Multishot

After establishing a connection you can then send any other API commands.

To take a picture:

  • Use your browser, as before, to first change the mode to photo with the url http://10.5.5.9/gp/gpControl/command/mode?p=1
  • Then take the photo with the trigger command with the url http://10.5.5.9/gp/gpControl/command/shutter?p=1

To take a video:

  • Use your browser, as before, to first change the mode to video with the url http://10.5.5.9/gp/gpControl/command/mode?p=0
  • Then start the video with the trigger command with the url http://10.5.5.9/gp/gpControl/command/shutter?p=1
  • Then stop it with http://10.5.5.9/gp/gpControl/command/shutter?p=0

To take a multishot:

  • Change the mode to multishot with the url http://10.5.5.9/gp/gpControl/command/mode?p=2
  • Then trigger with http://10.5.5.9/gp/gpControl/command/shutter?p=1

Labels: , ,

21 Comments:

At 27 July 2018 at 04:20 , Blogger gibsonherry said...

This blog aware me about different programs which can become very useful for our friends and kids. Few websites provide combined courses and few of the are separately for single subject. Glad to get this information.
Dell PowerEdge T430

 
At 30 July 2018 at 05:15 , Blogger gibsonherry said...

Graceful written content on this blog is really useful for everyone same as I got to know. Difficult to locate relevant and useful informative blog as I found this one to get more knowledge but this is really a nice one.
HPE ProLiant DL180 Gen9

 
At 6 August 2018 at 04:44 , Blogger Unknown said...

I found this blog after a long time which is really helpful to let understand different approaches. I am going to adopt these new point to my career and thankful for this help.
โรงแรม ญี่ปุ่น

 
At 8 August 2018 at 02:34 , Blogger quickserv.co.th said...

This blog aware me about different programs which can become very useful for our friends and kids. Few websites provide combined courses and few of the are separately for single subject. Glad to get this information.
Lenovo Storage S2200 Dual Controller

 
At 8 August 2018 at 02:49 , Blogger quickserv.co.th said...

Sometime it becomes very hard to find a well written and well established bog which give you correct and useful information. However, I found this blog and got some relevant information which are really helpful for me.
t shirt printing

 
At 8 August 2018 at 03:00 , Blogger quickserv.co.th said...

Mesmerized article written on this blog with other relevant information. It is straight to the point that how we can improve our skills as well as how we can be represented to a new stream of professionalism.
t shirt design online

 
At 8 August 2018 at 03:27 , Blogger quickserv.co.th said...

Share great information about your blog , Blog really helpful for us . We read your blog , share most useful information in blog . Thanks for share your blog here .
ยาแก้ปวดไมเกรน

 
At 8 August 2018 at 04:02 , Blogger quickserv.co.th said...

I found this blog after a long time which is really helpful to let understand different approaches. I am going to adopt these new point to my career and thankful for this help.
สอน forex เบื้องต้นa

 
At 14 August 2018 at 03:55 , Blogger Unknown said...

I am truly inspired by this online journal! Extremely clear clarification of issues is given and it is open to every living soul. I have perused your post, truly you have given this extraordinary informative data about it.
forex demo

 
At 14 August 2018 at 04:07 , Blogger Unknown said...

This blog is really helpful regarding all educational knowledge I earned. It covered a great area of subject which can assist a lot of needy people. Everything mentioned here is clear and very useful.
แบนเนอร์

 
At 16 August 2018 at 01:28 , Blogger Unknown said...

This blog is truly useful to convey overhauled instructive undertakings over web which is truly examination. I discovered one fruitful case of this truth through this blog. I will utilize such data now.
IBM TS2900 Tape Autoloade

 
At 16 August 2018 at 01:59 , Blogger Unknown said...

I am grateful to you on the grounds that your article is exceptionally useful for me to continue with my exploration in same region. Your cited illustrations are all that much significant to my exploration field.This is extraordinary! It really exhibits to me where to broaden my online diary
igcse

 
At 17 August 2018 at 21:12 , Blogger Helish Lawera said...

I am thankful to this blog for assisting me. I added some specified clues which are really important for me to use them in my writing skill. Really helpful stuff made by this blog.
เห็ดหลินจือแดงสกัด

 
At 17 August 2018 at 21:37 , Blogger Helish Lawera said...

The site is really beneficial for everyone to know about this topic. I think if you read blog than you will get some more information from blog. This is really useful blog.
รับ ป ริ้น สติ๊กเกอร์

 
At 17 August 2018 at 21:58 , Blogger Helish Lawera said...

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.
https://www.vrltled.com/category/3928/digital-signage-kioskจอ digital signage

 
At 10 September 2018 at 04:25 , Blogger lisysomna said...

A blog must be connected to the person in need. It is really important to understand the actual feel of such necessity and the essence of objective behind it. Author must give proper time to understand every topic before writing it.
Agile Project Management

 
At 10 September 2018 at 04:32 , Blogger lisysomna said...

Your post is providing some really good information. I liked its essence and enjoyed reading it. Keep sharing such important posts about this blog and its much more helpful for us .
คาสิโนที่มาเก๊า

 
At 10 September 2018 at 05:01 , Blogger lisysomna said...

This is really nice to read content of this blog. A is very extensive and vast knowledgeable platform has been given by this blog. I really appreciate this blog to has such kind of educational knowledge.
เสื้อสูท

 
At 10 September 2018 at 05:11 , Blogger lisysomna said...

Fantastic post, very informative. I wonder why the other specialists of this sector do not notice this. You must continue your writing. I'm confident, you have a great readers' base already!
ผิวติดสาร

 
At 11 September 2018 at 02:07 , Blogger farnandazax said...

Enthusiastic words written in this blog helped me to enhance my skills as well as helped me to know how I can help myself on my own. I am really glad to come at this platform.
Nutanix Xpress 3Node

 
At 27 November 2018 at 09:28 , Blogger Compredia GmbH said...

man you are awesome!

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home