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.
Cameras
%3CLINGO-SUB%20id%3D%22lingo-sub-512825%22%20slang%3D%22en-US%22%3ESchritt%20f%C3%BCr%20Schritt%3A%20Gopro%20Wifi%20von%20Bluetooth%20auf%20Android%20wecken%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-512825%22%20slang%3D%22en-US%22%3E%3CP%3EKonradIT%20hat%20seine%20sch%C3%B6ne%20Sammlung%20von%20Gopro-Befehlen%20auf%20Github%2C%20und%20einer%20der%20am%20schwierigsten%20zu%20findenden%20ist%20der%20Bluetooth-Befehl%20zum%20Einschalten%20des%20WLANs%20nach%20dem%20Einschlafen.%26nbsp%3B%20Er%20fand%20dies%20von%20einem%20anderen%20Ort%2C%20aber%20ich%20fand%20keine%20vollst%C3%A4ndigen%20Details%20dazu%2C%20einschlie%C3%9Flich%20des%20richtigen%20Kanals%2C%20an%20den%20die%20Befehle%20gesendet%20werden%20sollten.%26nbsp%3B%20Also%20gehe%20ich%20noch%20einen%20Schritt%20weiter%20und%20f%C3%BCge%20eine%20schrittweise%20Demonstration%20hinzu%2C%20wie%20dies%20von%20einem%20Android-Telefon%20aus%20gemacht%20wird.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIch%20habe%20es%20auf%20Held%207%20Schwarz%20getestet%2C%20sollte%20aber%20auf%20anderen%20funktionieren%2C%20zumindest%20zur%C3%BCck%20zu%20Held%205%2C%20glaube%20ich.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E-%20Schalten%20Sie%20die%20drahtlosen%20Verbindungen%20Ihres%20Gopro%20ein.%3C%2FP%3E%3CP%3E-Pair%20dein%20Gopro%20mit%20deinem%20Android%20BLE%3C%2FP%3E%3CP%3E-Verbinden%20Sie%20Ihr%20Android-WLAN%20mit%20dem%20Gopro.%26nbsp%3B%20(Sie%20finden%20das%20Passwort%20unter%20Einstellungen%2C%20Verbindungen%2C%20Android-App%2C%20klicken%20Sie%20auf%20die%20Schaltfl%C3%A4che%20(i))%3C%2FP%3E%3CP%3E-Installiere%20nRF%20Connect%20aus%20dem%20Play%20Store%20(Ich%20habe%20keine%20Zugeh%C3%B6rigkeit).%3C%2FP%3E%3CP%3E-%C3%96ffne%20die%20App.%3C%2FP%3E%3CP%3E-W%C3%A4hlen%20Sie%20Ihren%20Gopro%20und%20klicken%20Sie%20auf%20Verbinden.%3C%2FP%3E%3CP%3E-Tippen%20Sie%20auf%20die%20rote%20Men%C3%BCtaste.%26nbsp%3B%3CBR%20%2F%3E-%20Dr%C3%BCcken%20Sie%20die%20Aufnahmetaste%2C%20um%20ein%20Makro%20aufzunehmen.%3C%2FP%3E%3CP%3E-W%C3%A4hlen%20Sie%20%22Unknwon%20Service%22%200000fea6-000%20-....%3C%2FP%3E%3CP%3E-W%C3%A4hlen%20Sie%20Unbekanntes%20Merkmal%20mit%20UUID%20beginnend%20mit%20b5f90072%20-...%26nbsp%3B%20(Dr%C3%BCcken%20Sie%20den%20Aufw%C3%A4rtspfeil%20rechts%2C%20was%20bedeutet%2C%20dass%20Sie%20einen%20Befehl%20senden)%3C%2FP%3E%3CP%3E-Im%20Feld%20Schreibwert%20geben%20Sie%2003170101%20ein%3C%2FP%3E%3CP%3E-Hit%20senden%3C%2FP%3E%3CP%3E-Tippen%20Sie%20auf%20die%20rote%20Schaltfl%C3%A4che%20zum%20Beenden%20der%20Aufnahme%20und%20geben%20Sie%20einen%20Namen%20ein%2C%20um%20das%20Makro%20wie%20folgt%20zu%20speichern%3A%20%22Wake%20Wifi%22%3C%2FP%3E%3CP%3E-%20W%C3%A4hlen%20Sie%20optional%20ein%20Symbol%20f%C3%BCr%20das%20Makro.%3C%2FP%3E%3CP%3E-Hit%20speichern.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENachdem%20Sie%20das%20n%C3%A4chste%20Mal%20eine%20Verbindung%20zu%20diesem%20Ger%C3%A4t%20hergestellt%20haben%2C%20k%C3%B6nnen%20Sie%20einfach%20die%20rote%20Men%C3%BCtaste%20und%20das%20Makro%20ausw%C3%A4hlen%2C%20um%20es%20erneut%20zu%20senden.%3C%2FP%3E%3CP%3ESie%20k%C3%B6nnen%20das%20WLAN%20mit%2003170100%20ausschalten.%26nbsp%3B%20Dies%20kann%20n%C3%BCtzlich%20sein%2C%20um%20zu%20testen%2C%20ob%20es%20funktioniert%2C%20ist%20jedoch%20normalerweise%20nicht%20erforderlich%2C%20da%20sich%20das%20WLAN%20nach%20einigen%20Minuten%20von%20selbst%20ausschaltet.%26nbsp%3B%20%26nbsp%3B%20Wenn%20Sie%20die%20Abw%C3%A4rtspfeile%20auf%20Merkmal%20b5f90073%20dr%C3%BCcken%20...%20zweimal%2C%20um%20es%20umzuschalten%2C%20und%20dann%20Befehle%20auf%2072%20zu%20senden%2C%20scheint%20es%2C%20dass%20Sie%20eine%20Antwort%20auf%2073%20erhalten%2C%20n%C3%BCtzlich%20f%C3%BCr%20die%20Programmierung%20wahrscheinlich.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDies%20ist%20nicht%20dasselbe%20wie%20das%20Ein-%20und%20Ausschalten%20von%20drahtlosen%20Verbindungen%20im%20Ger%C3%A4temen%C3%BC%2C%20wodurch%20auch%20BLE%20deaktiviert%20wird.%26nbsp%3B%20Dies%20%22weckt%22%20nur%20wifi.%3C%2FP%3E%3CP%3EEs%20scheint%20auch%20m%C3%B6glich%20zu%20sein%2C%20das%20WLAN%20zu%20erzwingen%2C%20indem%20http-Anforderungen%20gesendet%20werden%2C%20um%20das%20Streaming%20zuerst%20zu%20starten%20und%20dann%20zu%20beenden%20(in%20einem%20Thread%20auf%20dem%20KonradIT-Github%20entdeckt).%26nbsp%3B%26nbsp%3BDies%20verbraucht%20nat%C3%BCrlich%20Batteriestrom.%20Es%20scheint%20eine%20Panne%20zu%20sein%2C%20aber%20es%20ist%20mindestens%20in%203%20Modellgenerationen%20vorhanden.%3C%2FP%3E%3CP%3EIch%20vermute%20nicht%2C%20dass%20dies%20eine%20schrecklich%20praktische%20Methode%20ist%2C%20aber%20sie%20demonstriert%20die%20Vorgehensweise%2C%20und%20f%C3%BCr%20die%20Verwendung%20des%20Makros%20sind%20nur%20wenige%20Klicks%20erforderlich.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEin%20Widget%20zum%20Aufwecken%20von%20Bluetooth%20und%20zum%20Herstellen%20einer%20Verbindung%20mit%20der%20gopro-SSID%20k%C3%B6nnte%20hilfreich%20sein.%26nbsp%3B%20Anschlie%C3%9Fend%20k%C3%B6nnen%20Sie%20Shell-Skripte%20ausf%C3%BChren%2C%20um%20Sequenzen%20von%20http-Befehlen%20zum%20Konfigurieren%20von%20Voreinstellungen%20zu%20senden.%26nbsp%3B%20Ich%20verwende%20termux%3A%20widget%2C%20um%20diese%20vom%20Startbildschirm%20aus%20zu%20starten%2C%20eine%20Ber%C3%BChrung%2C%20um%20das%20Ger%C3%A4t%20vollst%C3%A4ndig%20neu%20zu%20konfigurieren.%26nbsp%3B%20Vielleicht%20f%C3%BCr%20einen%20anderen%20Beitrag.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-512825%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHERO5%20Schwarz%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHERO6%20Schwarz%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHERO7%20Schwarz%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-515497%22%20slang%3D%22en-US%22%3ERe%3A%20Schritt%20f%C3%BCr%20Schritt%3A%20Gopro%20Wifi%20von%20Bluetooth%20auf%20Android%20wecken%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-515497%22%20slang%3D%22en-US%22%3E%3CP%3EEin%20paar%20zus%C3%A4tzliche%20Hinweise%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIch%20habe%20festgestellt%2C%20dass%20es%20oft%20ausreicht%2C%20nur%20mit%20der%20nRF-App%20eine%20Verbindung%20zu%20BLE%20herzustellen%2C%20um%20das%20WLAN%20zu%20aktivieren%2C%20aber%20nach%20meinen%20bisherigen%20Beobachtungen%20ist%20es%20mir%20unangenehm%2C%20dies%20als%20ausreichend%20zu%20bezeichnen.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIch%20habe%20auch%20manchmal%20festgestellt%2C%20wie%20von%20anderen%20berichtet%2C%20dass%20das%20WLAN%20aktiv%20ist%2C%20aber%20der%20Webserver%20nicht%20reagiert.%26nbsp%3B%20Ich%20dachte%2C%20dass%20das%20BLE-Wake%20dies%20normalerweise%20l%C3%B6st%2C%20aber%20zumindest%20in%20einem%20Fall%20war%20dies%20sicherlich%20nicht%20der%20Fall%2C%20und%20ein%20Wake%20auf%20LAN-Anfrage%20tat%20es.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDaher%20habe%20ich%20derzeit%20auch%20am%20Anfang%20meiner%20Termux-Shell-Skripte%20ein%20Wake-on-LAN%20hinzugef%C3%BCgt.%26nbsp%3B%20termux%20verf%C3%BCgt%20%C3%BCber%20einen%20wol-Befehl%2C%20der%20%C3%BCber%20die%20termux-Eingabeaufforderung%20installiert%20werden%20kann%20mit%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Epkg%20install%20wol%3C%2FP%3E%3CP%3Eund%20verwendet%20als%3C%2FP%3E%3CP%3Ewol%20%3CMAC-ADRESSE%3E.%26nbsp%3B%26nbsp%3B%3C%2FMAC-ADRESSE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESie%20k%C3%B6nnen%20die%20MAC-Adresse%20auf%20verschiedene%20Arten%20finden.%26nbsp%3B%20In%20einer%20Windows-Eingabeaufforderung%20ordnet%20arp%20-p%20nach%20dem%20Herstellen%20einer%20Verbindung%20zum%20Gopro-WLAN%2010.5.5.9%20seinem%20MAC%20zu.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Reply
Tourist
Posts: 3

