Project

General

Profile

Actions

Feature #14321

open

Add UPS information to LCDproc screen

Added by Geo Rou almost 1 year ago. Updated 9 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
LCDProc
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:

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.

Actions #1

Updated by odo maitre 10 months ago

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 ...

Actions #2

Updated by Jim Pingle 9 months ago

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.

Actions #3

Updated by Jim Pingle 9 months ago

  • 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.

Actions

Also available in: Atom PDF