GithubHelp home page GithubHelp logo

ollisgit / octoprint-autostartprint Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 3.0 562 KB

A OctoPrintPlugin which executes a print-job after powering up

Python 33.18% CSS 1.44% JavaScript 57.24% HTML 8.14%

octoprint-autostartprint's Introduction

OctoPrint-AutostartPrint

Version Released GitHub Releases (by Release)

Plugin starts a print job after the Printer is connected (e.g. after powering up). It selects the newest uploaded file for print.

Support my Efforts

This plugin, as well as my other plugins were developed in my spare time. If you like it, I would be thankful about a cup of coffee :)

More coffee, more code

Description

If you want to start a printjob after powering up your OctoPrintServer, make sure you do the following steps:

  1. Make sure you check "Auto-connect on server startup" in Side-Bar
  2. Select what kind of file do you want to print: from "OctoPrintServer" or "Printer" SD-Card in the Plugin-Settings
  3. Define a delay in seconds before print starts
  4. Activate the Plugin

--> Next time the printer is connected a countdown is started and after that countdown the print starts automatically.

Screenshots

plugin-settings countdown-dialog autostart-sidebar

Setup

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/OllisGit/OctoPrint-AutostartPrint/releases/latest/download/master.zip

Versions

see Release-Overview

Roadmap

  • Preselection of a file, instead of newest file from SD-Card

octoprint-autostartprint's People

Contributors

ollisgit avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

octoprint-autostartprint's Issues

[Enhancement] AutoPrint when state is Operational

Hello, awesome work on this plugin. Was curious to see if you could add a feature that when the State = Operational to start another print job automatically. Yes it is dangerous I am aware but you can put big letters to use at your own risk :-) I started modifying your code and removed the check for the initial connection but that sets to print as a loop. Thanks again for awesome work. I am printing face shields and this would be helpful as I have GCODE that waits for my heated bed to cool down and then I have a blade that comes to remove the print and would love to start the print automatically.

Endless printing Not working

Hello and thanks for this plugin, its exactly what i was looking for. Now i just need it to work.

Goal:
Be able to upload multiple gcode files to octoprint, and have the printer print one, then push the part of the bed using custom gcode and then print the next file and so on.

Issue:
Prints do not start, even if i start the first print manually it doesn't start the second file after the first one is finished.

Note:
When i change the setting "Trigger for starting" to connected with octoprint then it starts the first file as intended. But i just can't get endless mode to start any prints for me. Also im not using folders just simply uploading a few gcode files to octoprint

Have you ran into this issue before or can this be caused by some of my other plugins i have installed? If i dont get this working i will try to code my own plugin but i would rather not have to reinvent the wheel if you know what i mean, Thanks for any help.

Picture of my settings:
octoprintAutoPrint

Nothing happens after print start timer delay ends

I installed the plugin, uploaded a GCode file to the folder. Disconnected the printer and connected it again.

image

Saw this screen, the correct and latest .gcode file was loaded, everything looks great, printer connected etc. But after timer runs out screen disappears and nothing happens. No print is started or loaded.

Plugin does not work

Hi, my plugin does not work at all. After turning on and loading the octoprint, the plugin does not start printing. The plugin is activated, auto-connect is working.

print jobs not autostarting

Hello sir, i have several 3D printers and want to be able to upload files to watch folders and then have the printer take this newly uploaded file and immediately start printing without doing anything else. it doesnt seem to be working, when i upload the file, while my printer is already online but nothing happens. is something wrong or is this not a feature available with your plugin?

if this isnt yet possible can you please include this feature asap? i will happily make donation..

[ENHANCEMENT] Remote-TurnOn / -Off?

Hello Olli,

First of all, thank you very much for all your hard work on this very useful plugin!

I almost always use it for printing because I use HA automation to switch on many other devices and check conditions in advance (preheat filament, check residual mass via a scale, switch on LEDs, start NozzleCam and much more) before printing should then start (often much later) just as automated with the help of your plugin.

:)))

So once again: Thank you!

Now my question or idea: Sometimes I would also like to switch off the plugin via HA (MQTT or RestAPI) before Octoprint connects to work directly on the printer.

Would such a "remote activation and deactivation" (except via the button in the web frontend) via MQTT or API be conceivable?

Best Regards,

Kay

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.