[Plugin] NUT v2 - Network UPS Tools


dmacias

Recommended Posts

2 hours ago, Masterwishx said:

@SimonF is v2.8 test working OK , why you dont use it in plugin ?

im trying to add serial = XXXX  to /etc/nut/ups.conf , but after stop and start or reload its missing again ...

Its not fully tested. It was built to support SNMP required in the post. 

 

  • Like 1
Link to comment
1 hour ago, SimonF said:

Its not fully tested. It was built to support SNMP required in the post. 

 

OK, got it ,in my case v2.8 is working fine like v2.7 but only ' unknown 2000 ' ups.model and device.model like in v2.7. Hope to fix it with Authors...

sorry i dont have SNMP so cant test it :(

 

Edited by Masterwishx
Link to comment
2 minutes ago, Masterwishx said:

@SimonF

without -F :

image.thumb.png.884232623aaf479b68afe1786dce374a.png

 

if you can help with run from command line for debug , so i can send for Developers for debug to find why my device is unknown ...

and add it .then ...

ok looks like you need to run /usr/bin/usbhid-ups line with the -DDDDDD options. 

 

 

maybe -F is for 2.8.1 as it in the manual. https://networkupstools.org/docs/man/upsdrvctl.html but did not check the version.

Link to comment
1 minute ago, Masterwishx said:

 

Strange in my case its provided ....

Only footer uses it not the status part. I did a PR for the footer to the original plugin, but did not apply to status. Will look to change that also. Footer is showing the real value.

  • Thanks 1
Link to comment
14 hours ago, SimonF said:

Only footer uses it not the status part. I did a PR for the footer to the original plugin, but did not apply to status. Will look to change that also. Footer is showing the real value.

 

im a little confused , we have ups.power.nominal in my case 2000 ups.realpower.nominal 1600 .

ups.load =19% when 1600*.19=304 UPS Load=304w 

output.current 1.6*229=366.4w

also we have ups.realpower=253 ups.power=385

 

So what is more real power watts ?

Link to comment
On 4/29/2023 at 11:28 AM, Masterwishx said:

 

im a little confused , we have ups.power.nominal in my case 2000 ups.realpower.nominal 1600 .

ups.load =19% when 1600*.19=304 UPS Load=304w 

output.current 1.6*229=366.4w

also we have ups.realpower=253 ups.power=385

 

So what is more real power watts ?

I would say the real version supplied by the ups vendor as I guess must have a meter. other values will be subject to power factor also and loss within the system.

  • Like 1
Link to comment

@SimonF Also trying to find out about my device.model why its 'unknown 2000' so founded when typed in console : lsusb -vv

all info is exist product and serial number that missed in NUT Setting page ...

 

Spoiler

Bus 003 Device 002: ID 0463:ffff MGE UPS Systems UPS
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0463 MGE UPS Systems
  idProduct          0xffff UPS
  bcdDevice            2.02
  iManufacturer           1 EATON
  iProduct                2 Eaton 9E
  iSerial                 4 Gxxx myserial is here xxx6
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0022
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               20mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode           33 US
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength    1014
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              20
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered


 

Link to comment

I'm having an issue I'm hoping someone can point me in a direction to diagnose. I have a Tripp Lite SU2200RTXL2UA connected via USB to my Unraid server. It recognizes the UPS and appears to be working. The issue is that it is flipping between on battery and on line power frequently. The front panel of the UPS is indicating that its staying on line power even when the plugin is detecting the switch to battery.

 

My log is filling with these messages;

 

May 10 09:44:46 Unraid  upsmon[4878]: UPS [email protected] on line power
May 10 09:45:11 Unraid  upsmon[4878]: UPS [email protected] on battery
May 10 09:45:26 Unraid  upsmon[4878]: UPS [email protected] on line power
May 10 09:45:36 Unraid  upsmon[4878]: UPS [email protected] on battery
May 10 09:45:46 Unraid  upsmon[4878]: UPS [email protected] on line power
May 10 09:46:06 Unraid  upsmon[4878]: UPS [email protected] on battery
May 10 09:46:16 Unraid  upsmon[4878]: UPS [email protected] on line power
May 10 09:46:36 Unraid  upsmon[4878]: UPS [email protected] on battery
May 10 09:46:46 Unraid  upsmon[4878]: UPS [email protected] on line power
May 10 09:47:06 Unraid  upsmon[4878]: UPS [email protected] on battery

 

Any help on this is appreciated

Nut Configuration.jpg

Nut Details.jpg

Link to comment
13 minutes ago, BitDropper said:

I'm having an issue I'm hoping someone can point me in a direction to diagnose. I have a Tripp Lite SU2200RTXL2UA connected via USB to my Unraid server. It recognizes the UPS and appears to be working. The issue is that it is flipping between on battery and on line power frequently. The front panel of the UPS is indicating that its staying on line power even when the plugin is detecting the switch to battery.

 

My log is filling with these messages;

 

May 10 09:44:46 Unraid  upsmon[4878]: UPS [email protected] on line power
May 10 09:45:11 Unraid  upsmon[4878]: UPS [email protected] on battery
May 10 09:45:26 Unraid  upsmon[4878]: UPS [email protected] on line power
May 10 09:45:36 Unraid  upsmon[4878]: UPS [email protected] on battery
May 10 09:45:46 Unraid  upsmon[4878]: UPS [email protected] on line power
May 10 09:46:06 Unraid  upsmon[4878]: UPS [email protected] on battery
May 10 09:46:16 Unraid  upsmon[4878]: UPS [email protected] on line power
May 10 09:46:36 Unraid  upsmon[4878]: UPS [email protected] on battery
May 10 09:46:46 Unraid  upsmon[4878]: UPS [email protected] on line power
May 10 09:47:06 Unraid  upsmon[4878]: UPS [email protected] on battery

 

Any help on this is appreciated

Nut Configuration.jpg

Nut Details.jpg

Does same if use build-in APCUPSD ?

* Stop NUT first *

Link to comment
  • Rysz featured this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.