Project

General

Profile

Actions

Feature #14321

closed

Add UPS information to LCDproc screen

Added by Geo Rou over 1 year ago. Updated 3 months ago.

Status:
Closed
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.


Files

LCDproc.jpg (24.2 KB) LCDproc.jpg Alhusein Zawi, 07/06/2024 08:45 PM
Actions #1

Updated by odo maitre over 1 year 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 about 1 year 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 about 1 year 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 #4

Updated by Alhusein Zawi 3 months ago

APCUPSD and NUT have been added to LCDproc , they show up after installing packages.

Actions #5

Updated by Jim Pingle 3 months ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF