Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate WIFI after reboot #3

Open
phlegx opened this issue Feb 1, 2016 · 6 comments
Open

Activate WIFI after reboot #3

phlegx opened this issue Feb 1, 2016 · 6 comments

Comments

@phlegx
Copy link

phlegx commented Feb 1, 2016

How can I activate the WIFI by default or per overridehack.sh script after reboot?

@KonradIT
Copy link
Owner

KonradIT commented Feb 1, 2016

Hi,

For that you would do:

/usr/local/gopro/bin/gpsend bp WF%02

%01 = WiFi Remote (if you have already paired one)

%02 = WiFi App mode (For GoPro App)

@phlegx
Copy link
Author

phlegx commented Feb 1, 2016

Thank you Konrad. If the WIFI is activated and the script sleeps for e.g. 20 minutes, do the WIFI work as expected in this time?

@phlegx
Copy link
Author

phlegx commented Feb 2, 2016

I don't have a GoPro 4 but I want to buy one if this works:

sleep 5
/usr/local/gopro/bin/gpsend bp WF%02
sleep 5
/usr/local/gopro/bin/gpsend ca CM%01
sleep 5
/usr/local/gopro/bin/gpsend bp SH%01
sleep 1200
/usr/local/gopro/bin/gpsend bp SH%01
sleep 1200
/usr/local/gopro/bin/gpsend bp SH%01
sleep 1200
reboot

Can I access with the GoPro App the GoPro 4 to download and delete pictures in this time (1 hour) while the script is running?

@phlegx
Copy link
Author

phlegx commented Feb 4, 2016

Can anyone help me please and test if this script works accessing (read, delete) at the same time the pictures over Wifi GoPro App? Thx

@phlegx
Copy link
Author

phlegx commented Feb 11, 2016

The command don't work: /usr/local/gopro/bin/gpsend bp WF%02

@phlegx
Copy link
Author

phlegx commented Feb 18, 2016

Configure the Wifi first. I have found this commands on: http://goprouser.freeforums.org/autoexec-ash-in-v3-0-0-possible-t22731.html#p120697

Please read the comment of this link first!

This commands works for me to power on the Wifi. This fakes a long-press of the wifi button.

echo 138 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio138/direction
echo 1 > /sys/class/gpio/gpio138/value
sleep 3
echo 0 > /sys/class/gpio/gpio138/value
echo in > /sys/class/gpio/gpio138/direction
echo 138 > /sys/class/gpio/unexport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants