When I do this, the directory is properly captured (e.g., 101SIYI_IMG) as it matches what I see on my SD Card when I utilize file explorer.
The script eventually runs into a failure “failed to get list of files” (Line 96) indicating the request failed. I assume the URL is not getting constructed properly?
Here is the URL that gets denied: http://192.168.144.25:82/cgi-bin/media.cgi/api/v1/getmedialist?media_type=0&path=101SIYI_IMG&start=0&count=999
It is important to note that a previous request to the camera worked fine to capture available directories so the obvious (IP Address miss-match I dont believe is in play here)
A bit more information to add here. I have tried specifying the full path in the URL as well to no success /DCIM/101SIYI_IMG @rmackay9 any ideas here? I see you contributed to that script at one point.
Great to see someone besides me putting this script to use!
I’ve used this on the Siyi ZT6 successfully but I also ran into issues with the camera itself at first and Siyi sent me a special firmware that resolved the issue. I hope/expect they Siyi will release that updated firmware but I haven’t gone back to check recently.
I’m keen that this works on all Siyi cameras so could you please tell me which camera model you’re using and which firmwares are installed (both camera and gimbal firmwares)?
@rmackay9 Of course, I see great utility in it, I dont want to have to pop the SD card out every time I want to pull photos!
I am running with a SIYI ZR10 2K 4MP 30X Hybrid Zoom Gimbal Camera with firmware versions:
Gimbal 0.4.0
Zoom 0.2.3
A bit more information, I was receiving a HTTP 400 code for an invalid parameter. I wish I had the API documentation to correct it but it seems like it just might be a firmware issue on their end based on what youre saying?