Skip to content

example code for connecting to a sony alpha camera via their modern PTP remote control API over IP (WiFI/LAN)

Notifications You must be signed in to change notification settings

jakkuh/sony-alpha-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sony-alpha-python

Simple incomplete library that lays out some of the bones required to connect to Sony Alpha cameras via python over their "Camera Control" PTP protocol and it's proprietary extensions. This is using the SSH authentication method, not the pairing method as SSH tunneling was far more reliable in my testing.

Handles connecting, and can also deal with zooming in and out. Might add more functions later, might also not :P

Originally made this for controlling my FX30's zoom with an Elgato Foot Pedal connected to a Raspberry Pi.

Thanks to AlphaFairy, Sony's documentation, and WireShark for helping sort out how the communication needed to happen.

Usage: python test_camera.py <CAMERA IP> <USER> <PASS>

Requirements:

  • A camera compatible with Sony's PTP 3 protocol (FX30, A6700 are examples)
  • Connecting that camera to the same network as you're running this script from
  • "Remote Shoot Function" enabled on said camera
  • The authentication credentials from said camera

About

example code for connecting to a sony alpha camera via their modern PTP remote control API over IP (WiFI/LAN)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages