OctoPrint: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
Line 57: Line 57:
$ uvcdynctrl -s "Focus, Auto" 1
$ uvcdynctrl -s "Focus, Auto" 1
</pre>
</pre>
* Reference
** http://www.sphaero.org/blog:2012:0727_control_your_webcam_from_the_command_line


== Browse ==
== Browse ==
* http://192.168.1.121:8080/?action=stream
* http://192.168.1.121:8080/?action=stream
* http://127.0.0.1:8080/?action=snapshot
* http://127.0.0.1:8080/?action=snapshot

Revision as of 05:23, 23 July 2016

Using a Raspberry Pi3 running Rasbian 8

Setup OctoPrint

Add your user to the dialout group;

$ usermod -a -G dialout drew

Build

$ git clone https://github.com/foosel/OctoPrint.git
$ cd OctoPrint
$ virtualenv venv
$ ./venv/bin/python setup.py install

Run

$ cd ~/OctoPrint
$ venv/local/bin/octoprint 

Browse

Add plugins

  • Settings > Plugin-in Manager
    • SnapStream (0.2.3)
    • CuraEngine
    • DisplayProgress
    • Cost estimator
    • DisplayZ
    • EEPROM Marlin Editor
    • Navbar Temp
    • Filament Sensor
    • Print History
    • Printer Statistics
    • StatusLine

Setup mjpg-streamer

Add your user to the video group;

$ usermod -a -G video drew

Build

$ git clone https://github.com/jacksonliam/mjpg-streamer.git
$ cd mjpg-streamer-experimental
$ make

Run

$ cd ~/mjpg-streamer/mjpg-streamer-experimental/
$  ./mjpg_streamer -i "./input_uvc.so -r 1280x720" -o "./output_http.so"
$ uvcdynctrl -s "Focus, Auto" 1

Browse