Open DenisDee opened 3 years ago
Same issue here
Ok, so curl is outputting progress info over stdError, which SHOULD indicate failure. I'd hate to break the error detection due to a non-standard response from this, so perhaps you can modify your call like so:
curl -X Get -G {URL_GOES_HERE} --fail --silent --show-error
Let me know if that helps.
Also, sorry it took me SO DAMN LONG to respond.. I always get crushed with end-of-the-year projects. Planning to take time off soon to get to some of the issue backlog.
Version of Octolapse
0.4.1
Version of OctoPrint
1.7.2
So I tried to control my Lumix G80 over the wifi following the tutorial from one german youtuber. He used next:
Before Print Start Script
!/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 \
Before Snapshot Script
!/bin/sh
curl -X Get -G http://192.168.54.1/cam.cgi?mode=camcmd \ -d value=capture \
All tested in terminal all works. It is connected to camera, it can take snapshot. Then I move to octolapse, I write path to scripts and press test. On testing Before print starts script I get this error: Camera Script Failed Errors were detected - The 'DSLR - Before Print Camera Script' process returned errors. See plugin_octolapse.log for details
Continuing to test Before snapshot script, when I press it camera takes picture, but I get next error: Camera Script Failed Errors were detected - The 'DSLR - Before Snapshot Camera Script' process returned errors. See plugin_octolapse.log for details
And here is the plugin_octolapse.log:
Any advice what I can do is more then helpful.