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
227 stars 21 forks source link

Custom actions on events #92

Open gbakeman opened 1 year ago

gbakeman commented 1 year ago

Based off of https://github.com/gawindx/WinNUT-Client/issues/39

@FileCity

It should be a good idea, on a future release, to add the ability to run scripts when the UPS state is changing. On battery = Script1.script Back Online = Script2.script

More broadly, WinNUT may need a customizable events and actions system. This can configure notifications, and run a series of actions including custom scripts. I'm unsure how likely the full bredth of this idea will be made into the current version of WinNUT, versus the next generation.