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

Is an Addon for Octoprint somewhat possible? #37

Open
Sersch97 opened this issue May 13, 2021 · 0 comments
Open

Is an Addon for Octoprint somewhat possible? #37

Sersch97 opened this issue May 13, 2021 · 0 comments

Comments

@Sersch97
Copy link

First of all, thank you. I use the GX80 as a webcam for streaming and since it doesnt have a 180° turnable screen it is handy to be able to focus on pc and adjust settings, while it is connected to pc via hdmi.

I wanted just to ask if you can create an addon for octoprint based on your work here.
This would open a huge possibility for the 3d printing community since a lot of panasonic cameras have ptp but it is read only. So most cameras cant be used for timelapses of 3d prints without connecting directly to the wifi of the camera with the raspberry pi. but since most people use the raspberry pi to monitor the print for safety it seems to be a bad trade disconnecting it from the main network just to connect to the camera. but since you can connect the panasonic to the main network and then connect with your app to the cam trough the pc on the main network without losing internet connection it would allow the raspberry to stay avaible for monitoring and also making timelapses with the panasonic cameras.

there are already some trys like the following one

Connection:

#!/bin/sh
curl -X Get -G http://192.168.54.1//cam.cgi?mode=setsetting
-d type=device_name
-d value=SM-G903F \

sleep 1

curl -X Get -G http://192.168.54.1//cam.cgi?mode=accctrl
-d type=req_acc
-d value=4D454930-0100-1000-8001-024500021C98
-d value2=SM-G903 \

sleep 1

curl -X Get -G http://192.168.54.1//cam.cgi?mode=setsetting
-d type=device_name
-d value=SM-G903F \

Photo:

#!/bin/sh
curl -X Get -G http://192.168.54.1/cam.cgi?mode=camcmd
-d value=capture \

where you can ad a script to the pi and execute it at specific timings for the camera to take a photo. But you have to be connected directly to the cams network. I tried the scripts while the pi and the cam were both at the main network but the scripts didnt work that way.

Also this doesnt provide a Preview ofcourse. So your app is far superior to that approach. Even if it is a Preview with bad quality it would make possible to see if everything works right.

Just a question if you could create such an addon. I know i ask for a lot here. This isnt meant to be disrespectful.

Greetings, Sersch

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

1 participant