Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] NUT v2 - Network UPS Tools

Featured Replies

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

  • Replies 2.1k
  • Views 457.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I am stopping updates for my version of the plugin. Update to the latest version 2023.09.17 and then you can remove my version and install Rysz's from CA and it will retain your configs.   T

  • Released 2023.07.26, @ich777 is creating a new package for me to use, and I want to look to move to 2.8 as the default version but will need to check upgrade path works ok.

  • That APC BX series is known to suffer from this (what we believe to be) firmware issue and we've put patches in place to suppress this unwanted behaviour on the UPS side. Here's how you can set it up:

Posted Images

Has the current version of the NUT docker been updated for compatibility with the RC builds for unRAID?

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. 

 

50 minutes ago, wgstarks said:

Has the current version of the NUT docker been updated for compatibility with the RC builds for unRAID?

Yes NUT works on 6.12, that was the main reason for me creating my version.

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

On 4/25/2023 at 9:07 AM, SimonF said:

You can edit the rc.nut in /etc/rc.d/ or if you need to run from a command line /usr/sbin/upsdrvctl -DDDDDD -F start

 

-F not working :

image.png.804706d611a1f42b96e48c811b4d21eb.png

 

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

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.

7 minutes ago, SimonF said:

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

 

image.thumb.png.e49a25680ddfa1c0a822a5b0f4d366c1.png

 

@SimonF is it OK that i have in NUT Setting : that is Right

image.thumb.png.5f044d312107f2fadf49eece420c9763.png

 

but in bottom page footer NOT same value ?!?

image.png.63f1e6c91ca9bcc2953ce40eb98d9bf1.png

 

13 minutes ago, Masterwishx said:

@SimonF is it OK that i have in NUT Setting : that is Right

image.thumb.png.5f044d312107f2fadf49eece420c9763.png

 

but in bottom page footer NOT same value ?!?

image.png.63f1e6c91ca9bcc2953ce40eb98d9bf1.png

 

They should match. Can you supply the display settings bit?

 

image.png

Sure :

 

image.thumb.png.e9d117a21b70f85e976d46b8c489b8fa.png

 

image.thumb.png.2e3baea291a1d704b1e107667012a20b.png

22 hours ago, Masterwishx said:

Sure :

 

image.thumb.png.e9d117a21b70f85e976d46b8c489b8fa.png

 

image.thumb.png.2e3baea291a1d704b1e107667012a20b.png

 

I am not sure why the footer is using realpower value rather than realpower.nominal but will need to look into it futher. If the ups does not provide realpower then the output is different.

1 hour ago, SimonF said:

If the ups does not provide realpower then the output is different.

 

Strange in my case its provided ....

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.

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 ?

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.

@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


 

@SimonF will the 2.8 be pushed in CA?

 

Thanks for the 6.12 upgrade :)

Edited by dada051

7 hours ago, dada051 said:

@SimonF will the 2.8 be pushed in CA?

 

Thanks for the 6.12 upgrade :)

Not at present as it has not been tested fully. Was created for a specific requirement for snmp support

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

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 *

APCUPSD doesn't connect. It stays in a state of "Lost Communication". When I ran into that issue I gave NUT a try and it detected and appeared to work fine with my UPS until I discovered this issue.

4 hours ago, BitDropper said:

APCUPSD doesn't connect. It stays in a state of "Lost Communication". When I ran into that issue I gave NUT a try and it detected and appeared to work fine with my UPS until I discovered this issue.

 

Map be try Tripplite_usb driver and ref. the help doc.

 

https://networkupstools.org/docs/man/tripplite.html

 

 image.png.b3239212b99d871b9ad5894f9b003854.png

On 5/3/2023 at 1:37 PM, SimonF said:

Not at present as it has not been tested fully. Was created for a specific requirement for snmp support

Hi @SimonF,

 

I've been using 2.8 with SNMP and USB drivers since you accepted the pull request without any issues.

 

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.