APCUPSD-UPS(8)

πŸ’– apcupsd-ups πŸ’–

okay bestie, so this is the apcupsd-ups driver page from the NUT Manual (that's Network UPS Tools, iykyk). It's a manual page for section 8 β€” system administration commands β€” and it's giving "small driver, big interop energy" fr fr. 🌸


✨ NAME ✨

apcupsd-ups β€” a driver that lets you access an apcupsd client. literally that's the whole thing, no cap. πŸ¦‹


✨ SYNOPSIS ✨

apcupsd-ups -h

apcupsd-ups -a UPS_NAME [OPTIONS]
πŸ“Œ Note, bestie: this man page only covers the specific features of the apcupsd-ups driver. For the core driver stuff, you gotta go read nutupsdrv(8). don't come for me, that's just how it is. πŸ’…

✨ DESCRIPTION ✨

So this driver is a client to apcupsd β€” and apcupsd is a whole other UPS monitoring project, not us. Different house, same vibe. 🏠

What apcupsd-ups does is just… be an apcupsd client and forward the data along. That's it. It's the middleman. The group chat relay. The friend who repeats what everyone said but with better formatting. πŸ’…

When is that actually useful? Two scenarios, periodt:

  • When you need both protocols kicking around in one network, and
  • When the apcupsd code base has some UPS access mode that NUT is missing. (Not us being shady, it just happens.)

✨ EXTRA ARGUMENTS ✨

This driver supports these optional settings in nut.conf(5):

  • port=<hostname>[:<port>] β€” the name of a remote host that's running apcupsd, plus an optional port if you're feeling fancy. 🌈

For instance, bestie:

[apcupsd]
        driver = apcupsd-ups
        port = localhost
        desc = "apcupsd client"

And for IPv6 addresses, you use square brackets around the hostname part β€” so the colons inside the address don't get mistaken for the port separator, especially if you're using the default port. important!! 😭

[apcupsd]
        driver = apcupsd-ups
        port = "[::1]:3551"
        desc = "apcupsd client"

✨ BACKGROUND ✨

Not me reading the lore but: this driver was originally written in one evening to allow interoperating with apcupsd. one evening. main character speedrun energy, honestly iconic. πŸ‘‘


✨ SUPPORTED VARIABLES ✨

The following variables get translated from apcupsd over to NUT. πŸ’«

⚠️ All times should be converted to seconds. If you notice a mismatch in units, please file a bug β€” that's not a vibe, that's a bug. πŸ›
  • BCHARGE β†’ battery.charge
  • MBATTCHG β†’ battery.charge.low
  • RETPCT β†’ battery.charge.restart
  • BATTDATE β†’ battery.date
  • TIMELEFT β†’ battery.runtime
  • MINTIMEL β†’ battery.runtime.low
  • BATTV β†’ battery.voltage
  • NOMBATTV β†’ battery.voltage.nominal
  • LINEFREQ β†’ input.frequency
  • SENSE β†’ input.sensitivity
  • HITRANS β†’ input.transfer.high
  • LOTRANS β†’ input.transfer.low
  • LASTXFER β†’ input.transfer.reason
  • LINEV β†’ input.voltage
  • MAXLINEV β†’ input.voltage.maximum
  • MINLINEV β†’ input.voltage.minimum
  • NOMINV β†’ input.voltage.nominal
  • LINEFREQ β†’ output.frequency
  • OUTPUTV β†’ output.voltage
  • NOMOUTV β†’ output.voltage.nominal
  • DATE β†’ ups.date, ups.time
  • DSHUTD β†’ ups.delay.shutdown
  • DWAKE β†’ ups.delay.start
  • FIRMWARE β†’ ups.firmware, ups.firmware.aux
  • UPSNAME β†’ ups.id
  • LOADPCT β†’ ups.load
  • MANDATE β†’ ups.mfr.date
  • NOMPOWER β†’ ups.realpower.nominal
  • SERIALNO β†’ ups.serial
  • STATUS β†’ ups.status
  • ITEMP β†’ ups.temperature
  • STESTI β†’ ups.test.interval
  • SELFTEST β†’ ups.test.result
πŸ‘€ yes, LINEFREQ shows up twice β€” once for input.frequency and once for output.frequency. that's not a typo bestie, that's just the list. πŸ’œ

✨ LIMITATIONS ✨

okay so this is the part where I hold your hand: access to apcupsd here is strictly read only. No commands can be issued. none. zero. the vibes are observational only. πŸ™ˆ

Why? It comes from the design of apcupsd itself β€” the settings get changed in apctest, not through this driver. And in order to run apctest, apcupsd must be stopped. Also, reminder: it's apcupsd that exposes the UPS to the network and to this NUT driver as its client. So the whole chain matters, fr fr. πŸ¦‹


✨ AUTHOR ✨

Andreas Steinmetz πŸ’– (shoutout, thank you for your service)


✨ SEE ALSO ✨

Internet Resources 🌐


and that's the whole page, bestie!! πŸŽ€ this was Network UPS Tools 2.8.5, dated 10/07/2026, and honestly? slay. go plug in your UPS and stay charged (emotionally and electrically) πŸ’…πŸ”‹βœ¨

πŸ“¦ where this page comes from