Turn on and off USB Webcam #111
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First! thank you for your wonderful job on OctoPrint-Enclosure plug-in Vitor.
One thin that would be great would be the capability of turning your USB webcam on and off by your plug-in.
On Octopi 0.13 it is quite simple with the SSH comands:
"sudo service webcamd stop" and "sudo service webcamd restart"
More info on: https://github.com/foosel/OctoPrint/issues/441
there is even ao cook book to do this on:
https://github.com/foosel/OctoPrint/wiki/Cookbook:-System-Commands
Any way to impertinent this commands directly in your plug-in?
Definitely possible, but I spent a lot of time on the last release, more than 120 hours, and I need to move on to other projects, I'll only focus on bugs for the next few months. So don't expect new release with new features for quite some time.
Thank You! if i can help in any way just tell me.
Implemented ability to run shell scripts from outputs.