Network UPS Tools Services for Windows
Network UPS Tools Services for Windows provides tools and services to run an upsd
compatible
server to report the status of UPS devices connected to a system or server in master mode. It
allows other Network UPS Tools slave daemons and monitoring clients access to UPS information using
standard Windows programing interfaces for easier setup.
Installation
- Run the appropriate MSI for your processor platform.
Building
Requirements
- Visual Studio 2015 Community or better.
- Windows Installer XML Toolkit 3.9 or later (for 3.9, the following is required, similar to
Enable WiX project in Visual Studio 2013)
- Copy C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\WiX to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\WiX
- Modify C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\WiX\extension.vsixmanifest
by adding the following:
<VisualStudio Version="14.0"> <Edition>Ultimate</Edition> <Edition>Premium</Edition> <Edition>Pro</Edition> <Edition>Express_All</Edition> </VisualStudio>
- Then open a Visual Studio 2015 Command Prompt such as Developer Command Prompt for VS2015
and run
devenv /setup
.
Components
ntUPSd: Network UPS Tools Daemon for Windows
A Windows service that provide information to upsd
compatible clients.
ntUPSd.Core: Support Library
Provides many wrappers for Windows APIs used by ntUPSd
. This library allows the core logic of
the daemon to remain clean and easy to follow. It is a static library and therefore will now be
present in binary release installations.
ntUPSd.Setup: Installation
The MSI and setup bootstrap for installing ntUPSd.
TODOs
In no particular priority.
- Implement complete protocol.
- Create administration user interface.
- Add support for mulitple batteries.
- Add support for authentication.
- Proper installation instructions.
License
Network UPS Tools Services for Windows is provided under the MIT license. For more information see
the LICENSE
file.