{"id":3698,"date":"2023-08-11T18:11:46","date_gmt":"2023-08-11T22:11:46","guid":{"rendered":"https:\/\/dft.wiki\/?p=3698"},"modified":"2026-06-08T16:35:00","modified_gmt":"2026-06-08T20:35:00","slug":"octoprint-tip-and-tricks","status":"publish","type":"post","link":"https:\/\/dft.wiki\/?p=3698","title":{"rendered":"OctoPrint Tip and Tricks"},"content":{"rendered":"<p><strong>OctoPrint<\/strong> is most commonly used on a Raspberry Pi using a dedicated OS called <strong>OctoPi<\/strong> (essentially a Raspbian image with OctoPrint pre-installed) [<a href=\"https:\/\/octoprint.org\/download\/\">Link<\/a>].<\/p>\n<p>Although it can run on any Linux distribution, the Raspberry Pi is a popular choice due to its compact size, low power consumption, and compatible camera modules like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3712 size-medium\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/07\/Screenshot-from-2023-07-20-17-03-13-300x187.png\" alt=\"\" width=\"300\" height=\"187\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/07\/Screenshot-from-2023-07-20-17-03-13-300x187.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/07\/Screenshot-from-2023-07-20-17-03-13.png 589w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>To deploy OctoPi on a Raspberry Pi using the official Imager, go to <strong>Choose OS &gt; Other Specific-Purpose OS &gt; 3D Printing<\/strong>, then select <strong>OctoPi<\/strong>.<\/p>\n<p>To install on a Linux host:<\/p>\n<pre>sudo apt install git -y\r\ngit clone https:\/\/github.com\/paukstelis\/octoprint_deploy.git\r\nsudo octoprint_deploy\/octoprint_deploy.sh<\/pre>\n<p>To install as a Docker container:<\/p>\n<pre>sudo apt install git docker.io docker-compose -y \r\ngit clone https:\/\/github.com\/OctoPrint\/octoprint-docker.git\r\ncd octoprint-docker\r\ndocker-compose up -d<\/pre>\n<p>Then, navigate to <strong>http:\/\/127.0.0.1:5000\/<\/strong> or <strong>http:\/\/127.0.0.1\/<\/strong>.<\/p>\n<p><strong>Note:<\/strong> Replace the loopback IP address as needed. Port <strong>5000<\/strong> is used for direct access or as the default port behind a reverse proxy. Refer to the official documentation for instructions on granting the Docker container access to the webcam or USB-Serial port.<\/p>\n<hr \/>\n<p><strong>BASIC UNDERSTANDING<\/strong><\/p>\n<p>OctoPrint is more than just an application; it is a framework on which developers can build <strong>Plugins<\/strong> (extension-like applications).<\/p>\n<p>Most popular Plugins:<\/p>\n<ul>\n<li><strong>Bed Visualizer<\/strong>\n<ul>\n<li>Visualizes and reports the misalignment and distortion values of the print bed to help with leveling adjustments.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Octolapse<\/strong>\n<ul>\n<li>Replaces the native timelapse feature with greatly expanded control over image stabilization and capture settings.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>There are two ways to <strong>print through OctoPrint<\/strong>: from SD (a memory card inserted into the printer) or from Local (the internal storage of the OctoPi host).<\/p>\n<ul>\n<li>Printing from SD\n<ul>\n<li>Does not require a continuous connection, as OctoPrint instructs the printer to run autonomously and simply monitors its metrics.<\/li>\n<li>Many features are unavailable in this mode because OctoPrint hands control over to the printer.<\/li>\n<li>When transferring files to the SD card via OctoPrint, transfer speed is limited to 115,200 baud over the serial connection, which is extremely slow.<\/li>\n<\/ul>\n<\/li>\n<li>Printing from Local\n<ul>\n<li>Requires OctoPrint to remain connected and running throughout the entire print.<\/li>\n<li>OctoPrint sends each movement command to the printer via USB in real time.<\/li>\n<li>File transfers to local storage are as fast as the host hardware allows.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>There is a section in the settings called <strong>Event Manager<\/strong> that allows shell commands to be executed when specific events occur.<\/p>\n<p>In my case, I have a Pi HAT with RGB LEDs that I use to visually indicate the current status of the printer or print job, along with email notifications on completion or failure (virtually anything you want):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3787\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-08-11-18-04-25.png\" alt=\"\" width=\"984\" height=\"699\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-08-11-18-04-25.png 984w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-08-11-18-04-25-300x213.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-08-11-18-04-25-768x546.png 768w\" sizes=\"auto, (max-width: 984px) 100vw, 984px\" \/><\/p>\n<hr \/>\n<p><strong>BONUS<\/strong><\/p>\n<p>In <strong>Octolapse<\/strong>, these are the profile settings that worked for me on an Ender 3 V2 Neo with PLA to prevent drooping and stringing during travel moves:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3786 size-full\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-08-11-17-41-18.png\" alt=\"\" width=\"438\" height=\"501\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-08-11-17-41-18.png 438w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-08-11-17-41-18-262x300.png 262w\" sizes=\"auto, (max-width: 438px) 100vw, 438px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3791\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/ezgif.com-SpoolSupport.gif\" alt=\"\" width=\"600\" height=\"450\" \/><\/p>\n<hr \/>\n<p><strong>READ MORE<\/strong><\/p>\n<p>3D Printing Tips and Tricks [<a href=\"https:\/\/dft.wiki\/?p=3696\">Link<\/a>]<\/p>\n<p>Motorizing Pan Tilt on Celestron Telescope [<a href=\"https:\/\/dft.wiki\/?p=3714\">Link<\/a>]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OctoPrint is most commonly used on a Raspberry Pi using a dedicated OS called OctoPi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-3698","post","type-post","status-publish","format-standard","hentry","category-3d-printing"],"_links":{"self":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/3698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3698"}],"version-history":[{"count":7,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/3698\/revisions"}],"predecessor-version":[{"id":5638,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/3698\/revisions\/5638"}],"wp:attachment":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}