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

How the GoProCamera.GoPro() get the model_name, ap_ssid, ap_mac, etc? #179

Open
zqyq opened this issue Aug 9, 2021 · 1 comment
Open

Comments

@zqyq
Copy link

zqyq commented Aug 9, 2021

We want to connect with 2 gopros with 2 wifi adapters separately. But we find that in the init() of GoProCamera.py:

gopro = GoProCamera.GoPro()

def init():

self.ip_addr = ip_address

self._camera = ""

Once the line self._camera = "" is executed, the information of the GoPro as mentioned, will suddenly be obtained.

It sounds like there is another process running and once self._camera is given, the default camera will be detected.

Can anyone explain this? Since we want to communicate with the two gopros via different wifi adapters, we need to properly detect the two cameras first.

@KonradIT
Copy link
Owner

This is done via the /gp/gpControl/info endpoint.

Since we want to communicate with the two gopros via different wifi adapters

You need to tweak your wpa_supplicant file and network/interfaces file.

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