luc-github / ESP3D

FW for ESP8266/ESP8285/ESP32 used with 3D printer
GNU General Public License v3.0
1.78k stars 465 forks source link

[FEATURE REQUEST] Ability to schedule starting a print at a given date/time #1001

Closed josedpedroso closed 3 months ago

josedpedroso commented 9 months ago

It'd be nice to be able to schedule printing a file already in the card (or sending a custom g-code command to the printer) at a specified date and time. Not sure how feasible that is, especially if ESP3D doesn't already have a global date/time, but as an alternative, being able to schedule the print or command to happen after some minutes, days, or hours, would still be useful. It'd also be nice to be able to set the schedule as one-shot or repeating.

luc-github commented 9 months ago

what is the purpose of scheduling a job ? what is the user case?

josedpedroso commented 9 months ago

My printer is a bit noisy and I have it at my parents', so I'd like to avoid running it at night. However, I'm often not at home in the morning to start a job, so I may not be able to start long prints until I actually spend the night there. Scheduling would solve this for me, without having to setup remote access and without having to get up in the morning.

On Sat, Feb 17, 2024, 23:55 Luc @.***> wrote:

what is the purpose of scheduling a jog ? what is the user case?

— Reply to this email directly, view it on GitHub https://github.com/luc-github/ESP3D/issues/1001#issuecomment-1950580836, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5E2DZGHOFDGPVELBW37FLYUE7PZAVCNFSM6AAAAABDNVJPWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGU4DAOBTGY . You are receiving this because you authored the thread.Message ID: @.***>

luc-github commented 9 months ago

so what you need is just starting time and not a repeating In that case it is safer to use https://fr.aliexpress.com/item/1005004251720806.html because if your esp does not have internet and time may not be set it won't work Just put you gcode file as init command in ESP3D or even in Printer Firmware init file

josedpedroso commented 9 months ago

As I said in the first message, even just scheduling for after some minutes/hours/days, without an absolute date/time, would still be helpful.

On Sun, Feb 18, 2024, 00:50 Luc @.***> wrote:

so what you need is just starting time and not a repeating In that case it is safer to use https://fr.aliexpress.com/item/1005004251720806.html because if your esp does not have internet and time may not be set Just put you gcode file as init command in ESP3D or even in Printer Firmware init file

— Reply to this email directly, view it on GitHub https://github.com/luc-github/ESP3D/issues/1001#issuecomment-1950663853, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5E2DYBOVICGYAIJ3CESW3YUFF5PAVCNFSM6AAAAABDNVJPWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGY3DGOBVGM . You are receiving this because you authored the thread.Message ID: @.***>

luc-github commented 9 months ago

My todo list is already full of helpful feature requests so I need to sort them by "is it useful ?" "Does manyl people will use it ?" "Is there an existing solution ?"

So to be honest currently this FR would the last one

josedpedroso commented 9 months ago

I'm ok with that.

On Sun, Feb 18, 2024, 01:07 Luc @.***> wrote:

My todo list is already full of helpful feature requests so I need to sort them by "is it useful ?" "Does manyl people will use it ?" "Is there an existing solution ?"

So to be honest currently this FR would the last one

— Reply to this email directly, view it on GitHub https://github.com/luc-github/ESP3D/issues/1001#issuecomment-1950688318, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5E2D6VF74DWIUQTY5G5C3YUFH3RAVCNFSM6AAAAABDNVJPWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGY4DQMZRHA . You are receiving this because you authored the thread.Message ID: @.***>

kleffa commented 5 months ago

Launch macros on determinate time sounds very interesting, by now using macros or comands like "G4 S3600 ;" makes a solution to pause at some time, but have lit of limitations, some printers have lights, buzzers and noises that can easily activate/deactivate using macros on time, by now ESP3D has NTP so sontime should not be a gteat problem

luc-github commented 5 months ago

nothing is difficult in programming, it's just a matter of spending time thinking about a problem and its solution and implementing the proper solution

so sure, PR is welcome

github-actions[bot] commented 3 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.