Octoprint-Detector2 is a detection plugin that runs in locally your browser and emails you if it detects some spaghetti, stringing or blobs on your print

Overview

OctoPrint-Detector2

Octoprint-Detector2 is a detection plugin that runs in locally your browser and emails you if it detects some spaghetti, stringing or blobs on your print. All you need is an email account and a PC. It is completely free without any monthly subscriptions or one time fees unlike some similar plugins. If it detects an error it sounds the alarm and sends you an email with the latest image snapshot of the print.

Used services:

Tensorflow.js for prediction, https://www.smtpjs.com/ to send mail via javascript and Outlook to serve as an SMTP server.

setup

Install via the Plugin Manager or manually using latest release here:

https://github.com/mikulash/Octoprint-detector2/releases

Configuration

  1. To enable email sending it needs to use an SMTP connection. Free and easy to set up is via Outlook. For now, this plugin uses exclusively Outlook so at this moment there is no need for extra set-up. Just creating an email will do it.

2. In the settings of this plugin enter the username and password for created Outlook account.

3. This plugin uses snapshots sent by the Timelapse plugin, which is preinstalled with Octoprint. Go to the Timelapse tab and choose snapshot interval. The minimal recommended interval is 10 seconds to let the plugin have enough time to detect errors from an image. After finishing printing, the timelapse is created, and its deletion is not implemented. I suggest for now deleting these timelapse manually or using another plugin to delete them automatically. 4. Once you start printing you should see the last sent image and result that this detector gets as well with confidence of the result. But if you would

5. If the confidence of the error is greater than 75 %, it starts the alarm and emails you the detected error. Email is sent exactly once to prevent spamming. You can change the confidence threshold in settings.

6. That’s it. You just need to leave the octoprint tab running in the browser and let it work.

Q&A

Email sending stopped working.

To prevent spamming, Outlook has a daily limit for services like this. Open the Outlook account and you should have received a prompt to verify this account. After verification, you should be able to start receiving emails again.

Supporting the development

It would be greatly appreciated if you would send me your time lapses. Especially the ones with errors not detected. It would help me to improve the model and add new types of errors to detect. It is super easy. Just upload the generated time-lapse to Swiss transfer and send me the generated link to [email protected]. Thanks in advance!

problems or feedback?

If you are having any trouble or have an idea to implement, let me know! This plugin is part of my bachelor thesis so any feedback would be much appreciated. Reach me at the discussion in this plugin GitHub repository or send me your thoughts about this plugin to [email protected].

Comments
  • install error

    install error

    octoinstallerror Installing plugin... Installing plugin "OctoPrint-Detector2" from https://github.com/mikulash/OctoPrint-Detector2/archive/master.zip... /home/pi/oprint/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmp0abqj3vr/Octoprint-detector2-master.zip --no-cache-dir Error! Could not install plugin from https://github.com/mikulash/OctoPrint-Detector2/archive/master.zip, see the log for more details

    2022-04-19 15:40:21,832 /home/pi/oprint/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmp0abqj3vr/Octoprint-detector2-master.zip --no-cache-dir

    opened by bushibot 4
  • I just did a fresh new install but does not show up in plugin manager

    I just did a fresh new install but does not show up in plugin manager

    I just did a fresh install. I am running under docker, The Timelapse works and it shows up under installed plugins, and is enabled, but I cannot configure it under Plugins. I am using UI Customizer. Tried to disable it but no luck octoprint-systeminfo-20220827173606.zip .

    opened by barnes-dev 3
  • Issues with email

    Issues with email

    Hi, I'm not sure I'm doing something wrong, I installed the plugin, made an outlook account and made sure the email settings are as shown on the documentation, but when the alert rings, I can hear the alarm on the browser but instead of getting and email I get this popup indicating

    "Mail: Only elasticemail is supported as an SMTP host. To open an account please visit..." and then a link to their website.

    what am I doing wrong?

    opened by Gunpowderchant 3
  • Contact

    Contact

    Hi Mikulash. I couldn't find contact info anywhere, so I'm trying here :)

    I'd love to get in contact with you about your plugin! My email is [email protected] - thanks!

    opened by AlbertMN 1
  • [Feature] Compatibility with Octolapse

    [Feature] Compatibility with Octolapse

    It appears that Detector2 only works with Octoprint's built-in timelapse feature, but not with Octolapse. It would be nice if it could detect when Octolapse is active and use Octolapse captures in that case.

    Yes, this is a nice to have feature, not a mandatory one (at least not for me). I just disabled Octolapse, and while the recorded videos are now a lot less awesome, Detector2 adds more than enough awesomeness on its own to compensate for that!

    opened by Klaws-- 1
  • Slow start of octopi GUI

    Slow start of octopi GUI

    Hey I really like the work you put in here!

    But sadly I will not be able to use the plugin, as it slows down the initialisation of my Octopi GUI. Have you experienced something similar? Do you have recommodations I could take to make it faster? I dont want to wait around a minute until i.e. the folders with my print files are shown

    opened by fellnerse 6
  • [Request] Telegram Bot Integration

    [Request] Telegram Bot Integration

    Hiya!

    Firstly, thanks for the plugin. I look forward to using it. It's efforts from the community, exactly like yours, that really makes Octoprint the single best upgrade for a 3D printer.

    Email is a great start for this application. It's certainly a proof of concept. I find email to be slow, however. Perhaps not in terms of actual delivery but more so reviewing and responding to the information (the point after all is to not continue a failed print and save the plastic/energy).

    I have been using the Telegram bot plugin to communicate and get updates from my printers in real time (with photo). This is a really neat integration. If possible, it would be great if your plugin handled multiple communication methods. Perhaps email works for some folks and should be available, specially if they don't want to use Telegram. But getting a real time notification to your phone from Telegram is a lot more likely to catch a user's immediate attention, prompting response.

    Regardless of implementation, thank you for putting this together.

    opened by InoSiX 1
  • Rotating Image

    Rotating Image

    My camera is upside down, I have rotated the image in Octoprint but Detector2 does not recognize this system position. I don't know now if the detection is still as good.

    Screenshot 2022-04-21 101741

    opened by SphaeroX 3
  • Messeging via Pushover

    Messeging via Pushover

    Hi,

    is it possible to integrate Pushover Notifictation for informing about a bad print? I'm ussing pushover for all other messages of octoprint and this would be nice to be added in detector2.

    thanks. Michael

    opened by micha1983 3
