跳到主要內容

Sony camera remote API SDK


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

ROS 

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

Matlab 

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

Rekkun 

osSide  how to install PMCA-RE on linux

Stareater

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

留言

這個網誌中的熱門文章

CMOS sensor trends and astrophotography, from amateur astronomers perspective

Nowadays, even in low light conditions, digital camera can quality pictures with higher ISO, noise and hot pixels have been gradually reduced. Sony has introduced back illumination process for consumer market. Sony BSI sensors evolved  from Exmor to now Exmor RS( stacked) technology. This stacked technology allows further chip size reduction, which has strong demands in smartphone camera market. Digital astrophotography is also benefited from such advances, utilising Back Side Illumination technology Exmor: Within the CMOS sensor, it outputs low-noise digital signals by "on-chip column AD conversion" and "dual noise reduction" to suppress noise in the first half of the process In low light conditions, when a wide aperture is desirable to collect as much light as possible. At apertures wider than f/2.0, back-illuminated Exmor R sensors are significantly more efficient at collecting light than conventional, front-illuminated sensor...

ultrafast rendezvous to ISS

    14 Oct 2020,  being the first to use a new “ultrafast” rendezvous” scheme with the ISS. Following a flawless ascent to the correct orbit, Soyuz 2 .1a , Soyuz MS-17 caught up with the orbiting laboratory in only two orbits (three hours), halving the time it takes for crew to get to the Station.   The three space travelers of the Soyuz MS-17 mission launched on a six-month mission the International Space Station.  previous 3/4 orbit rendezvous: Soyuz MS-16 4 orbit rendezvous A three-orbit profile was deemed possible without major flight design changes after inauguration of the Soyuz 2-1A rocket that provides a much higher orbit injection accuracy than its predecessors and would allow the two correction maneuvers on Orbit #2 to be eliminated while the Automated Rendezvous Phase would still remain untouched. The deletion of the Orbit #2 maneuvers was expected to slightly tighten the already restrictive phase angle window from and upper limit of 30-35° to 25-28°...

Scythians 斯泰基 塞種 西古提人

900 BC - 200 AD British museum   Tomb of scythe prince, Buktarma valley, 1200 masl, Google map Herodotus   絲路上的帝國 Biblegeography   哥羅西書 3:11  在此並不分希利尼人、猶太人、受割禮的、未受割禮的、化外人、 西古提人 、為奴的、自主的.惟有基督是包括一切、又住在各人之內。 塞種 塞迦  saka 史記漢書 西域傳: 塞種  ctext 昔匈奴破大月氏,大月氏西君大夏,而塞王南君罽賓。塞種分散,往往為數國。自疏勒以西北,休循、捐毒之屬,皆故 塞種 也。 匈奴列傳 Ctext :塞王 《史記》在《大宛列傳》與《匈奴列傳》中, 詳細 記錄了中亞至天山一帶的塞種(塞王、塞地)狀況。例如,文中記載了月氏西破走塞王,導致塞人南遷越過懸度(今帕米爾高原及克什米爾一帶) Baike Genetic history   Genetics  Nih griffin  ? Scytho-Siberian  world 塞迦 saka  wiki Disappeared? Sarmatians ( 薩爾馬泰 , 奄蔡 史記 ,  Aorsi )and goths YouTube