KonradIT / gopro-py-api

Unofficial GoPro API Library for Python - connect to GoPro via WiFi.
MIT License
1.4k stars 212 forks source link

Hero3+ Black and power_on #83

Closed yet-another-average-joe closed 5 years ago

yet-another-average-joe commented 5 years ago

Hello, I can't wake up the GoPro Hero3+BE using power_on() or power_on_auth()

power_on(), with or without the MAC address says "waking up" and returns, but nothing happens. power_on_auth() throws exceptions.

I've read issues #2 and #4, it did'nt help much. Do some models have secret commands ?

I have a remote, 1x Pi 3B+ but I don't know how to sniff communications while waking it up with the remote. What software or methodology did you use ? I imagine the RasPi has to be configured as a repeater ?

yet-another-average-joe commented 5 years ago

I partially solved my problem :

Now, I can power_on_auth() and power_off() my GoPro 3 H3+BE. But the camera has to be ON before invoquing the GoPro contructor...

If not, the constructor returns lots of errors, but the camera turns on. The gopro object seems to be destroyed. The contructor has to be called a 2nd time, and then these 2 functions can be used without any problems, as expected.

Onboard WiFi seems to have very poor performance or compatibility issues with the GoPro H3. This seems to be well known with some WiFi routers and AP. Could this be the explanation ? See #88

KonradIT commented 5 years ago

Yes this is a known issue (having to issue constructor call x2)

yet-another-average-joe commented 5 years ago

Thanks !