Sunday 30 November 2014

All your GoPro are belong to us

One of the things that I really want to do is to remote control at least one GoPro camera mounted somewhere on the Daytona.  Long term I'd like to do more than one, but it turns out that's a lot harder than it seems.

Controlling one is easy enough:

  1. Plug in the USB WiFi adaptor
  2. Enable WiFi on the GoPro (in App mode)
  3. Use wpa_gui/wpa_cli to join the GoPro's WiFi hotspot
  4. Send it commands via HTTP
This is only possible because of the great work by Konrad at http://chernowii.com/!
At the moment I'm testing using wget, but doing this in python is the next step.

The basics:


Power on/off
wget "http://10.5.5.9/bacpac/PW?t=p3nguins&p=%01" -o /dev/null
wget "http://10.5.5.9/bacpac/PW?t=p3nguins&p=" -o /dev/null

Shutter release
wget "http://10.5.5.9/camera/SH?t=p3nguins&p=" -o /dev/null
wget "http://10.5.5.9/camera/SH?t=p3nguins&p=%01" -o /dev/null

FOV (not while recording)
Wide: wget "http://10.5.5.9/camera/FV?t=p3nguins&p=" -o /dev/null
Medium: wget "http://10.5.5.9/camera/FV?t=p3nguins&p=%01" -o /dev/null
Narrow: wget "http://10.5.5.9/camera/FV?t=p3nguins&p=%02" -o /dev/null

Video Resolution (not while recording)
1080/60: wget "http://10.5.5.9/camera/VV?t=p3nguins&p=%03" -o /dev/null
1080/30: wget "http://10.5.5.9/camera/VR?t=p3nguins&p=%05" -o /dev/null
2.7K/30: wget "http://10.5.5.9/camera/VV?t=p3nguins&p=%05" -o /dev/null


The problem with more than one GoPro is that the camera is always 10.5.5.9.  To control more than one, they're going to have to have different WiFi SSIDs, and I'm going to have to write code to hop between the WLANs, or I'm going to have to investigate how to mimic the behaviour of a GoPro remote!  Any ideas welcome...

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home