Open habakuk40 opened 3 years ago
I have to check my last experiments as it has been a while, but there were a few extra commands for the GoPro 5 - I vaguely remember an 'SA' command but I will get back to you on this
@cepoon
thank you so much - waiting for your response....
Hi, a 'SA' command is present for Hero 5. I discovered it and tested it. When executed, the camera starts recording. But I couldn't see the difference to the normal shutter. Maybe this is really what you are looking for @habakuk40. The SA is also on my list https://github.com/sepp89117/GoPro_Hero-5_UDP_commands
In the test code I had 3 new commands that might trigger the 3 buttons PA (Mode) SA (Shutter) XX (Tag)
Both of them takes 2 bytes as argument, but I couldn't determine whether the 2 bytes are just sequence / acknowledgement So I would try sending a XX with an increasing number (2 bytes in MSB form) as argument.
It seems to me that the UDP packets get translated into direct I2C commands after some checking
@cepoon
unfortunately I cannot reproduce your TAG= Highlight approach yet. I can do the following SA:
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x53, 0x48, 0x02
for SET;// shutter start and
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x53, 0x48, 0x00
for SET;// shutter off
this works.
@cepoon probably I am doing something wrong with your XX approach: can you build me the string like you would do it that we do not have a missunderstanding, please?
@habakuk40 right now you had byte 11 & 12 = 0x53 0x48 = "SH", swap that for 0x58 0x58 = "XX", and argument as 2 bytes rather than 1 shown here. I believe this command just toggles the button rather than taking a state as argument (start with 0x00 0x01, and goes up every time you send "XX" again, this is a 16-bit MSB integer which I suspect is a sequence number)
@habakuk40 take a look at http://www.asciitable.com/ And https://de.m.wikipedia.org/wiki/Char_(Datentyp)
As cepoon said, the two bytes are the command/argument as a char hex value.
You can also use the character 'X' instead of a hex value in the code. Surrounding a letter with ' defines the data type Char.
@cepoon
> @habakuk40 right now you had byte 11 & 12 = 0x53 0x48 = "SH", swap that for 0x58 0x58 = "XX", and argument as 2 bytes rather than 1 shown here. I believe this command just toggles the button rather than taking a state as argument (start with 0x00 0x01, and goes up every time you send "XX" again, this is a 16-bit MSB integer which I suspect is a sequence number)
unfortunately I cannot tag a video by now: I was trying: [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, 0x58, 0x00, 0x01]); [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, 0x58, 0x00, 0x02]); [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x58, 0x58, 0x00, 0x01]); [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x58, 0x58, 0x00, 0x02]);
and the whole story with 0x53 0x48 = "SH"
too.
no luck!
any ideas cepoon?
@cepoon
as in sepp89117's code
https://github.com/sepp89117/GoPro-Multiple-Smart-Remote-ESP8266/blob/master/GoProRC_UDP2_HT.ino
there is CM-comands for "Change Mode" I came upon the idea to make trys with "HM" (highligt moment) oder TM ("Tag moment") commands.
.... but no success sofar.
@habakuk40 TM stands for Time. With older GoPro models, you could use it to set the time. GoPro 5 cannot do that. At least I couldn't do it with it.
@habakuk40
I have it!
//HighLight Tag = 'PA' with arguments 2 and 3
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x50, 0x41, 0x2, 0x3
That's it
YOU ARE THE GREATEST!!!!! How can I thank you????
Betriebsmanagement - Consulting - Weiterbildung
Dr. med. vet. Peter Höller Mettmacher Strasse 12 5252 Aspach tel: +43 (0)7755 70 769 fax: +43 (0) 810 9554 181643 mobil: +43 (0) 664 352 51 61 mailto: @.*** web: www.vetconsult-hoeller.at
On Tuesday, March 30, 2021, 08:28:36 AM GMT+2, sepp89117 ***@***.***> wrote:
@habakuk40 I have it! //HighLight Tag = 'PA' with arguments 2 and 3 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x50, 0x41, 0x2, 0x3 That's it
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
You are welcome. Maybe you will share your code and documentation with everyone on GitHub when the time comes.
yes I will. .... still need time.
Betriebsmanagement - Consulting - Weiterbildung
Dr. med. vet. Peter Höller Mettmacher Strasse 12 5252 Aspach tel: +43 (0)7755 70 769 fax: +43 (0) 810 9554 181643 mobil: +43 (0) 664 352 51 61 mailto: @.*** web: www.vetconsult-hoeller.at
On Tuesday, March 30, 2021, 12:57:36 PM GMT+2, sepp89117 ***@***.***> wrote:
You are welcome. Maybe you will share your code and documentation with everyone on GitHub when the time comes.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@sepp89117 - I feel like there are multiple ways to activate the same button - SA command was used for Shutter, and I have seen PA command used elsewhere @habakuk40 - I actually went back to sniffing my Remote (as it's not encrypted) and this is what I got // XX with argument 2, and what looks like a counter (which started off at 2, and went up - I only pressed twice) - msg ID = 0x102, button counter at 0x3 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x58, 0x58, 0x2, 0x3
@sepp89117 I have seen the shutter activating with 2 commands in a row by the Smart Remote SA (3, 0) = 0x53, 0x41, 0x3, 0x0 SA (4, 3) = 0x53, 0x41, 0x4, 0x3
both commands end up returning as SA (0, 0) = 0x53, 0x41, 0x0, 0x0
@cepoon
great work: unfortunately I cannot find the UDp command for "Tag a video".
You are mentioning even that there was a button on the remote, so there should be for sure a UDP command for this action: http://10.5.5.9/gp/gpControl/command/storage/tag_moment please help!