-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding an option "Post Connect Delay" (enhances #234) #269
base: devel
Are you sure you want to change the base?
Conversation
added connect delay with threading timer.
Wouldn't this be more of a "pre connect delay" which would be satisfied by "postOnDelay" ? |
Yes, technically, actually. I also had trouble with the naming at first. Since I originally took the code from the author, the "post" refers to the action after the button is pressed. Feel free to rename it :) |
@kantlivelong are planning to implement this PR? |
@kantlivelong is this repo actually maintained? |
Pretty much break/fix for now. |
My PR is now tested over 1 year with no further issues. Can you merge it? |
Please merge. I've been applying this patch manually for the last year while waiting for a merge (since this is what is in the plugin repository) If the repository isn't actually going to be maintained (as in, merge pull request for fixes) please let us know. |
@kantlivelong UPVOTE |
Thank you for your interest into contributing to OctoPrint-PSUControl, it's highly appreciated!
Before submitting please make sure you have ticked all points on this checklist:
Feel free to delete all this help text, then describe your PR further. You may use the template provided below to do that. The more details the better!
What does this PR do and why is it necessary?
it´s on top of PR #234 but with the difference of using timer. its tested multiple times und works great!
How was it tested? How can it be tested by the reviewer?
Set a post connect delay in the options and connect to printer with the ui button.
Any background context you want to provide?
see #234
What are the relevant tickets if any?
#234
Screenshots (if appropriate)
Further notes