Feature #14321
closed
Add UPS information to LCDproc screen
Added by Geo Rou over 1 year ago.
Updated 4 months ago.
Description
Hi,
I'd like to add a new screen to LCDproc that reads the UPS information from NUT.
Should show the current UPS status; Online/Online discharging(mains power is out) etc. Also to include is the approximate Hours/Minutes/Seconds of runtime, battery percentage and UPS load percentage.
I've got the code already done and currently testing. The developer guide says to create this request on Redmine and wait to be approved before doing a PR. Hopefully I'm doing this correctly for my first time here. Please let me know if I've missed a step.
Cheers.
Files
Geo Rou wrote:
Hi,
I'd like to add a new screen to LCDproc that reads the UPS information from NUT.
Just a little remarc: I guess the users of apcupsd would be also delighted if there would bee a screen for apcupsd too ...
It should be OK to add that in, but it would need to be made conditional. By that I mean the option for the screen should only be displayed when the NUT package is installed, and the backend code to handle the status should likewise only run if the NUT package is installed.
- Subject changed from Add NUT UPS information to LCDproc screen to Add UPS information to LCDproc screen
- Status changed from New to Feedback
- Assignee set to Jim Pingle
- % Done changed from 0 to 100
I added screens for both APCUPSD and NUT to LCDProc. The option only appears (and will only work) when the corresponding package is installed.
APCUPSD and NUT have been added to LCDproc , they show up after installing packages.
- Status changed from Feedback to Closed
Also available in: Atom
PDF