- Canon has a REST API, and the most affordable API supporting cameras.
- Fujifilm has an API, but not REST based, but it goes all the way back to the X-T3. Unfortunately, using it voids your warranty if there is a warranty.
- Sony has an API as well but mostly newer cameras.
- Blackmagic (video cameras) has a REST API, but their most affordable API-supporting cameras are meant for studio use, which isn't ideal for general use.
I can't speak for other brands, but I started this project by digging into the LCD menu of my camera, discovering "auth", "user", "pass" and wanted to know what protocol they used to authenticate remote logins. That's when I discovered the camera just uses ssh-style auth.
As a part time sysadmin, it gave me the idea to try to "log into" the camera and here we are.
I wanted to use my new Sony DSLR (a6700) in the same way as I use my server: by ssh'ing into it.
This is a one day hackaway helper built on Sony’s official Camera Remote SDK. It sort of mimics an ssh session by connecting to my Sony over Wi-Fi, listens for new photos or specific events... and runs scripts on them.
Thank you Sony, for not forgetting the Linux fan base.
And thank you ChatGPT for freshening up my c++ skills!
Aside if author is around: You may want to rename it to not include "Sony" in the name. If the project gets popular and catches their eye it might become a headache.
Legal reasons aside, it'd be nice if it eventually expands in scope to not be tied to original hardware. Eg. Kodi, nee XBMC, doesn't even mostly run on XBoxes anymore.
People think all professional cameras are called "SLRs".
A rangefinder is a higher quality camera than an SLR ever was and a full frame mirrorless probably has better quality than a DSLR, in both cases because it's easier to design lenses for them. A medium format camera can be better than all of those.
My recent research:
- Canon has a REST API, and the most affordable API supporting cameras.
- Fujifilm has an API, but not REST based, but it goes all the way back to the X-T3. Unfortunately, using it voids your warranty if there is a warranty.
- Sony has an API as well but mostly newer cameras.
- Blackmagic (video cameras) has a REST API, but their most affordable API-supporting cameras are meant for studio use, which isn't ideal for general use.
I read the first item as:
> ... and (the most affordable API) supporting cameras
when it was (probably?) meant as:
> ... and the most affordable (API supporting cameras)
I can't speak for other brands, but I started this project by digging into the LCD menu of my camera, discovering "auth", "user", "pass" and wanted to know what protocol they used to authenticate remote logins. That's when I discovered the camera just uses ssh-style auth. As a part time sysadmin, it gave me the idea to try to "log into" the camera and here we are.
any info about Nikon?
I wanted to use my new Sony DSLR (a6700) in the same way as I use my server: by ssh'ing into it.
This is a one day hackaway helper built on Sony’s official Camera Remote SDK. It sort of mimics an ssh session by connecting to my Sony over Wi-Fi, listens for new photos or specific events... and runs scripts on them.
Thank you Sony, for not forgetting the Linux fan base. And thank you ChatGPT for freshening up my c++ skills!
Nitpick: that's a DSLM, or just "mirrorless" camera. There's no reflex mirror, so it's not a DSLR.
Aside if author is around: You may want to rename it to not include "Sony" in the name. If the project gets popular and catches their eye it might become a headache.
Suggestions: DShelLR, dshr, dslr-sh, camshell
Legal reasons aside, it'd be nice if it eventually expands in scope to not be tied to original hardware. Eg. Kodi, nee XBMC, doesn't even mostly run on XBoxes anymore.
It's late, but still up. Thanks for the heads up ;)
Done!
Nice: https://github.com/goudvuur/sonyshell now automatically redirects to https://github.com/goudvuur/sonshell . (Didn't know you could do that.)
Can it be "Sny" or "Slony" (Simpsons nod)? Keep a fragment in, please, for discoverabilities sake!
I know a genuine Magnetbox, Panaphonic, and Sorny when I see one.
Just list the devices it has been tested with in the readme.
Can you control the camera via script/CLI? Things like releasing the shutter, focus, apeture, etc?
It's not implemented yet, but fairly easy to add, yes.
Already patched this in, I'll test it tomorrow :)
My trust in a project which can not identify the most important characteristic of the hardware used is pretty low.
The A6700 is not, in any way, a DSLR camera.
People think all professional cameras are called "SLRs".
A rangefinder is a higher quality camera than an SLR ever was and a full frame mirrorless probably has better quality than a DSLR, in both cases because it's easier to design lenses for them. A medium format camera can be better than all of those.
You are correct.