KonradIT / gopro-py-api

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

HERO9 - Taking picture via USB - Power on via WiFi #168

Closed ScreentimeGit closed 3 years ago

ScreentimeGit commented 3 years ago

Hello,

Firstly, thank you for developing this GoPro API library! It has been very helpful.

I have a few questions and would greatly appreciate the help.

When connected via USB, should it be possible to take a picture via API? I could access the camera (at 172.29.145.51) and some API calls do work. But I cannot take a picture.

I get the following error: { "version": "6.00", "path_info": "command/shutter", "query_string": "p=1", "error_code":-3, "error_msg": "500 Internal Server Error", "function": "gpcontrol_cgi_handler", "line": 190 }

And another question is, when connected via WiFi and power_off() is called, it completely shuts down GoPro including the WiFi. Then power_on() doesn't work.

Thanks for the help!

ScreentimeGit commented 3 years ago

Downgraded to v1.22 and it works via USB.