KonradIT / goprowifihack

Unofficial GoPro WiFi API Documentation - HTTP GET requests for commands, status, livestreaming and media query.
Apache License 2.0
2.12k stars 335 forks source link

WiFi disconnects after a few days #189

Open niklasschroetler opened 4 years ago

niklasschroetler commented 4 years ago

Problem: I am trying to use my GoPro Hero 5 for a very long-term timelapse (over about 3 months). Therefore I need to control it remotely and have remote storage access.

But every time I run my script (which basically does: Take Picture > List Storage > Download Picture > Delete Picture) after about two days the camera seems to lock up, not accepting any WiFi Connections and not responding to Get-Requests. After a complete networking-reset of the camera, everything works fine for about 2 or 3 days until another lockup.

Does the camera implement a request limit or why does the camera stop working?

Thanks in advance!

Details:

Pecacheu commented 4 years ago

That's pretty odd... Perhaps it's literally a bug in the firmware of the camera that GoPro themselves have never found since it's such an unusual (though neat) application. Sounds a lot like a minor buffer overflow issue, some tiny variable not being cleared out like it's supposed to in the code till slowly the camera runs out of memory.

Just my random guess though as an embedded C dev dealing with bugs like that lol