跳到主要內容

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

留言

這個網誌中的熱門文章

越南香草

Ngo ~ "N-gaw" Mui ~ "Moo-ee" Ngo ~ "N-gaw" Mui ~ "Moo-ee" Ngo ~ "N-gaw" Mui ~ "Moo-ee" Ngo (N-gaw) ,  Mui  (Moo-ee )  Cilantro Ngo Gai (N-gaw guy), Mui Tau (Moo-ee Tao), Ngo Tau (N-gaw Tao)   Mexican Coriander,  Sawtooth Coriander, Culantro    娥女帝(拼音), 刺芹   特徵:娥女帝是短株形的植物,氣味清淡,葉邊呈鋸齒形,十分容易辨認。來源地:越南。 功效:和白夏差不多,娥女帝亦有祛濕、解毒及驅風的療效。建議食法: Pho,  (Bánh Xeò) 越南煎餅, 炒菜,湯,咖哩 Ngo Gai ~ "N-gaw guy" Mui Tau ~ "Moo-ee Tao" Ngo Tau ~ "N-gaw Tao" - See more at: http://vietworldkitchen.typepad.com/blog/vietnamese-herb-primer.html#sthash.I9rzkzwI.dpuf Rau Ram (Rau Rahm) Vietnam Coriander, Laksa Leaf, "Vietnamese mint(actually not a mint)" Peppery, quite spicy. In salad Hung (Hoong), , Hung Lang (Hoong Lang) Spearmint.  Vietnamese coriander Hung Lui (Hoong Lou-ee), Hung Diu(Hoong Zee-ew) round mint used in salad Hung Cay (Hoong Kay) Mint Rau Que, Hung Que (H

copycat comandante C40 grinder

 from facebook 尋日朋友話係強國網上買左支C40,重要係斑馬木,話要拎嚟同我炫耀下,咁咪拎過嚟我到開箱囉。   斑馬木都停產左好耐,重要買到全新,重要係強國網,佢話買左二千四人仔,我當然半信半疑,見到面拎上手都好重手下,紙盒都算幾真,都幾結實,印刷都唔覺有太大問題,打開盒先開始覺得唔對路(圖1-14開箱圖)。 -1號圖,招紙貼得有d皺,但印刷都算幾清晰。 -2、3號圖,打開就爛左。 -4、5號圖,玻璃樽色澤、材質明顯有問題。 -7同9號係片,一定要聽下啲聲,好怪。 -8號圖,可以睇到冚蓋後,好大條罅。 -10號圖睇到,9號條片扭左幾下,不停有碎跌出黎。 -11號圖,拎出黎就花曬。 -12、13號圖,本身印刷品質數都高,但對番正版個張唔會有黑色油墨跡。 -14號圖,主體Logo係焫落去,有凹凸感,之後用正版對比,先發現問題。  立刻拎支正版出黎比對下。 -15-19號圖,如果無正版盒係手,就咁拎住個假盒都可能呃到下人,但真盒一拎上手,非常硬正,敲落去感覺好唔同。     -20-25號圖,基本重量無太大分別,假貨手柄比較重,正版高度比較多一點點。 -26-30號圖,透明、茶色粉杯一比之下就睇得出分別,正版比較通透、清晰,玻璃瓶品質高。 -31-33號圖,手柄膠片位有花、有明顯水口位,正版無水口,好平滑,木柄和連接轉軸位置都有所不同。 -34號片,正版磁力強,手柄好穩陣,假貨倒轉就跌出嚟,連磁石都甩埋(35號圖)。 -36-37號圖,歸零後正版手柄會卡住,假貨由於磁石位置甩咗,所以鎖唔住。 -38-39號圖,塑膠位置標誌以及文字正版都比較突顯、清晰。 -40號圖,未用內膽就有多處刮花。 -41-44號圖,驟眼睇真係好似,螺絲都跟都幾足,但網上搵左好多圖睇過,基本上文字同刀邊都會有距離,假野比較貼。 -45號圖,刀頭格數卡位用嘅孔,開箱個時扭左幾下已經有碎屑跌出嚟,放大睇更明顯睇到分別,正版手工好好,假野好似月球坑咁。 -46-47號圖,46正版歸零後好平,47扭到好盡,歸零唔順暢,有少許凸起。   -48號片,調節格數聲音,都唔洗講,一聽就知大問題 -49-50號圖,假貨膠料位置明顯水口,螺絲也有分別。 -51-52號圖,正版刀頭用左成年都好新,假貨扭左半日都無,就刮左個圈出黎蝕曬,鋼水差。   -53-56號圖,木面Logo雖然都做到好真,但都搵到分別

劣質洗衣機入水喉

上面白色是最易找到,$2x. 但漏水. 灰色, $4x, 是假冒 "MADE IN ITALY"  假冒 "MADE IN ITALY"  的標緻  左面是白色膠喉的喉頭, 右面是灰色膠喉的喉頭, 上圖左面是真正 好貨 ( MADE IN ITALY )灰色膠蓋.右面是冒牌 白色膠蓋. 膠蓋在安裝扭緊時爆開  上圖左面是真正 好貨 , 標了其他規格.右面是冒牌, 單單印了 MADE IN ITALY  好貨的膠蓋是可以下移, 露出喉頭及黑色軟膠墊 黑色軟膠墊是有坑紋. 質感較柔軟. 緊後可以"迫實"水龍頭 及喉蓋, 沒有滲漏 正板 MADE IN ITALY 賣 $4x, 價錢絕對合理. 冒牌貨在旺角新填地街買的, 也是$4x. 真是要小心!!! NB: MADE IN ITALY 是否真正 意大利制造實在無從考 証