Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Details #32

Open
caullla opened this issue Mar 28, 2020 · 2 comments
Open

API Details #32

caullla opened this issue Mar 28, 2020 · 2 comments

Comments

@caullla
Copy link

caullla commented Mar 28, 2020

By any chance can you share API documentation? Thanks!
I want to build an HTML version, with some basic controls.

@Harvey-Mushman
Copy link

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 60606 you can get a response from the camera (assuming Wi-Fi is turned on) when you find the valid ip address of the camera. THe first three parts of the ip address you should be able to get from ipconfig /all which might look like 192.168.1.??? where the question marks need to be found for the camera.

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.

@IdrisTheDragon
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants