1 download SDK and unzip (play memories "smart remote control" app)
2 use SSDP (Simple Service Discovery Protocol) to discover the camera and get the endpoint URL needed to call the API, as well as information about the supported functionality in the camera.
3 call the APIs by HTTP POST with JSON
Examples
Yunswj Develop/code on Horizon SBC , github, C++
API learning note
Mungewell python, ssdp
keyserSoze42 android, Java,JSON, Sony remote API
Kiakiraki python, REST (Akira Tsuruda)
Kota65535, Ruby, wrapper
Jdesfossez , simple python2, json, partial
storborg, python, ssdp
falk0069 , SSDP, port 15740, PTP/IP
Alpha-fairy M5/ESP32/Arduino based. Excellent coding structure. PTP
Bachmmmar, PTP IP, python based on falk0069
ThibaudM json , Java
Yasinyildirim Libjson rpc
Tzeny , C# ASCOM, PCAP, tested on NEX-5T, Forked from Dougforpres
erik smit, python, json ,DLNA
petabite, python, sony rc api wrapper, wifi
rohhn bulb timelapse, android app, python, tested on A6000, A6100
solfra SonyAutoAstro, gphoto, python, tested on A5000, A6000, gphoto. astrometry.net api key. python 3.rawpy ; keyring ; astroquery ; astropy ; numpy, maplotlib @solfra38, LinkedIn ,
Simonmitchell ROCC , swift(Apple), camote
and many others
The most popular is:
Ma1co, yt, PMCA-RE( RE stands for reverse engineered) , python. This guy also has fw extraction tool, and OpenMemoriesTweak , with GUI.
SonyAlphaRumors, tencent, dpreview, openhub, dyxum, hackaday , linuxgamecast,
PMCA era camera seems to be based on Android gingerbread
bettermanual, A5100, java, android
osSide how to install PMCA-RE on linux
30 min record hack , SonyAlphaRumors , personal view
android apps on A6000 series and some A7S
Sony camera has gone through several generation of development, some old models without WiFi are not supported.
There's no "once and for all" connection method:
USB , latest SDK
Bluetooth, limited and simple feature
Infrared
WiFi
Play memories era example , using http REST, json
Time trap github
Dpreview, duncang, C# on MacOs
Monitor + from Jet sun tech
2020:
Latest SDK , called CrSDK, only supports the premium high end A7R IV and A9 II , FX3, FX30 models. At the same time end support of other older models !!
For USB and wired LAN only ( no WiFi or Bluetooth)
The current Camera Remote API’s provision will be closed following this new release of the new Camera Remote SDK and its support will be terminated.
ASI AIR connect via USB, and seems not using SDK from Sony. Either make use of libgphoto, or "borrow" from libgphoto. YouTube
Webpage of related links
Another webpage of links in Korean
PIMA PTP doc, and RoboSLR, ISO
CIPA PTP-IP doc
USB MTP host
Libptp2 fork
pypi ptpip
Sony A5100: 054c:0957, VID=0x054c PID=0x0957 , using lsusb
留言
張貼留言