nutdotnet / WinNUT-Client

WinForms-based client for monitoring your Uninterruptible Power Supply (UPS) connected to a Network UPS Tools (NUT) server.
GNU General Public License v3.0
186 stars 18 forks source link

Resuming from Sleep and other connection fixes #163

Closed gbakeman closed 6 days ago

gbakeman commented 3 weeks ago

Socket

UPS Device

WinNUT

Related

kirsch33 commented 2 weeks ago

i am happy to see this PR--i previously have been using a fork of this repo I made for myself which the only change being the MaxRetry variable within UPS_Device.vb vastly increased. that is what has resolved the connection issues for me.

related to https://github.com/nutdotnet/WinNUT-Client/issues/65, i believe it makes sense for this PR to also address a configurable option for the MaxRetry interval.

considering this software is otherwise perfect for me besides the connection issue, it would be greatly appreciated and thank you for all your work on this!

gbakeman commented 2 weeks ago

Hi @kirsch33, thanks for your interest and sorry you had to fork just for that small change! 😄 To be honest, I wasn't planning on tackling #65 here since I'm helping another user who's experiencing a multitude of issues at the moment. Generally though, I think I'm leaning more towards indefinite/persistent connections instead of a set amount before giving up - let me know in #65 if you think it should be different.

kirsch33 commented 2 weeks ago

@gbakeman that sounds good to me! and its no issue. this app is perfect otherwise, or else I wouldnt have went thru all that trouble lol so kudos to you and the other maintainers.