GMaster
GMaster copied to clipboard
API Details
By any chance can you share API documentation? Thanks! I want to build an HTML version, with some basic controls.
I too have the same sort of open request... wanting to understand the camera interface. What I can tell you that I have learned over the past few weeks is with TELNET
Once you have the IP address of the camera the following commands all work but I have not been able to figure out how to get the Folder-Filename of the current last picture captured. So the documentation would be really helpful about now...
telnet 192.168.1.167 60606 returns a blank screen any other ip or port returns a connecting...failed message
This first command will take one picture once you know the ip address (in my case 192.168.1.167)
http://192.168.1.167/cam.cgi?mode=camcmd&value=capture
http://192.168.1.167/cam.cgi?mode=camcmd&value=capture_cancel
http://192.168.1.167/cam.cgi?mode=camcmd&value=touchafrelease
http://192.168.1.167/cam.cgi?mode=camcmd&value=video_recstart http://192.168.1.167/cam.cgi?mode=camcmd&value=video_recstop
http://192.168.1.167/cam.cgi?mode=getstate
http://192.168.1.167/cam.cgi?mode=getinfo&type=curmenu http://192.168.1.167/cam.cgi?mode=getinfo&type=allmenu http://192.168.1.167/cam.cgi?mode=getinfo&type=lens
http://192.168.1.167/cam.cgi?mode=getsetting&type=mf_asst http://192.168.1.167/cam.cgi?mode=getsetting&type=focusmode
http://192.168.1.167/cam.cgi?mode=camcmd&value=autoreviewunlock
Sorry, I don't have any more to share but maybe this will give you what you are looking for.
There is no published API documentation for the LUMIX cameras as it's designed only to communicate with their official apps. But there are a few reverse engineering projects like this one where the developer has used wireshark (or similar tool) to capture the commands that are sent between the camera and official app then building their own version of the app. This is a very time consuming process. For this project the codebase is quite large and difficult to understand but there is also this one which may be be easier, it is also a HTML version for the most part with a java component to view the live video stream. https://github.com/peci1/lumix-link-desktop and there's lots of useful info here: http://www.personal-view.com/talks/discussion/6703/control-your-gh3-from-a-web-browser-now-with-video-/p1