bitfocus / companion-module-requests

Repository for tracking module requests
96 stars 10 forks source link

Canon Camera Control API #312

Open WaffleTime16 opened 3 years ago

WaffleTime16 commented 3 years ago

Describe the feature Canon implemented a camera control API (CCAPI) for a select few of their cameras. It allows HTTP commands to be sent from a remote device to control functions on the camera.

Is this platform dependent (windows, mac, ..)? It's platform agnostic since it uses HTTP

If documentation is required to implement, do you know where to find it? You have to make an account with Canon's SDK: https://developercommunity.usa.canon.com/canon

The two files that are relevant I've attached here (sorry if that breaks rules, I will remove them if it's a problem).

CameraControlAPI_Reference_v110b_EN.pdf

CameraControlAPI_OperationGuide_EN.pdf

Usecases I was able to use the generic HTTP module to send commands to the camera. I primarily used it to start/stop recording for a recording session. It allowed me to be remote and run multiple cameras as opposed to one.

A concern that might be a problem is it seems that when you initialize the CCAPI connection on the camera it wants to sync with a specific device instead of allowing multiple connections at once. It was hit or miss trying to connect with Companion and the EOS app at the same time. Sometimes it would work, other times not so much. There is a way to authenticate clients to the CCAPI on the camera though. I had not experimented with that yet.

Thanks!

MatteoGheza commented 2 years ago

@josephdadams is this similar to https://github.com/bitfocus/companion-module-canon-xf ?

josephdadams commented 2 years ago

The XF might support it but I didn't use this at all. I just reverse engineered the browser remote page instead

Camera84 commented 2 years ago

Has this been developed?

josephdadams commented 2 years ago

It has not.