Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juergenpabel/octoprint-procastinator
Octoprint Plugin to delay print jobs until a given time
https://github.com/juergenpabel/octoprint-procastinator
octoprint-plugin
Last synced: 17 days ago
JSON representation
Octoprint Plugin to delay print jobs until a given time
- Host: GitHub
- URL: https://github.com/juergenpabel/octoprint-procastinator
- Owner: juergenpabel
- Created: 2020-08-14T19:57:03.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-23T10:23:55.000Z (12 months ago)
- Last Synced: 2024-10-10T22:44:07.922Z (about 1 month ago)
- Topics: octoprint-plugin
- Language: Python
- Homepage:
- Size: 45.9 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OctoPrint-Procastinator
This plugin allows for a configurable time window, during which print jobs are put on hold ("procrastinating") and
the user is given (configurable) options for when to resume/start the print job.## Setup
Install via the bundled [Plugin Manager](https://docs.octoprint.org/en/master/bundledplugins/pluginmanager.html)
or manually using this URL:https://github.com/juergenpabel/OctoPrint-Procastinator/archive/master.zip
## Configuration
* Time window: During which to put the job on-hold
* Time options: Multiple time options (in addition to "now") when to start the print job## FAQ
- [Are you aware of the spelling error?](#are-you-aware-of-the-spelling-error)
- [Why didn't you just implement a print job scheduling functionality?](#why-didnt-you-just-implement-a-print-job-scheduling-functionality)
- [Why don't you pause the print job (instead of locking it)?](#why-dont-you-pause-the-print-job-instead-of-locking-it)### Are you aware of the spelling error?
The correct spelling is proc*r*astinator and yes, I am. But it did not occur to me until
after I had implemented the first working PoC and at that point I didn't feel like doing
all that work and than I forgot about it until registering it with the octoprint plugin
manager. Now, I am undecided whether I'll just leave it as is or correct it.
By the way: the very first reported issue was about this spelling error - leave a comment
there if it's of any relevance to you.### Why didn't you just implement a print job scheduling functionality?
My main reason for pausing (not really, see next question) an already started printjob
is that I have some other scripts/logic set up on my printers to shutdown the raspberry
(and printer) if it's not doing anything for a while. This approach circumvents any
problems with those implementations.### Why don't you pause the print job (instead of locking it)?
First of: The (current) implementation is that the still-just-starting print job is put
on hold by obtaining the lock of the print job and just not allowing it to transition
into the printing phase.
This prevents any state changes (to the print job) due to user interactions or other
causes. Since I didn't observe any side effects during development of this approach,
this is how it is. (I might implement a configurable alternative if so desired.)