jneilliii / OctoPrint-PrintScheduler

MIT License
10 stars 2 forks source link

Is it possible to assign time without date? #22

Closed fly115 closed 1 year ago

fly115 commented 2 years ago

Great work. Thankyou. Would be great if you could assign a time without a date. Or if there was a checkbox for 'repeat daily' Looking a way to have a Sisyphus style sand table tell the time by drawing a clock face and then moving the ball based on time. I can divide up the time movements into separate GCode files but would need to schedule each file to 'print' dependent on the time (but not date).

jneilliii commented 2 years ago

You should check out my unlisted plugin OctoPrint-Playlist, it was designed specifically for sand printers....

https://github.com/jneilliii/OctoPrint-Playlist

jneilliii commented 2 years ago

technically you could probably do it with a single repeating file using G4 dwell commands

fly115 commented 2 years ago

Yes I have tried your OctoPrint-Playlist plugin too. Thank you. Only problem with using it is that you can only assign a start time to the whole playlist not to individual files. Multiple playlists would work (if that were possible). So yes I'm currently working in the direction of using dwell commands and then just kick off the print at right time. I suspect it will slowly get out of time through the day. I guess my hope was that i could kick it off at any time and it would jump straight to the correct time (using schedule to determine which file to 'print').

jneilliii commented 2 years ago

Well, even with this plugin the time could be off by a minute or two.

jneilliii commented 2 years ago

added repeat daily feature in above commit. and released with version 0.0.5rc2. If you'd like to test it out change the plugin's release channel in OctoPrint's Software Update settings to Release Candidate and upgrade when prompted. It should in theory be close to what you want, but remember the time may not be perfect as the way the plugin works is fairly remedial date/time comparisons and are not tied to an actual clock, or cron jobs or anything like that.

jneilliii commented 2 years ago

BTW, would love to get a timelapse of your sand clock if you do get it working with these changes.

fly115 commented 2 years ago

Wow thanks so much. I am really grateful. I'll play around with it and let you know how things go. I don't need anything super accurate because the resolution of the ball movement is not high anyway. Im hoping I can use this to sync up time occasionally and go to the correct time on startup. If it all works out I'd be happy to share a time lapse and gcodes On Oct 2, 2021 2:21 PM, jneilliii @.***> wrote: BTW, would love to get a timelapse of your sand clock if you do get it working with these changes.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.