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

Specifying Camera doesn't work #54

Open
AnthonyTTaylor opened this issue May 31, 2021 · 3 comments
Open

Specifying Camera doesn't work #54

AnthonyTTaylor opened this issue May 31, 2021 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@AnthonyTTaylor
Copy link

Was trying to download all footage from one camera named "Garage"
When passing in the --cameras flag with "Garage" the script runs, prints out the list of cameras and then terminates.
No files downloaded.

Listing "all" for camera tag starts the download. Confirmed files are available to download.

Protect Versions 1.18.1
Downloader Version 2.0.2

@danielfernau
Copy link
Owner

danielfernau commented May 31, 2021

Hi there!

The --cameras option takes either the input all or a comma-separated list of camera IDs, but not names. In the camera list you should see both, the name as well as its ID.

Try using something like --cameras="a1b2c3d4e5f6abcdef123456", and replace a1b2c3d4e5f6abcdef123456 with the ID of your Garage camera - that should work.

@AnthonyTTaylor
Copy link
Author

Interesting, there should be a different flow around this, as you won't be able to get the ID's until first run, only to have to rerun the program.

@danielfernau
Copy link
Owner

Yeah, I agree. Could be easier. I might add something in one of the next versions that makes camera selection more straightforward.

But: you can also always get the camera ID(s) from the Protect Web UI. Open it in a web browser and log in. On the left side, click on Devices. Then select one of your cameras from the list. Now the browser address bar looks something like this: https://<ip-of-protect-server>/protect/devices/a1b2c3d4e5f6abcdef123456. That last part there is the camera ID you're looking for. From there just copy+paste it to your command line.

@danielfernau danielfernau added the enhancement New feature or request label Jun 6, 2021
@danielfernau danielfernau added this to the v2.0.3 milestone Jun 6, 2021
@danielfernau danielfernau added bug Something isn't working and removed enhancement New feature or request labels Jun 6, 2021
@danielfernau danielfernau modified the milestones: v2.1.0, v2.2.0 Feb 20, 2022
@danielfernau danielfernau modified the milestones: v2.2.0, v2.3.0 Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants