{"id":25423,"date":"2020-06-20T01:11:10","date_gmt":"2020-06-20T01:11:10","guid":{"rendered":"https:\/\/3dwork.io\/the-spaghetti-detective-monitorizando-octoprint-desde-internet-de-forma-segura\/"},"modified":"2020-12-11T18:31:24","modified_gmt":"2020-12-11T18:31:24","slug":"the-spaghetti-detective-monitoring-octoprint","status":"publish","type":"post","link":"https:\/\/3dwork.io\/en\/the-spaghetti-detective-monitoring-octoprint\/","title":{"rendered":"The Spaghetti Detective: Monitoring Octoprint from the Internet safely"},"content":{"rendered":"<p>If you are deranged by 3D printing, you have probably once left your machines printing without any monitoring. This is a fairly common practice, although it is certainly not recommended, since many problems can arise during the printing of your pieces.<\/p>\n<p>However, applications like Octoprint help us with the monitoring of our printer in a spectacular way. Being able to remotely access your printer&#8217;s parameters and modify them in real time from your mobile phone is priceless.<\/p>\n<p>At 3DWork some time ago we dedicated a series of articles to Octoprint. So if you are not familiar with this app, I highly recommend you to read our article <a href=\"https:\/\/3dwork.io\/en\/octoprint-manage-your-3d-printer-remotely-with-raspberry-pi-and-octopi\/\"> <strong> Octoprint: Manage your 3D printer remotely with Raspberry Pi and Octopi <\/strong> <\/a> to put you in the background.<\/p>\n<p>In addition, once you know it you can enjoy the great infinity of plugins (or extensions) that it has. Among them you will find authentic pearls that will make your life a lot easier, as you can also check in this other article <a href=\"https:\/\/3dwork.io\/los-10-plugins-de-octoprint-mas-interesantes-y-como-instalarlos\/\"> <strong> The 10 most interesting Octoprint plugins (and how to install them) <\/strong> <\/a>.<\/p>\n<p>[toc]<\/p>\n<p>&nbsp;<\/p>\n<h2>What is The Spaghetti Detective?<\/h2>\n<p><strong>The Spaghetti Detective<\/strong> is open source artificial intelligence software based on <a href=\"https:\/\/en.wikipedia.org\/wiki\/Deep_learning\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><strong> Deep learning<\/strong><\/a> which deals with &#8220;detecting&#8221; failed prints. Or as they indicate, spaghetti flooding our printing surface.<\/p>\n<p>The process is relatively simple and through our webcam (USB or native Raspberry Pi) the software itself will take photographs that will later analyze and notify us if our printing is failing or not, with a relatively high success rate.<\/p>\n<p>In the video below you can see how, after detecting a foreign object in motion, it &#8220;pigeonholes&#8221; it in a green square and assesses whether it may be a failure of our printer or not. If it considers a negative result, it will launch the notification or scheduled action.<\/p>\n<p><iframe loading=\"lazy\" title=\"Spaghetti caught while it was still hot!\" width=\"1170\" height=\"878\" src=\"https:\/\/www.youtube.com\/embed\/znI9_Vs6X9c?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><strong>These notifications may be via Email, Telegram or PushBullet<\/strong> if we use the free version, or <strong>you can also send SMS to our mobile<\/strong>, if we opt for the professional version. Quite interesting if we have high production environments or 3D printing farms certainly.<\/p>\n<p>With The Spaghetti Detective you can not only monitor a single printer, but it allows you to manage the number of them you need. However, to monitor a group of printers you must choose a payment plan, although they are quite cheap as you can see in the <a href=\"https:\/\/app.thespaghettidetective.com\/ent\/pricing\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><strong>next link<\/strong><\/a>.<\/p>\n<p>Also, being an open source software, if you are paranoid about security and do not want to use the cloud for this purpose, you can always install your own server on an old computer that you have at home or even on a <strong><a href=\"https:\/\/amzn.to\/2YTr3kW\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\">Jetson Nano <\/a><\/strong> card from the well-known NVIDIA brand.<\/p>\n<p>This way you will have everything in local mode and minimizing any possible security breach. The server fonts can be found in the The Spaghetti Detective repository on Github, as well as all the instructions for their installation in the <a href=\"https:\/\/github.com\/TheSpaghettiDetective\/TheSpaghettiDetective\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><strong>next link<\/strong><\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2>YOLOv3: The algorithm behind the plugin<\/h2>\n<p>The Spaghetti Detective <strong>uses Deep Learning to learn and improve detection<\/strong> of these flaws in our impressions. To do this, it uses its own specific learning algorithm for such a task that Kenneth Jiang developed.<\/p>\n<p>This was based on another existing and well-known algorithm called YOLOv3 for detection of moving objects in real time. In the following Youtube video you can see YOLOv3 in action working even with multiple images without any problem.<\/p>\n<p><iframe loading=\"lazy\" title=\"YOLOv3\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/MPU2HistivI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>If you are interested in the topic, you can find more information about <strong>Yolov3<\/strong> in the <a href=\"https:\/\/pjreddie.com\/darknet\/yolo\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><strong>next link<\/strong><\/a>, as well as comparisons with other detectors, performance, technical information and much more.<\/p>\n<p>&nbsp;<\/p>\n<h2>Necessary components<\/h2>\n<p>Here I leave some of the components that appear in today&#8217;s article. It is my duty to inform you that they are affiliate links to different Internet Marketplaces.<\/p>\n<p>If you use them I will have a small commission and you will be contributing your grain of sand to the <strong>3DWork<\/strong> project.<\/p>\n<table class=\"ui large unstackable very basic very compact table\">\n<tbody>\n<tr>\n<td style=\"font-size: 14px; color: #61b661; text-align: left;\"><b>Raspberry Pi 4<\/b><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/3gEPIlO\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"display: inline; opacity: 0.7;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/s.click.aliexpress.com\/e\/_dZRk0D9\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-24186 aligncenter\" style=\"display: inline; opacity: 0.7;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/aliexpress-logo.png\" alt=\"- - -\" width=\"74\" height=\"16\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/aliexpress-logo.png 500w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/aliexpress-logo-300x65.png 300w\" sizes=\"auto, (max-width: 74px) 100vw, 74px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/www.banggood.com\/es\/Raspberry-Pi-4-Model-B-1GB2GB4GB-Mother-Board-Mainboard-With-Broadcom-BCM2711-Quad-core-Cortex-A72-ARM-v8-64-bit-SoC-1_5GHz-p-1539102.html?p=IB201941683835201911&amp;custlinkid=929270\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21386\" style=\"display: inline; opacity: 0.7;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg\" alt=\"- - -\" width=\"64\" height=\"21\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg 524w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood-300x99.jpg 300w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 14px; color: #61b661; text-align: left;\"><b>MicroSD Card + Reader<\/b><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/3nn5pk0\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"display: inline; opacity: 0.7;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center; padding: 0px; margin: 0px;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/www.banggood.com\/custlink\/G3K3fpfpQo\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21386\" style=\"display: inline; opacity: 0.7;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg\" alt=\"- - -\" width=\"64\" height=\"21\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg 524w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood-300x99.jpg 300w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 14px; color: #61b661; text-align: left;\"><b>Power Supply 3A<\/b><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/2Luga6j\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"display: inline; opacity: 0.7;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/www.banggood.com\/custlink\/3mmvwJucUp\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21386\" style=\"display: inline; opacity: 0.7;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg\" alt=\"- - -\" width=\"64\" height=\"21\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg 524w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood-300x99.jpg 300w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 14px; color: #61b661; text-align: left;\"><b>Case (optional)<\/b><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/3a6DGQX\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"display: inline; opacity: 0.7;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/www.banggood.com\/custlink\/vmKKuC1W1P\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21386\" style=\"display: inline; opacity: 0.7;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg\" alt=\"- - -\" width=\"64\" height=\"21\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg 524w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood-300x99.jpg 300w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 14px; color: #61b661; text-align: left;\"><b>Jetson Nano (optional)<\/b><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/344F7eX\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"display: inline; opacity: 0.7;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h2>Install and configure Octoprint<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"borde aligncenter wp-image-25096 size-full\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/raspberry_pi_psu.jpg\" alt=\"- - -\" width=\"1200\" height=\"676\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/raspberry_pi_psu.jpg 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/raspberry_pi_psu-300x169.jpg 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/raspberry_pi_psu-1024x577.jpg 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/raspberry_pi_psu-768x433.jpg 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/raspberry_pi_psu-450x254.jpg 450w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/raspberry_pi_psu-780x439.jpg 780w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>It is essential to have a Raspberry Pi with Octoprint installed, otherwise we will not be able to use The Spaghetti Detective. Installation and configuration is an extremely simple process that you can tackle in just a few minutes.<\/p>\n<p>In this article we are not going to explain the full process, since as I mentioned previously we have an extensive and detailed article that will help you at the following link:<br \/>\n<a href=\"https:\/\/3dwork.io\/en\/octoprint-manage-your-3d-printer-remotely-with-raspberry-pi-and-octopi\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Octoprint: Manage your 3D printer remotely with Raspberry Pi and Octopi<\/strong><\/a>.<\/p>\n<p>Once you have installed Octoprint and configured it correctly, you can continue with the following points in the article.<\/p>\n<p>&nbsp;<\/p>\n<h2>Installing &#8220;The Spaghetti Detective&#8221; plugin<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"borde aligncenter wp-image-25388 size-full\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Installing_The_Spaghetti_Detective.jpg\" alt=\"- - -\" width=\"900\" height=\"542\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Installing_The_Spaghetti_Detective.jpg 900w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Installing_The_Spaghetti_Detective-300x181.jpg 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Installing_The_Spaghetti_Detective-768x463.jpg 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Installing_The_Spaghetti_Detective-450x271.jpg 450w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Installing_The_Spaghetti_Detective-780x470.jpg 780w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>The first step we must take in order to use <strong>The Spaghetti Detective<\/strong> is to install the eponymous plugin available for Octoprint. To download it, we will go to our browser, we will access Octoprint and we will go to <strong>Settings -&gt; Manager Plugin<\/strong>.<\/p>\n<p>We will press the &#8220;<strong>Get More&#8230;<\/strong>&#8221; button and enter &#8220;<strong>The Spaghetti Detective<\/strong>&#8221; in the search field. Click on <strong>Install<\/strong> and in a few seconds it will be installed on our server, ready to use.<\/p>\n<p>&nbsp;<\/p>\n<h2>Create access account<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"borde aligncenter wp-image-25395 size-full\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD2.jpg\" alt=\"- - -\" width=\"1200\" height=\"605\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD2.jpg 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD2-300x151.jpg 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD2-1024x516.jpg 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD2-768x387.jpg 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD2-450x227.jpg 450w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD2-780x393.jpg 780w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>After installing the plugin, the Octoprint server will recommend us to restart the server. Once restarted if we go to <strong>Settings<\/strong> we will see that in the left column, at the end of everything, &#8220;<strong>The Spaghetti Detective<\/strong>&#8221; will appear, available in the <strong>PLUGINS<\/strong> section.<\/p>\n<p>We will click and a section of 3 simple steps will appear to finish the configuration of the plugin. The first will be to create an account on the website, which we will access by clicking on &#8220;<strong>Sign up<\/strong>&#8221; or on <strong><a href=\"https:\/\/app.thespaghettidetective.com\/accounts\/signup\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\">next link<\/a><\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<h3>Obtaining our TOKEN<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"borde aligncenter wp-image-25399 size-full\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD3.jpg\" alt=\"- - -\" width=\"1011\" height=\"385\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD3.jpg 1011w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD3-300x114.jpg 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD3-768x292.jpg 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD3-450x171.jpg 450w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/TSD3-780x297.jpg 780w\" sizes=\"auto, (max-width: 1011px) 100vw, 1011px\" \/><\/p>\n<p>Once we have registered on your website, we must register our printer, so we will click on &#8220;<strong>Add Printer<\/strong>&#8221; and we will access a form. It will ask us for the name that we want to give to our machine and what action to take when a problem is detected in it (notify or notify and pause printing).<\/p>\n<p>Then it will indicate us to install the plugin (which we have previously installed) and if we continue it will provide us with a TOKEN (or password), to link the web with our Octoprint server.<\/p>\n<p>&nbsp;<\/p>\n<h3>Introducing TOKEN in the plugin<\/h3>\n<p>With the TOKEN in our possession, we will return to Octoprint again and enter it in the field where we are requested. After pasting the TOKEN there, we will press the &#8220;Test&#8221; button and if everything is correct the system will let us know with the following phrase:<\/p>\n<p><strong><span style=\"color: #339966;\">Secret token is valid. You are awesome!<\/span><\/strong><\/p>\n<p>And with this we will have already configured and linked &#8220;The Spaghetti Detective&#8221; on our brand new Octoprint server, congratulations!<\/p>\n<p>&nbsp;<\/p>\n<h2>Some recommendations<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-25419 size-full\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Focus1.jpg\" alt=\"The Spaghetti Detective: Monitorizando Octoprint desde Internet\" width=\"1200\" height=\"800\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Focus1.jpg 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Focus1-300x200.jpg 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Focus1-1024x683.jpg 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Focus1-768x512.jpg 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Focus1-450x300.jpg 450w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/Focus1-780x520.jpg 780w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p><strong>The Spaghetti Detective<\/strong> is not always perfect and you may err when trying to spot a problem. Remember that the algorithm literally &#8220;learns&#8221;. However, having sharper, well-lit images will greatly help the software to correctly detect most problems.<\/p>\n<blockquote><p>To improve detection possibilities everything is clearly summarized in 3 basic points, angle, lighting and focus, nothing more.<\/p><\/blockquote>\n<p>With focus we mean that <strong>the camera should cover practically the entire printing surface<\/strong>, as is logical. We will also avoid including too much background, so there are no cables or other elements that could confuse our detective.<\/p>\n<p>For lighting, <strong>make sure the environment is well lit<\/strong>. In case you turn off the light during printing, you should leave a small lamp illuminating your printer. Also, you should avoid any backlight. This means that your printer is not between the camera and the point of light, but that the camera and light are arranged on the same side. Finally, it minimizes the possible shadows that may appear.<\/p>\n<p>And about the focus because there is little to speak the truth. <strong> The sharper the capture, the better our detective processes the data <\/strong>, overwhelming logic. So I recommend that you waste a little time finding the perfect fit, in case your camera doesn&#8217;t focus automatically.<\/p>\n<p>There are various tutorials to adjust approaches on some of the most common cameras used with the Raspberry Pi. I leave here some links to the same that I hope can help you:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.jeffgeerling.com\/blog\/2017\/fixing-blurry-focus-on-some-raspberry-pi-camera-v2-models\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\">Pi Camera (v2 model)<\/a><\/li>\n<li><a href=\"https:\/\/tamarintech.com\/article\/ciclop_scanner_focus_fix\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\">Logitech C270<\/a><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=fAaQPw_D4OM\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\">Logitech C920<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Well, I hope and wish that this new and short article has been to your liking. Please do not hesitate to add us to our social networks (<strong><a href=\"https:\/\/www.facebook.com\/3DWork.Spain\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external\">Facebook<\/a><\/strong>, <strong><a href=\"https:\/\/twitter.com\/3dwork_io\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external\">Twitter<\/a><\/strong>, <strong><a href=\"https:\/\/www.instagram.com\/3dwork.io\" class=\"external\" rel=\"nofollow\">Instagram<\/a><\/strong>) or visit us on our channels at <a href=\"https:\/\/t.me\/joinchat\/FzEj0ETGzUJVtc9DD1kgZQ\" class=\"external\" rel=\"nofollow\"><strong>Telegram<\/strong><\/a> and <strong><a href=\"https:\/\/chat.whatsapp.com\/HuBLrVrFBINAm0i0v27i2O\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\">Whatsapp<\/a><\/strong>, this way you will be supporting our project.<\/p>\n<p>&nbsp;<\/p>\n<p>You can find more interesting articles at <a href=\"https:\/\/3dwork.io\/en\/\" target=\"_blank\" rel=\"noopener noreferrer\" data-wpel-link=\"internal\"> <strong>3DWork.io<\/strong><\/a> in the following links:<\/p>\n<ul>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/en\/powering-the-raspberry-pi-from-the-power-supply-of-your-3d-printer\/\">Powering the Raspberry Pi from the power supply of your 3D printer<\/a><\/li>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/en\/raspberry-pi-from-usb\/\">Booting our Raspberry Pi from USB with an SSD hard drive (or pendrive)<\/a><\/li>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/en\/maker-ultimate-2-review-of-the-latest-monoprice-printer\/\">Maker Ultimate 2: Review of the latest Monoprice printer<\/a><\/li>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/analyzing-the-new-resin-printer-phrozen-sonic-mini-review\/\">Analyzing the new resin printer Phrozen Sonic Mini (Review)<\/a><\/li>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/en\/mks-robin-nano-v1-2-analyzing-the-new-makerbase-32bit-boards\/\">MKS Robin Nano v1.2: Analyzing the new MakerBase 32bit boards<\/a><\/li>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/en\/hollow-3d-objects-with-chitubox-to-save-resin\/\" data-wpel-link=\"internal\">Hollow 3D objects with ChiTuBox to save resin<\/a><\/li>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/en\/10-reasons-to-use-chitubox-with-your-resin-printer-sla-dlp-2\/\" data-wpel-link=\"internal\">10 reasons to use ChiTuBox with your resin printer (SLA \/ DLP)<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you are deranged by 3D printing, you have probably once left your machines printing without any monitoring. This is a fairly common practice, although it is certainly not recommended, since many problems can arise during the printing of your pieces. However, applications like Octoprint help us with the monitoring of our printer in a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":25369,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[3702],"tags":[4219,4220,4221,4222,4223],"class_list":["post-25423","post","type-post","status-publish","format-standard","has-post-thumbnail","category-articles","tag-deep-learning-en","tag-octopi-en","tag-octoprint-en","tag-the-spaghetti-detective-en","tag-yolov3-en"],"uagb_featured_image_src":{"full":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective.jpg",1200,671,false],"thumbnail":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-150x150.jpg",150,150,true],"medium":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-300x168.jpg",300,168,true],"medium_large":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-768x429.jpg",768,429,true],"large":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-1024x573.jpg",1024,573,true],"1536x1536":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective.jpg",1200,671,false],"2048x2048":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective.jpg",1200,671,false],"pixwell_370x250":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-370x250.jpg",370,250,true],"pixwell_370x250-2x":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-740x500.jpg",740,500,true],"pixwell_370x250-3x":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-1110x671.jpg",1110,671,true],"pixwell_280x210":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-280x210.jpg",280,210,true],"pixwell_280x210-2x":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-560x420.jpg",560,420,true],"pixwell_400x450":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-400x450.jpg",400,450,true],"pixwell_400x600":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-400x600.jpg",400,600,true],"pixwell_450x0":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-450x252.jpg",450,252,true],"pixwell_780x0":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective-780x436.jpg",780,436,true],"pixwell_780x0-2x":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/03\/The_Spaghetti_Detective.jpg",1200,671,false]},"uagb_author_info":{"display_name":"Peter","author_link":"https:\/\/3dwork.io\/en\/author\/peter\/"},"uagb_comment_info":0,"uagb_excerpt":"If you are deranged by 3D printing, you have probably once left your machines printing without any monitoring. This is a fairly common practice, although it is certainly not recommended, since many problems can arise during the printing of your pieces. However, applications like Octoprint help us with the monitoring of our printer in a&hellip;","_links":{"self":[{"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/posts\/25423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/comments?post=25423"}],"version-history":[{"count":0,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/posts\/25423\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/media\/25369"}],"wp:attachment":[{"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/media?parent=25423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/categories?post=25423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/tags?post=25423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}