step by step: waking gopro wifi from bluetooth on android

[ New ]

KonradIT has his nice collection of Gopro commands on github, and one of the harder to find ones there is the bluetooth command for turning on wifi after it goes to sleep.  He found this from yet somewhere else, but I didn't find a full details on this anywehere, including the correct channel to send the commands to.  So I'll go one further and add a step by step demonstration of how to do this from an android phone.

 

I tested it on hero 7 black, but should work on others, at least back to hero 5 I believe.


-Turn on wireless connections on your gopro.

-Pair your gopro with your android BLE

-Connect your android wifi to the gopro.  (You can find the password under preferences, connections, android app, hit the (i) button)

-Install nRF Connect from the play store (I have no affiliation).

-Open the app.

-Select your Gopro and hit connect.

-Hit the red menu button. 
-Hit the record button to record a macro.

-Select  "Unknwon Service" 0000fea6-000-....

-Select Unknown Characteristic with UUID starting with b5f90072-...  (press the up arrow on the right which means send command)

-In the write value field enter 03170101

-Hit send

-Hit the red recording stop button and enter a name to save the macro as like: "Wake Wifi"

-Optionally select an icon for the macro.

-Hit save.

 

Now after connecting to this device next time you can just select the red menu button and the macro to send it again.

You can make one to turn off wifi using 03170100.  This can be useful just to test that it's working, but not usually necessary since wifi turns off on its own after a few minutes.    If you press the down arrows on Characteristic  b5f90073... twice to toggle it, and then send commands on 72, it seems you get a response on 73, useful for programming probably.

 

