nutdotnet / Coco.Nut

Modern UPS monitoring tool
GNU General Public License v3.0
23 stars 0 forks source link

Core Plan #1

Open gbakeman opened 2 years ago

gbakeman commented 2 years ago
RoganDawes commented 1 year ago

Would you consider a minimal implentation of the Windows Battery class (https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-battery)? This would enable desktop/server-class devices to operate as though they are laptops, and activate hibernation/shutdown actions when they go "on battery". This would eliminate the requirement for a custom UI, as configuration could be done using standard Windows interfaces.

gbakeman commented 1 year ago

Good point, I always wondered if there was a way to interact with system power management in a more native fashion but I had never looked into it. Thank you for the suggestion!

RoganDawes commented 1 year ago

It's been on my backlog of projects to look into, but I'm not a Windows dev, so don't know how to even start such a project. If you can figure out how to lay out such an implementation, I suspect it should be fairly straightforward to map the Battery interface to the NUT API.

rederikus commented 11 months ago

I do not know how this project is progressing but I wouls like to ask for a feature to be included please.

Could you implement Coco.Nut to be able to monitor more than one UPS on different platforms. My case is pretty simple I have one UPS in my LAN closet running on a Pi and anpther in my offfice holding up my office and Home Assistant stuff. IRight now I need to look at two different systems to see that state of both UPSs. It would be convenient to have a drop down menu that selects one of a number of UPS devices each with its own stored parameters.

Thank you.

RoganDawes commented 11 months ago

Structured in such a way that multiple NUT servers can be monitored at once, with multiple UPSes attached to each

From the very first post.

Not sure how much time OP is able to commit to this, but that is one of his goals.

zzyyzz1992 commented 5 months ago

I have 2 suggestions: 1: macos support 2:external scripts support, in my case I'd like to inform other computers to perform shutdown procedures

buzzwebly commented 3 months ago

I'd like to be able to have the option of installing it as a Windows service, It would allow my Plex server to monitor the Nut server without requiring someone to be logged into Windows.

bigjezza commented 3 months ago

I would love to see the this being implemented as a virtual battery device, similar to how a physical APC UPS is presented. I think some Intel storage software won't allow write caching unless a battery is detected.

gbakeman commented 3 months ago

All,

Thanks for your ideas so far. I've been doing more work on the original WinNUT project, but please keep the suggestions coming.