Skip to content

Gauges clamping to minimum when variable is unavailable #136

@masterwishx

Description

@masterwishx

Original post

updated from WinNUT Client v2.3.8800 to lasted version :

have Eaton 9E 2000i but seems don't have : battery.voltage variable
and have 6V instead of 12V like was in versions before :

image

Problem

When WinNUT tries to query a UPS variable on the NUT server, and it encounters an error e.g the variable is missing, it used to substitute the value with a nominal/expected value. Recently, WinNUT was changed so that when a variable is unavailable, instead of being set to a believable default value, it will now be set to an obviously out-of-range value (-1.) It's been discovered that the gauges will clamp themselves to the gauge's minimum value instead of displaying the true value, which is also misleading.

Solutions

When value is beyond the gauge's displayable range:

  • Uncap display of value on the gauge face
  • Graphical indication that the value is beyond the range of the gauge
    • Gauge needle travels slightly beyond the gauge range
    • A small icon to indicate that it's out of range
  • Allow gauge to auto-scale its self to the input value(s)

When the value is unavailable:

  • Lock needle below minimum, clear/reset value display, and show alert indicator
  • Remove needle entirely
  • Some or all of the gauge display is covered with an alert:

image
@ElGuillermo

See Also

Metadata

Metadata

Assignees

Labels

blockedWaiting for other work to occur first.bugSomething isn't working🖱️uiFor UI/forms components.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions