Skip to content

Latest commit

 

History

History
786 lines (588 loc) · 26.3 KB

HERO6-Commands.md

File metadata and controls

786 lines (588 loc) · 26.3 KB

GoPro HERO6 Commands, Status and Notes

Firmware revision: HD6.01.01.51.00

Sample /status

{"status":{
"1":1,"2":3,"3":0,"4":0,"6":0,"8":0,"9":0,"10":0,"11":0,"13":0,"14":0,"15":0,"16":0,"17":1,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"26":0,"27":0,"28":86,"29":"","30":"GP24784461","31":0,"32":0,"33":0,"34":4155,"35":6542,"36":3,"37":4,"38":3,"39":4,"40":"%11%02%12%12%38%3A","41":0,"42":0,"43":0,"44":0,"45":0,"46":1,"47":1,"48":1,"49":0,"54":27655117,"55":1,"56":4,"57":146925,"58":0,"59":0,"60":500,"61":2,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":1,"70":84,"71":12,"72":16,"73":13},
"settings":{"1":0,"2":9,"3":8,"4":4,"5":0,"6":1,"7":1,"8":1,"9":0,"10":0,"11":0,"12":0,"13":1,"14":0,"15":4,"16":0,"17":10,"18":4,"19":0,"20":0,"21":1,"22":0,"23":0,"24":4,"25":0,"26":4,"27":0,"28":10,"29":5,"30":0,"31":0,"32":3601,"33":0,"34":0,"35":0,"36":0,"37":4,"38":0,"39":4,"50":0,"51":1,"52":0,"54":1,"57":0,"58":1,"59":6,"60":8,"61":1,"62":2500000,"63":7,"64":4,"68":0,"69":1,"70":0,"72":1,"73":0,"74":0,"75":3,"76":3,"77":0,"78":0,"79":0,"80":2,"81":3,"82":0,"83":1,"84":0,"85":0,"86":1,"87":40,"88":100,"89":12,"91":2}}

Basic controls:

Shutter
Default Boot Mode:
Primary modes:
Secondary modes:
Tag moment:
Locate:
Power:
Digital Zoom:

http://10.5.5.9/gp/gpControl/command/digital_zoom?range_pcnt=[PERCENTAGE FROM 0 to 100]

Pairing new device:

Pairing:

Initiate pairing in Connections > New > GoPro App

http://10.5.5.9/gp/gpControl/command/wireless/pair/complete?success=1&deviceName=DESKTOP

Capture Mode settings:

Video:

Resolutions:
Frame Rate:
FOV
Low Light:
Video Looping Duration:
Video+Photo Interval:
Video Timelapse Interval:
EIS (Video Stabilisation):
ProTune:
White Balance:
Color:
Min ISO:
ISO Limit:
ISO Mode/Lock:
Sharpness:
Manual Video Exposure:

EV compensation is enabled ONLY in Auto mode.

EV Steps:
Value URL
+2 http://10.5.5.9/gp/gpControl/setting/15/0
+1.5 http://10.5.5.9/gp/gpControl/setting/15/1
+1 http://10.5.5.9/gp/gpControl/setting/15/2
+0.5 http://10.5.5.9/gp/gpControl/setting/15/3
0 http://10.5.5.9/gp/gpControl/setting/15/4
-0.5 http://10.5.5.9/gp/gpControl/setting/15/5
-1 http://10.5.5.9/gp/gpControl/setting/15/6
-1.5 http://10.5.5.9/gp/gpControl/setting/15/7
-2 http://10.5.5.9/gp/gpControl/setting/15/8

Photo:

Photo resolution for Photo Modes (incl. SubModes):
Exposure time for NightPhoto:
RAW Photo:
RAW NightPhoto:
HDR Photo:
ProTune:
White Balance:
Color:
ISO Limit:
ISO Min:
Sharpness:
EV Steps:
Value URL
+2 http://10.5.5.9/gp/gpControl/setting/26/0
+1.5 http://10.5.5.9/gp/gpControl/setting/26/1
+1 http://10.5.5.9/gp/gpControl/setting/26/2
+0.5 http://10.5.5.9/gp/gpControl/setting/26/3
0 http://10.5.5.9/gp/gpControl/setting/26/4
-0.5 http://10.5.5.9/gp/gpControl/setting/26/5
-1 http://10.5.5.9/gp/gpControl/setting/26/6
-1.5 http://10.5.5.9/gp/gpControl/setting/26/7
-2 http://10.5.5.9/gp/gpControl/setting/26/8
Protune Shutter:

MultiShot:

Photo Resolution for MultiShot Modes:
Exposure time for NightLapse:
Interval for NightLapse
Timelapse Interval (TIMELAPSE MODE on MultiShot):
Burst Rate:
RAW Photo TimeLapse:
RAW Photo NightLapse:
WDR TimeLapse:
ProTune:
White Balance:
Color:
ISO Limit:
ISO Min:
Sharpness:
EV Steps:
Value URL
+2 http://10.5.5.9/gp/gpControl/setting/39/0
+1.5 http://10.5.5.9/gp/gpControl/setting/39/1
+1 http://10.5.5.9/gp/gpControl/setting/39/2
+0.5 http://10.5.5.9/gp/gpControl/setting/39/3
0 http://10.5.5.9/gp/gpControl/setting/39/4
-0.5 http://10.5.5.9/gp/gpControl/setting/39/5
-1 http://10.5.5.9/gp/gpControl/setting/39/6
-1.5 http://10.5.5.9/gp/gpControl/setting/39/7
-2 http://10.5.5.9/gp/gpControl/setting/39/8

General Camera Settings:

Orientation:
Quick Capture:
GPS Tag:
Voice control:
LEDs on HERO6 Black:
Camera system language:
Voice control language:
Beeps:
Video Format:
LCD Display:
On Screen Display:
LCD Brightness:
LCD Lock:
LCD Timeout sleep:
Auto Off:
Auto Lock Screen:
Turn on by saying "GoPro Turn On":
Set date and time

The hex string at the end is the same as for HERO3, so in the example: 11 = (20)17, 0b = 11 (November), 10 = 16, 11 = 17, 29 = 41, 2c = 44. Example bash code for date string, see ztzhang/GoProWifiCommand#3.

Streaming tweaks:

Stream BitRate :

Supports any number ( like 7000000), but limited by wifi throughput, packet loss and video glitches may appear. Correct parameter ID is 62!

Stream Window Size:

Sizes with 720 height are tested on Hero 5 Black.

WiFi AP Settings:

Media Commands:

Delete file:

http://10.5.5.9/gp/gpControl/command/storage/delete?p=file (eg. /100GOPRO/G0010124.JPG)

Delete Last media taken:

http://10.5.5.9/gp/gpControl/command/storage/delete/last

Reformat SD Card (CAUTION!):

http://10.5.5.9/gp/gpControl/command/storage/delete/all

Tag moment in video file:

http://10.5.5.9/gp/gpControl/command/storage/tag_moment/playback?p=XXXGOPRO/XXXXXX.MP4&tag=Miliseconds

XXXGOPRO is the folder, XXXXXX.MP4 is the video and Miliseconds are the miliseconds offset from the start of the video.

For example:

http://10.5.5.9/gp/gpControl/command/storage/tag_moment/playback?p=103GOPRO/GOPR1359.MP4&tag=2000

will make a HiLight Tag on 2 seconds of the video GOPR1359.MP4

Extracting a clip from a video (GoPro Clips):

To start a video conversion:

http://10.5.5.9/gp/gpControl/command/transcode/request?source=DCIM/[XXXGOPRO]/GOPRXXXX.MP4&res=VIDEO_RESOLUTION&fps_divisor=FPS&in_ms=In_MS&out_ms=Out_MS

Parameters:

  • VIDEO_RESOLUTION:
    • 1080 = 0
    • 960 = 1
    • 720 = 2
    • WVGA = 3
    • 640p = 4
    • 432x240 (live preview resolution) = 5
    • 320x240 = 6
  • FPS: (Divide FPS by)
    • 1/1 = 0 (Leave it as is)
    • 1/2 = 1
    • 1/3 = 2
    • 1/4 = 3
    • 1/8 = 4

Output:

{"status":{"id":STATUS_ID,"source":"DCIM\XXXGOPRO\GOPRXXXX.MP4","status":0,"failure_reason":0,"estimate":1,"completion":0,"output":""}}

If you did it right.

status values:

  • 0 = Started
  • 1 = In Progress
  • 2 = Finished
  • 3 = Cancelled
  • 4 = Conversion failed

failure_reason values:

  • 0 = No fail
  • 1 = Bad file
  • 2 = Bad parameters
  • 3 = No space left on the device
  • 4 = Camera is busy converting something else

To get the status of a conversion:

http://10.5.5.9/gp/gpControl/command/transcode/status?id=STATUS_ID (from the previous command)

Output:

{"status":{"id":STATUS_ID,"source":"DCIM\XXXGOPRO\GOPRXXXX.MP4","status":2,"failure_reason":0,"estimate":1,"completion":0,"output":"DCIM/XXXGOPRO/GOPRXXXX.MP4"}}

You can now download the output url, add http://10.5.5.9/videos/ to it.

To cancel a conversion:

http://10.5.5.9/gp/gpControl/command/transcode/cancel?id=STATUS_ID

Bluetooth Pairing:

Allows the camera to be paired to a GoPro Bluetooth metadata device

Returns (example):

{
  "list_id": 1,
  "total": 1,
  "index": 0,
  "index_count": 1,
  "device_array": [
    {
      "address": "device_address",
      "address_type": 0,
      "rssi": -92,
      "name": "",
      "profile_uuid16": [
        "9ffe"
      ]
    },
    ...
  ]
}

Returns:


{"pairing_status":0}

Connecting to a WiFi network:

the JSON structure is:

{
  "scan_id": 1,
  "total": 5,
  "index": 0,
  "index_count": 5,
  "ssid_array": [
    {
      "ssid": "MyHomeNetwork",
      "auth_type": 1,
      "bars": 0
    },
    ...
  ]
}
Audio Input: (does not work as of 02.02.00.00)