Ask a Question
GoPro Support Hub Ask a question. Share an answer. Find a solution. Stay stoked.
Announcements
Is your GoPro gear up to date? Check to see If it is on our Update page.
GoPro Labs
Reply
Highlighted
Hiker
Posts: 35
Accepted Solution

Auto On/Off mT via speed detection

Planning on a Road Trip.

Desire to use the QR Code Speed function.

Equipment:

--Personal Vehicle

--Go Pro Hero 8

--Go Pro Suction Cup

--GoPro Protective Housing with holes drilled for power cord

--Rave Power brick

--15 foot USB to USB C cable

--Smaller Suction cups for anchor support

 

 

I desire to use the QR Codes for automatic start and stop of recording

The codes I devised so far are:

Script file--!SAVEdrive=dTmTr24Tp.15!>08:00<17:00SK40-0oC3!R

Script load --!Ldrive

Thoughts on this script: auto start between time of 0800 and 1700 at 40kph and stop at 0kph and recycle awaiting 40kph again.

Camera off at okph for rest stops.

Has anyone try the speed function out and did it work out for you?


Accepted Solutions
Highlighted
GoPro
Posts: 459

Re: Auto On/Off mT via speed detection

The best forum from this question in dedicated to GoPro Labs: https://community.gopro.com/t5/GoPro-Labs/bd-p/GoProLabs

 

Particularly as this is a clearly advanced usage question, excellent!
 
Unfortunately there is a bug in the script loading, it will not work with the conditionals, it will hopefully be fixed in a future release. 
 
Looking at the core command, which can work:  dTmTr24Tp.15!>08:00<17:00SK40-0oC3!R
 
We don't have a resolution of r24T, you meant r27T
 
In the timelapse mode, the camera doesn't have a p.15 (15s interval), use p.10 or p.30
 
The '!' is in wrong place.  
 
I would put oC3 earlier, but it should work fine.
 
So my command equivalent:  dTmToC3r27Tp.10>08:00<17:00!SK40-0!R

View solution in original post


All Replies
Highlighted
GoPro
Posts: 459

Re: Auto On/Off mT via speed detection

The best forum from this question in dedicated to GoPro Labs: https://community.gopro.com/t5/GoPro-Labs/bd-p/GoProLabs

 

Particularly as this is a clearly advanced usage question, excellent!
 
Unfortunately there is a bug in the script loading, it will not work with the conditionals, it will hopefully be fixed in a future release. 
 
Looking at the core command, which can work:  dTmTr24Tp.15!>08:00<17:00SK40-0oC3!R
 
We don't have a resolution of r24T, you meant r27T
 
In the timelapse mode, the camera doesn't have a p.15 (15s interval), use p.10 or p.30
 
The '!' is in wrong place.  
 
I would put oC3 earlier, but it should work fine.
 
So my command equivalent:  dTmToC3r27Tp.10>08:00<17:00!SK40-0!R
Highlighted
Hiker
Posts: 35

Re: Auto On/Off mT via speed detection

My test run was successful.

 

I took out the time restraints.

I did use the p.15 and it was accepted. 

----If the time was not 15s, i do NOT know which time it actually used.  Irrelevant for me I just wanted a test run.

 

 

I was yping my response and poof, it was gone!!!

 

If I recall the actual command I successfully used as my test:

----mTp.15r27T!SK40-0!R

This worked out for me.  I can now build upon that.

If it used a different interval, I am not aware, and really matters NOT for just learning.

What exactly does HOLD do in the command?

--Does it just record for the "HOLD" time then stop??

 

NOTE TO SELF:

Clean the vehicle hood and suction cup on mount. 

Thank goodness for tethers as it came loose at the very end of my test drive!

 

Highlighted
GoPro
Posts: 459

Re: Auto On/Off mT via speed detection

HOLD explained.

 

Let say your command was only: !SK40!R

 

This would start recording at 40km/h and above, and stop when you fell below 40Km/h.  But if you are travelling at exactly 40km/h, the camera might start and stop randomly.  

 

Now the command:  !SK40H10!R

 

This would start at 40km/h as planned, but allow a sub-40km/h travel speed for 10 seconds before stopping.  If the speed was 39km/h for 8 seconds, then 40+Km/h, the hold resets, you have to be continuously below the limit for the hold duration for the capture to stop.  This solves the issue when you might have spotty GPS lock, like travelling through short tunnels, the hold ensures the capture continues through a disrupted GPS lock.  

 

So you want to stop recording at traffic lights with !SK40-0!R

 

I would do this:  !SK40-1H5!R

 

Start at 40km/s, and stop when below 1Km/h for more than 5 seconds.

 

You use of 0 km/h as a switch was never tested, might be fine, but speed less then 0 doesn't make sense. 

 

Also why start at 40km/s?  Just curious.

Highlighted
Hiker
Posts: 35

Re: Auto On/Off mT via speed detection

I would never have come up with that

thank you

Highlighted
Hiker
Posts: 35

Re: Auto On/Off mT via speed detection

40 mph is the equal to the us 25 mph roughly.  

Highlighted
GoPro
Posts: 459

Re: Auto On/Off mT via speed detection

what happens at 25Mph that is a useful trigger?

Highlighted
Hiker
Posts: 35

Re: Auto On/Off mT via speed detection

40kph is the equal to US 25mph (residential streets)