CodingTheUnknown / OctoPrint-Tplinkautoshutdown

A plugin designed to be used within OctoPrint and OctoPi to control TP-Link kasa devices.
https://github.com/CodingTheUnknown/OctoPrint-Tplinkautoshutdown.git
9 stars 7 forks source link

Can you make a timer to cancel auto shutdown? #23

Open th3obituary opened 3 years ago

th3obituary commented 3 years ago

Love the plugin...was already using this plug to set a timer so it would shut down while i slept but this allows me to do it from my browser too.

Only issue i have is that i want to leave auto shutdown enabled but for times when i am running several short hour or 2 prints i don't want to have to turn it back on after each and i will undoubtedly forget to turn auto shutdown back on.

So maybe after a print finishes you, instead of having an on/off button, have a button with a countdown timer that gives you a chance to cancel shutdown so you can jump right into your next print. Of course the timer would be configurable in settings and if clicked it would simply continue to run and the normal on/off button would be back like normal. Seen you have been very actively updating so figured i would see what you thought.

th3obituary commented 3 years ago

I know windows and a lil programming so i wont be much in that capacity but a simpler version (ad maybe easier to code) could be change the current 2 button for "turn on" and "turn off" into a single on/off button and then add a auto shutdown enabled/disabled button next to the on/off? Just an idea that crossed my mind. thanks again for you work!

CodingTheUnknown commented 3 years ago

I like that idea. Will look at doing that. Just finishing the smart strip support and will then get to doing this

th3obituary commented 3 years ago

Awesome! Smart strip? hmm something else i may be interested in.

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Fri, Feb 26, 2021 at 9:54 PM jamesmccannon02 notifications@github.com wrote:

I like that idea. Will look at doing that. Just finishing the smart strip support and will then get to doing this

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jamesmccannon02/OctoPrint-Tplinkautoshutdown/issues/23#issuecomment-786991655, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASZAKDKENLLA3NDCNKVFFCDTBBNEVANCNFSM4X72J3DA .

--

Epidurality commented 3 years ago

Just wanted to +1 for this feature. For me, it's because my printer suffers hot end creep when the fan's not actively cooling, and has jammed the filament a couple of times. I always make sure my hot end is below 60degC or so before cutting power to the printer. The plugin by no means needs to incorporate temps, but just having a setting saying "Wait [X] seconds before turning off the TP link plug" would be sufficient.

CodingTheUnknown commented 3 years ago

Just finished a large update to bring support for smartStrips. Will have a look at this for the next feature i work on.

th3obituary commented 3 years ago

Awesome. Noticed you finished the smartstrip update as I installed it a few days ago :)

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Mar 9, 2021 at 4:56 PM jamesmccannon02 @.***> wrote:

Just finished a large update to bring support for smartStrips. Will have a look at this for the next feature i work on.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jamesmccannon02/OctoPrint-Tplinkautoshutdown/issues/23#issuecomment-794509771, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASZAKDIKYWX3EVJOA5OUHSDTC2KQPANCNFSM4X72J3DA .

--

th3obituary commented 3 years ago

2 issues i wanted to pass on...First it seems auto shutdown is not working now. I can turn the machine on and off with the button so it seems communication with the wifi plug is fine.

I noticed this after a print i cancelled which is my second though and this is just that since i am new to printing and all but if you have a very short print, cancel one or have timelapse off could the suto shutdown feature introduce heat ceep since it may turn off the fans very soon after the print? i leave "wait for time lapse" so most times this isn't an issue but i did turn it off testing for a comm. timeout i have occasionally and some may not use a camera.

Didn't really know if heat creep was that big of a problem just something i learned about in a video i watched trying to learn more. Thanks again for the great work

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Mar 9, 2021 at 8:08 PM Daniel Miller @.***> wrote:

Awesome. Noticed you finished the smartstrip update as I installed it a few days ago :)

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link <#m_-8312750967646053570_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Mar 9, 2021 at 4:56 PM jamesmccannon02 @.***> wrote:

Just finished a large update to bring support for smartStrips. Will have a look at this for the next feature i work on.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jamesmccannon02/OctoPrint-Tplinkautoshutdown/issues/23#issuecomment-794509771, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASZAKDIKYWX3EVJOA5OUHSDTC2KQPANCNFSM4X72J3DA .

--

  • Daniel Miller

--

kriskate commented 2 years ago

+1 for this

as mentioned by others, I'm interested in having a delay before shutting down, in case I want to do multiple prints at a time, or perhaps leave the nozzle to cool down to a specific temperature via the printer's fans