[Nut-upsdev] Request to add new nut variable to get device part number

ChetanAgarwal at Eaton.com ChetanAgarwal at Eaton.com
Tue Apr 20 11:44:25 UTC 2010


Hi,

To display the device part number, we need to have a nut variable. 
As it is related to the device, I would propose to have "device.part" as
the nut variable name.

Please suggest.

Please see svn diff for docs/new-names.txt and data/cmdvartab - 

Index: docs/new-names.txt
===================================================================
--- docs/new-names.txt  (revision 2445)
+++ docs/new-names.txt  (working copy)
@@ -236,6 +236,12 @@
    | output.current.nominal        | Nominal output current (A)     |
5.0   |
 
+-----------------------------------------------------------------------
-+

+device: Device identification information
+
+
+-----------------------------------------------------------------------
-+
+   | device.part               | Part Number                |
05147365-5592 |
+
+-----------------------------------------------------------------------
-+
+
 Three-phase additions:
 ----------------------

Index: data/cmdvartab
===================================================================
--- data/cmdvartab      (revision 2445)
+++ data/cmdvartab      (working copy)
@@ -138,6 +138,8 @@
 VARDESC driver.version "Driver version - NUT release"
 VARDESC driver.version.internal "Internal driver version"

+VARDESC device.part "Device Part Number"
+
 # FIXME: driver.parameter and driver.flag can have many possible
members
 #
 # VARDESC driver.parameter.[[:alpha:]]+ "Driver parameter: <name>"



Thanks & Regards,
Chetan Agarwal





More information about the Nut-upsdev mailing list