Timed shutdown, auto restore connection #158
Replies: 4 comments 4 replies
-
Hey @cbturner46, Thanks for testing the newer releases and posting back here. I know a few other people have requested a timer-based shutdown which we don't really do yet. I'd encourage you to follow #92 where I'll probably implement that there. I also think #65 will address your idea about attempting connections indefinitely. I'm also curious, what search(es) led you to the original WinNUT repository? I'm tracking our visibility in #91, if you have any further thoughts about boosting us I'd appreciate that there! |
Beta Was this translation helpful? Give feedback.
-
I think most of the misleading stuff was in closed threads on Synology's forums. I’ll put a new post there tomorrow which may help.
From my iPad
***@***.***
…________________________________
From: gbakeman ***@***.***>
Sent: Thursday, May 30, 2024 9:46:16 PM
To: nutdotnet/WinNUT-Client ***@***.***>
Cc: cbturner46 ***@***.***>; Mention ***@***.***>
Subject: Re: [nutdotnet/WinNUT-Client] Timed shutdown, auto restore connection (Discussion #158)
Hey @cbturner46<https://github.com/cbturner46>,
Thanks for testing the newer releases and posting back here. I know a few other people have requested a timer-based shutdown which we don't really do yet. I'd encourage you to follow #92<#92> where I'll probably implement that there. I also think #65<#65> will address your idea about attempting connections indefinitely. I'm also curious, what search(es) led you to the original WinNUT repository? I'm tracking our visibility in #91<#91>, if you have any further thoughts about boosting us I'd appreciate that there!
—
Reply to this email directly, view it on GitHub<#158 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AICTCFS75BDPENQZSRDB6HTZE6FZRAVCNFSM6AAAAABIRSOOAKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TMMJQGEZTO>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yes, that might work, although I need to check if my APC UPS dips below 100% occasionally even when there's no outage. Not sure about your second point as I wasn't suggesting that the Win client should be able to shut down the NAS. My Synology NAS has timed shutdown capability already.
Cheers, Chris
…________________________________
From: gbakeman ***@***.***>
Sent: Tuesday, June 11, 2024 19:41
To: nutdotnet/WinNUT-Client ***@***.***>
Cc: cbturner46 ***@***.***>; Mention ***@***.***>
Subject: Re: [nutdotnet/WinNUT-Client] Timed shutdown, auto restore connection (Discussion #158)
Thanks again for making that post in the Synology forums. With regards to your suggestion, I totally agree that it's a sensible idea that ought to be implemented. You can sort of achieve this in the Shutdown Options menu by setting the Shutdown if battery lower than __ % value to 100, then adjusting the Delay to Shutdown (sec) field to however long you'd like for WinNUT to wait while on battery power before shutting down the PC. Regarding shutting down the NAS though, that isn't really something WinNUT can handle at the moment and I don't think it will be able to if the host PC is already shutdown. I did link to this discussion in #92<#92> where I hope to tackle the ideas at hand, and if I do end up implementing #92<#92>, then you should be able to execute a custom script which will tell the NAS to power off before the PC does.
—
Reply to this email directly, view it on GitHub<#158 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AICTCFT34PEWT65DWFCDJ7LZG5AHBAVCNFSM6AAAAABIRSOOAKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TONBSGUZTK>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Many thanks for the clarification.
Cheers, Chris
from my phone
…________________________________
From: gbakeman ***@***.***>
Sent: Wednesday, June 12, 2024 12:48:43 PM
To: nutdotnet/WinNUT-Client ***@***.***>
Cc: cbturner46 ***@***.***>; Mention ***@***.***>
Subject: Re: [nutdotnet/WinNUT-Client] Timed shutdown, auto restore connection (Discussion #158)
Not sure about your second point as I wasn't suggesting that the Win client should be able to shut down the NAS. My Synology NAS has timed shutdown capability already.
Oh, I understand! Yeah that should be fine then. I also want to mention that the shutdown conditions aren't evaluated until the UPS indicates that it's on battery, so effectively you're guaranteeing that the countdown begins immediately once mains power is lost and battery power is engaged. Although I want to say that this logic isn't very clear in the current iteration so I do want to implement your idea. I'm currently working on the gauges in WinNUT and hope to address a few pending issues with those, then I may try finalizing the WinNUT upgrade process before tackling this.
—
Reply to this email directly, view it on GitHub<#158 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AICTCFSJYWLB7TXSXVP75DTZHAYRXAVCNFSM6AAAAABIRSOOAKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TONJQG43DQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
New user here and I think I see some of this in fixes to the source code but not in the ready-to-roll binary release.
I think I'd like to have the option to shutdown my PC after a set time on battery as opposed to percentage of energy remaining. Reason is that the NAS shuts down after a configured time and you need to ensure the PC shuts down first whilst the NAS is still serving NUT (I think).
Also, an option to auto reconnect once WinNUT is started on the PC by trying to contact the NAS periodically until its service starts.
Otherwise it's all good and many thanks to gbakeman for all the great work and for pointing me at this new repository. Need to kill those old google searches somehow as that's how I found my way to WinNUT but it was to the old (non working) releases.
Beta Was this translation helpful? Give feedback.
All reactions