This is not the same as turning wireless connections on and off in the device menu, which also disables BLE.  This just "wakes" wifi.

It also seems possible to force wifi to stay on by sending  http requests to first start and then stop streaming (discovered in a thread on KonradIT's github).  Of course this uses battery power. It seems like a glitch but it's been there in 3 generations of models at least.

I don't suspect this is a terribly practical way to do things, but it demonstrates the procedure, and the macro only requires a few clicks to use.

 

A widget to wake bluetooth and connect to the gopro SSID could be nice.  Then you can run shell scripts to send sequences of http commands to configure presets.  I'm using termux:widget to launch those from the home screen, one touch to completely reconfigure the device.  Maybe for another post.

 

Tourist
Posts: 3

Re: step by step: waking gopro wifi from bluetooth on android

[ New ]

A few additional notes:

 

I have found that often just "connecting" to BLE with the nRF app is enough to wake the wifi, but from my observations so far I'm not comfortable calling that sufficient.

 

I have also found at times, as reported by others, that the wifi is up, but the web server is not responsive.  I thought that the BLE wake was usually solving this, but at least in one instance it certainly did not and a wake on lan request did.

 

So I have presently added a wake on lan to the start of my termux shell scripts as well.  termux has a wol command that can be installed from the termux prompt with:

 

pkg install wol

and used as

wol <MAC-ADDRESS>.  

 

You can find the MAC adress in several ways.  In a windows command prompt, after connecting to the gopro wifi, arp -p will associate 10.5.5.9 with its MAC.