• apcupsd COMMLOST using pcnet

    Moved
    6
    0 Votes
    6 Posts
    2k Views
    C

    @DominikHoffmann
    Actually, the key is to read config documentation of the NMC. As mentioned above, in your NMC web gui you need to go to Configuration>Shutdown and select which user will be used on pfsense to establish connectivity. Then, you need to setup the passphrase, which is different from the password you set for that particular user in NMC. Make sure the passphrase is at least 15 characters long as mentioned in config doc. Then you go back to APCUPSD in pfsense and select pcnet driver and then under device ipadd:(user selected in above step):(auth passphrase chosen in above step) You don't have to specify default port unless you have changed that.
    BTW, this worked on APC NMC2 card with firmware 07.1(ID17). This is the one labeled with SchneiderElectric instead of APC and mine is from 2016/2015.
    Good Luck

  • Would ignorelb work on socomec double on-line conversion UPS

    15
    0 Votes
    15 Posts
    2k Views
    dennypageD

    @chewie said in Would ignorelb work on socomec double on-line conversion UPS:

    @dennypage I apologize, this is what i did...

    upsrw -s ups.delay.shutdown =120

    and immediately the delay shutdown was set to 120 without me restarting nut with the circular arrow on the top right corner of pfsense. But the moment i hit that arrow the delay shutdown goes back to its original value of 30. Rebooting pfsense would still show the value at 30.

    Apologies for the delay, I've been busy/offline.

    So I expect what is happening is that the NUT driver is resetting the shutdown delay on start, even though you have not specified a value. Lots of little quirks like this in NUT drivers.

    So yes, I would recommend setting the offdelay parameter in the Extra Arguments to driver section. You can confirm that it is correctly setting the value in the UPS by using the upsrw command to read from the UPS after restarting NUT.

  • Just to inform that APC model Back-UPS BX 1500BI-BR works perfectly

    2
    2 Votes
    2 Posts
    462 Views
    M

    Just to add that I was able to set the following settings in this APC, by:

    Extra Arguments to driver (optional):

    offdelay=60 ondelay=180 waitbeforereconnect=30

    Note: waitbeforereconnect=30 is important since the driver sometimes loses connectivity with NUT.

    Additional configuration lines for ups.conf

    maxretry=3 retrydelay=10

    Shell:

    Check the admin password: (You don't need to set an admin user in upsd.users file), the password changes, so you need to check every time you are going to make a change.

    cat /usr/local/etc/nut/upsd.users

    Checking defaults:

    upsrw -l ups

    Changing values:

    upsrw -s battery.charge.low ups Username (root): admin Password: Enter new value for battery.charge.low: 50 OK upsrw -s battery.runtime.low ups Username (root): admin Password: Enter new value for battery.runtime.low: 1500 OK

    If you receive the following error after boot, with or without user=root in ups.conf :
    UPS [ups]: connect failed: Connection failure: Connection refused

    Then, install shellcmd and use the following script as shellcmd:

    #!/bin/sh sleep 60 /usr/local/sbin/pfSsh.php playback svc stop nut sleep 20 /usr/local/sbin/pfSsh.php playback svc start nut sleep 5 exit 1 done
  • Configuring NUT help?

    4
    0 Votes
    4 Posts
    656 Views
    dennypageD

    @beardedguy You are welcome.

  • PFSense + NUT + Old tripplite UPS issue

    10
    0 Votes
    10 Posts
    2k Views
    dennypageD

    @stompro Fair enough. I'm actually the pfSense NUT maintainer, but I do understand your caution. If you want to wait for official builds that's totally understandable.

    Regarding the size, yes, the executable I posted has debug symbols, whereas the production one does not. Unfortunately the standard development tools are not present on pfSense so you cannot run the strip and size commands.

    Screenshot 2024-07-10 at 09.46.53.png

    FWIW, the sha256sum on the executable as posted is

    d4e4563ca03ed92ef780c0799cd1e29c3d53638d738fb74e47b196c8540d44cf

    If you want to build it yourself, you will need to set up a FreeBSD 14 system and then install the FreeBSD ports package to do the build from.

  • Your UPS advise

    31
    0 Votes
    31 Posts
    4k Views
    w0wW

    @MaxK-0

    You may be right, but I've seen many examples of how Li-ion and LiFePO4 batteries catch fire. This can happen despite all the protection classes. The fire protection class is just the time before the fire starts to spread; it doesn't mean they don't burn at all. Yes, maybe 99.9% of them are safe... I don't know, it's just my personal paranoia.

    As for lead acid batteries, I don't know what you have to do to set them on fire. I've only seen cases online involving hydrogen emission and subsequent explosion, more like a pop, that blew the lid off. But these were car batteries with open caps for topping up, and there was always an ignition source nearby when it happened. I've never heard of regular UPS sealed batteries catching fire or exploding. They can crack and melt, but not burn. That's why no one takes such safety measures as it usually takes for Li-ion chemistry. Of course, I'm not talking about cases where fires occur due to related factors, such as charger fires and the like.

    I am also speaking solely for myself, I am not a fan of any particular company, can't say that everything is perfect with any specific one... Our world is imperfect, unfortunately.

  • pfSense - Nut - Synology - looking for help.

    5
    0 Votes
    5 Posts
    922 Views
    B

    @dennypage Thanks for the reply and associated info. Working on assimilating it. Help much appreciated.

  • SNMP UPS question

    Moved
    12
    0 Votes
    12 Posts
    2k Views
    dennypageD

    @Laxarus said in SNMP UPS question:

    My NUT clients are not configured to send commands to UPS to shut it down. I configure the UPS shutdown sequence in the UPS config itself and it is shutting its outputs and at last itself in the correct order.

    I am curious though, why would you want to send a shutdown command to UPS itself from the clients? Does it not have a proper configuration to manage that?

    "Client" is ambiguous. Did you mean NUT client, or UPS (SNMP) client? Only one SNMP entity should be configured to instruct the UPS to shut down. The other hosts would be set up as NUT clients of the main NUT server.

    As to why you would want to send a shutdown command, this is because most UPSs do not actually shut down on their own, and NUT is dependent upon the power actually being cut.

    I haven't tested NMC3 behavior in that regard, so I cannot make a dfinitive statement.

  • Notification: UPS ups battery is low

    Moved
    7
    0 Votes
    7 Posts
    2k Views
    F

    @dennypage Thank you for your help

  • NUT dashboard widget

    43
    0 Votes
    43 Posts
    7k Views
    F

    @dennypage Thanks for checking. I appreciate all the support you have given. Look forward to the new and improved NUT.

  • 1 Votes
    8 Posts
    4k Views
    dennypageD

    @diegus83 Strange that it would show up in upsrw, but not allow change. Is it SNMP perhaps?

  • wake-on-lan

    10
    0 Votes
    10 Posts
    1k Views
    dennypageD

    @chipbreak said in wake-on-lan:

    I believe the easiest way to code this would be to send a wake on lan signal every 5mins if the ups is sending a charging signal.

    Start with this command:

    upsc myups ups.status

    "OL" (On Line) would be the status on mains, but they are others that will appear, and are separated by comma. Important ones would be "OB" (On Battery), "LB" (Low Battery), "FSD" (Forced Shut Down).

  • Communication issues with TrippLiteSU1000RTXLCD2U

    3
    1 Votes
    3 Posts
    794 Views
    dennypageD

    @serengeti said in Communication issues with TrippLiteSU1000RTXLCD2U:

    I think its safe to assume that the Dell R210 has one USB chipset

    FWIW, you can check this with "usbconfig -v"

    @serengeti said in Communication issues with TrippLiteSU1000RTXLCD2U:

    It might help if these notifications were more verbose about the cause of the problem?

    The usbhid driver isn't crashing. If it were, it would not recover. To try to get more information about why the disconnect happens, you can run the driver in debug mode. See Running NUT drivers with debugging for information.

  • QNAP recognizing NUT

    16
    0 Votes
    16 Posts
    3k Views
    F

    @dennypage Many thanks. I appreciate your knowledge and patience. I now only have NUT running on pfSense. It would be nice if pfSense made a nice-looking widget for NUT, but that's a discussion for another time. Again, thanks for the education.

  • 24.03 and Eaton Ellipse Eco 650

    12
    0 Votes
    12 Posts
    2k Views
    D

    @dennypage said in 24.03 and Eaton Ellipse Eco 650:

    Reboot the firewall.
    Add "pollonly" to the "Extra Arguments to driver" section.
    Add "user=root" to the "Extra Arguments to driver" section.

    Thank you for looking at this. No joy on any of those 3 options, so I will wait patiently for the updated package to materialise.

  • Communications lost, communications established

    7
    0 Votes
    7 Posts
    1k Views
  • Netgate 1100 with 24.03-RC and APC Smart-UPS 1000

    16
    0 Votes
    16 Posts
    2k Views
    dennypageD

    @pfsjap said in Netgate 1100 with 24.03-RC and APC Smart-UPS 1000:

    Since I didn't add the quirk, it did come with nut package, right?

    Quirks in FreeBSD are part of the kernel itself. NUT distributes a bunch of quirks, but they are not used in FreeBSD.

    I'm glad that it works following reboot. However, this leaves me without any way to explain why it didn't work originally. šŸ˜•

  • APC UPS Widget Considerations

    2
    0 Votes
    2 Posts
    584 Views
    J

    @Unoptanio

    For the "Out Voltage" to display a value the UPS must return the value "OUTPUTV" - you will notice that your status, like mine, does not return this value when the device is queried.

    Simply it can not display data it does not have available - so you get "N/A"

  • Ts Shara UPS Xpro Senoidal 2000 Universal 2BS 9AH

    5
    0 Votes
    5 Posts
    1k Views
    dennypageD

    @mcury said in Ts Shara UPS Xpro Senoidal 2000 Universal 2BS 9AH:

    Tried local USB and local serial, both are able to connect to the UPS..
    Q1 is not answered, or gets shorts reply.
    Same goes for QGS, QS, HW, WH, and all other questions NUT does to the UPS.

    Did you try usbhid-ups? This should always be the first driver to try with a USB based UPS. If you haven't already:

    In Services / UPS / Settings, change the UPS Type to "Disabled" and save. Disconnect the USB cable. Wait a few seconds Reconnect the USB cable. In Services / UPS / Settings, change the UPS Type to "Local USB", and the Driver to "usbhid" and save.

    Going back to qx, if Q1 is not answered then qx isn't the right driver. However... the qx UPSs can have protocol state problems. You have to disconnect/reconnect the USB cable when you change the driver, subdriver or protocol.

    If it actually is a qx UPS, I would recommend starting with this:

    subdriver = "phoenix"

    See this topic for an extensive exploration of qx.

    If you post debug output, I might be able to help more.

  • 2.8.2_1 blazer_usb, nutdrv_qx

    63
    0 Votes
    63 Posts
    14k Views
    dennypageD

    @dennypage said in NUT Package (2.8.1 and above):

    @LanterIT NUT issue #2325.

    The fix for accessing battery_voltage_reports_one_pack has been merged, and I expect it to be included in nut-devel snapshot.

    I was hoping that the flag would simply be deleted, but the NUT maintainer seemed resistant to that. You will need to maintain the flag in your Extra Augments to driver section.

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.