Releases(0.1.4)
  • 0.1.4(Jul 26, 2022)

    In this update i fixed the problem with the javascript email service so the plugin no longer uses it. From my small experience the email is received slightly sooner so that's a bit nice. The other change is that the plugin can now communicate with other plugins, It emits an event which other plugins can listen to and react to, for example it could be used by some notifications plugins. The way how to listen to this event is present as a commented section of code in init.py.

    Source code(tar.gz)
    Source code(zip)
  • 0.1.0(Apr 16, 2022)

Owner
Mikulash
student
Mikulash
Custom homepage for use locally in browser

Homepage Customization Customize Bookmarks Bookmarks are now held in the bookmarks.js file for easy updating. bookmarks is an array of objects with a

Jared Jones 429 Dec 25, 2022
Web application that detects and counts the number of roses using an artificial intelligence model.

Web application that detects and counts the number of roses using an artificial intelligence model. The application uses a local image, or you can take a picture with the camera.

null 3 Dec 16, 2021
Modern framework to print the web correctly.                                               

Modern framework to print web pages correctly How to use Simply include the right stylesheet(s) in your html and load it only for a printer. Gutenberg

Fabien Salathe 4.6k Dec 29, 2022
Tiny CSS framework with almost no classes and some pure CSS effects

no.css INTERACTIVE DEMO I am tired of adding classes to style my HTML. I just want to include a .css file and I expect it to style the HTML for me. no

null 96 Dec 10, 2022
🌆 Here I've aggregated some of the most commonly used web-page templates made using Bootstrap4 🛒

Web-page component templates using bootstrap4 Here are some of the most common web-page templates made using bootstrap4 Login page Create-Account or S

Akash Giri 89 Dec 30, 2022
Apply CSS based on your browser's text rendering engine

Type Rendering Mix Type Rendering Mix website Type Rendering Mix detects your browser’s text rasterizer and antialiasing method by parsing the user ag

Bram Stein 496 Dec 6, 2022
Framework-agnostic CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation

Aphrodite Framework-agnostic CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation. Support for colocating y

Khan Academy 5.3k Jan 1, 2023
Homepage For browser, google search suggestions

Browser Homepage ?? & Search ?? Suggestions Lightweight ⚡ and Very Fast ⚡ Set this link as your browser's homepage https://codeAbinash.github.io/homep

Abinash Karmakar 13 Dec 20, 2022
Chrome extension that creates a button on Lever job application pages which shows you how their api parses your resume.

EDIT I have helped make a website that provides the same functionality. Repo: https://github.com/KnlnKS/resume-parser Site: https://resume-parser.verc

Kunalan Kevin Subagaran 17 May 19, 2022
A Gnome extension to remind you to give a rest to your eyes every a specific period of time

A Gnome extension to remind you to give a rest to your eyes every a specific period of time

null 8 Jun 21, 2022
🖼 A pure client-side landing page template that you can fork, customize and host freely. Relies on Mailchimp and Google Analytics.

landing-page-boilerplate A pure client-side landing page template that you can freely fork, customize, host and link to your own domain name (e.g. usi

Adrien Joly 129 Dec 24, 2022
This plugin was created to calibrate 3D printer settings easily.

Calibration Companion This plugin was created to calibrate your 3D printer settings easily. It comes really handy when you want to try a new filament

Guyot François 29 Jun 22, 2022
A live2d docusaurus plugin

docusaurus-plugin-2dlive A live2d docusaurus plugin Installation npm i docusaurus-plugin-2dlive or... yarn add docusaurus-plugin-2dlive Usage In file

Kim Minh Thắng 3 Dec 14, 2022
PostCSS plugin to render WordPress global styles from a theme.json file

postcss-wp-global-styles PostCSS plugin to render WordPress global styles from a theme.json file. As of now it only supports preset styles. Usage @wp-

Luehrsen // Heinrich 10 Aug 5, 2022
A plugin for PostCSS that generates viewport units (vw, vh, vmin, vmax) from pixel units

A plugin for PostCSS that generates viewport units (vw, vh, vmin, vmax) from pixel units. The best choice to create a scalable interface on different displays by one design size.

Jonny Chen 15 Dec 29, 2022
A browserify plugin to load CSS Modules

css-modulesify A browserify plugin to load CSS Modules. Please note that this is still highly experimental. Why CSS Modules? Normally you need to use

null 407 Aug 15, 2022
A Unique Food order landing page web application called 'HOMELY' where you can select available meals and add them to cart then order them.

End Result Click the link : https://foodapp-by-eniola.netlify.com Getting Started with Create React App This project was bootstrapped with Create Reac

Eniola Odunmbaku 26 Dec 31, 2022
A set of small, responsive CSS modules that you can use in every web project.

Pure A set of small, responsive CSS modules that you can use in every web project. http://purecss.io/ This project is looking for maintainers to suppo

Pure CSS 22.7k Jan 3, 2023