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

Some cameras showing as "None" label #326

Open
ecijohn opened this issue Jun 27, 2023 · 1 comment
Open

Some cameras showing as "None" label #326

ecijohn opened this issue Jun 27, 2023 · 1 comment
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@ecijohn
Copy link

ecijohn commented Jun 27, 2023

Hi,

Some of my cameras are showing up as "None" label and I cant seem to get it to download to a mounted volume I set. There is no footage in the "downloads" folder of the docker system.

It does become successful if I specify a specific camera but nothing is downloaded.

docker run -v /downloads:/downloads unifitoolbox/protect-archiver download --address 192.168.**** --username ***** --password ****** --cameras="N40 Silo Yard" /downloads

2023-06-26 15:59:41 Cameras found:
2023-06-26 15:59:41 - None (63ae369400837803e70003fc)
2023-06-26 15:59:41 - None (63ae3694027d7803e7000414)
2023-06-26 15:59:41 - None (63ae369402907803e7000415)
2023-06-26 15:59:41 - None (63ae369400d37803e7000400)
2023-06-26 15:59:41 - None (63ae369403a37803e7000419)
2023-06-26 15:59:41 - None (63ae3694013d7803e7000406)
2023-06-26 15:59:41 - None (63ae369400b17803e70003fe)
2023-06-26 15:59:41 - None (63ae369402a27803e7000416)
2023-06-26 15:59:41 - Back Pavilion/Railway (63ae369400c27803e70003ff)
2023-06-26 15:59:41 - Scale (63ae3694014e7803e7000407)
2023-06-26 15:59:41 - None (6434632f00f7db03e400c9b9)
2023-06-26 15:59:41 - Pavilion 360 (63add730012ce403e70003ec)
2023-06-26 15:59:41 - Back Generator (6478f9900298d903e40664b7)
2023-06-26 15:59:41 - None (63ae369403ad7803e700041a)
2023-06-26 15:59:41 - None (63c2d2fe028ae403e40003fb)
2023-06-26 15:59:41 - Back Gate (63ae369402217803e700040c)
2023-06-26 15:59:41 - None (63ae3694025a7803e7000410)
2023-06-26 15:59:41 - None (63ae369403937803e7000418)
2023-06-26 15:59:41 - Lab Manager Room (63ae369402137803e700040b)
2023-06-26 15:59:41 - PV Eye in the Sky (63ae369402467803e700040f)
2023-06-26 15:59:41 - Office Breakroom (6491b63800f3ac03e4000dbb)
2023-06-26 15:59:41 - Back Pavilion In (63ae3694009e7803e70003fd)
2023-06-26 15:59:41 - Front Pavilion/Gate (63ae369401037803e7000403)
2023-06-26 15:59:41 - S01 AI (6410b8ef01d09203e405448b)
2023-06-26 15:59:41 - Back Pavilion/Pigs (63ae369401197803e7000404)
2023-06-26 15:59:41 - None (63ba61c001203903e40a1132)
2023-06-26 15:59:41 - Back Warehouse Dust Collector (63ae369402bb7803e7000417)
2023-06-26 15:59:41 - Main Warehouse/Front View (63f640fb011e9203e4018de6)
2023-06-26 15:59:41 - N40 Silo Yard (63ae369402347803e700040e)
2023-06-26 15:59:41 - None (63ba61c001103903e40a1130)
2023-06-26 15:59:41 - Dust Collector 2 (6411f289026a9203e40568d0)
2023-06-26 15:59:41 - Inside MW/Back View (63f654ab01f69203e40194bc)
2023-06-26 15:59:41 - None (63c2d2fe0371e403e4000401)
2023-06-26 15:59:41 - None (63c2d2fe0295e403e40003fc)
2023-06-26 15:59:41 - Back Pavilion/Lean 2 (63ae369400e47803e7000401)
2023-06-26 15:59:41 - Tool Cage/Office (63c2d2fe02cbe403e40003ff)
2023-06-26 15:59:41 - Server Room (63bda4d700f63903e40ae76e)
2023-06-26 15:59:41 - None (63c2d2fe0361e403e4000400)
2023-06-26 15:59:41 - Pig Shack (63ae3694015e7803e7000408)
2023-06-26 15:59:41 - Front Pavilion/Scale (63ae369400f57803e7000402)
2023-06-26 15:59:41 - None (6412140d02bf9203e4056f8f)
2023-06-26 15:59:41 - None (63c2d2fe02a5e403e40003fd)
2023-06-26 15:59:41 - Lean To (6434443e03ccdb03e400b956)
2023-06-26 15:59:41 - Front Pavilion In (63ae3694012a7803e7000405)
2023-06-26 15:59:41 - Front Railway (63ba618401083903e40a1125)
2023-06-26 15:59:41 - None (63c2d2fe0270e403e40003f9)
2023-06-26 15:59:41 - None (647b60df0026d903e406ba50)
2023-06-26 15:59:41 - None (63ba6274014a3903e40a113a)
2023-06-26 15:59:41 - None (63c2d2fe022ce403e40003f6)
2023-06-26 15:59:41 - None (63c2d2fe037de403e4000402)
2023-06-26 15:59:41 - Main Warehouse/Tool Cage (63c2d2fe02b5e403e40003fe)
2023-06-26 15:59:41 - None (63ba623801193903e40a1138)
2023-06-26 15:59:41 - None (63c2d2fe0260e403e40003f8)
2023-06-26 15:59:41 - None (63ba618401223903e40a1127)
2023-06-26 15:59:41 - None (63ba6238010a3903e40a1137)
2023-06-26 15:59:41 - None (63c2d2fe027de403e40003fa)
2023-06-26 15:59:41 - None (63ba618401173903e40a1126)
2023-06-26 15:59:41 - None (63c2d2fe024fe403e40003f7)
2023-06-26 15:59:40 Getting camera list
2023-06-26 15:59:41 0 files downloaded (0.0 b), 0 files skipped, 0 files failed, 0 files total

@danielfernau

@danielfernau
Copy link
Owner

danielfernau commented Jul 23, 2023

Hi @ecijohn and sorry for the late reply, haven't had much time the past few months to work on my projects... 😐

I'm not sure why some of your cameras show up as "None"; maybe something with the length of the name? Or any kind of special character? Do they have anything in common when looking at the names that show up vs. the ones that don't?

Other than that, I've noticed that you're trying to refer to cameras by name when downloading recordings. This functionality is not implemented as of right now but there's a feature request (#56) for that. For now the --cameras parameter only supports a single camera ID (e.g. 63c2d2fe024fe403e40003f7) or a comma separated list of multiple IDs (e.g. 63c2d2fe0270e403e40003f9,63c2d2fe0260e403e40003f8).

Hope this helps -- and feel free to add any details that might help identifying the name/label issue, looking forward to implement a fix for that!

@danielfernau danielfernau self-assigned this Jul 23, 2023
@danielfernau danielfernau added bug Something isn't working question Further information is requested labels Jul 23, 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 question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants