apcupsd

Install command:
brew install apcupsd

Daemon for controlling APC UPSes

http://www.apcupsd.org

License: GPL-2.0-only

Formula JSON API: /api/formula/apcupsd.json

Bottle JSON API: /api/bottle/apcupsd.json

Formula code: apcupsd.rb on GitHub

Bottle (binary package) installation support provided for:

Intel monterey
big sur
catalina
mojave
64-bit linux
Apple Silicon monterey
big sur

Current versions:

stable 3.14.14

Depends on:

gd 2.3.3 Graphics library to dynamically manipulate images
libusb-compat 0.1.5 Library for USB device access
For apcupsd to be able to communicate with UPSes connected via USB,
the kernel extension must be installed by the root user:

    sudo cp -pR $(brew --prefix)/Cellar/apcupsd/3.14.14/Library/Extensions/ApcupsdDummy.kext /System/Library/Extensions/
    sudo chown -R root:wheel /System/Library/Extensions/ApcupsdDummy.kext
    sudo touch /System/Library/Extensions/

    Note: On OS X El Capitan and above, the kernel extension currently
    does not work as expected.

    You will have to unplug and plug the USB cable back in after each
    reboot in order for apcupsd to be able to connect to the UPS.

To load apcupsd at startup, activate the included Launch Daemon:

    sudo cp $(brew --prefix)/Cellar/apcupsd/3.14.14/lib/Library/LaunchDaemons/org.apcupsd.apcupsd.plist /Library/LaunchDaemons
    sudo chmod 644 /Library/LaunchDaemons/org.apcupsd.apcupsd.plist
    sudo launchctl load -w /Library/LaunchDaemons/org.apcupsd.apcupsd.plist

If this is an upgrade and you already have the Launch Daemon loaded, you
have to unload the Launch Daemon before reinstalling it:

    sudo launchctl unload -w /Library/LaunchDaemons/org.apcupsd.apcupsd.plist
    sudo rm /Library/LaunchDaemons/org.apcupsd.apcupsd.plist

Analytics (macOS):

Installs (30 days)
apcupsd 46
Installs on Request (30 days)
apcupsd 46
Build Errors (30 days)
apcupsd 0
Installs (90 days)
apcupsd 137
Installs on Request (90 days)
apcupsd 137
Installs (365 days)
apcupsd 478
Installs on Request (365 days)
apcupsd 478

Analytics (Linux):

Installs (30 days)
apcupsd 0
Installs on Request (30 days)
apcupsd 0
Build Errors (30 days)
apcupsd 0
Installs (90 days)
apcupsd 0
Installs on Request (90 days)
apcupsd 0
Installs (365 days)
apcupsd 3
Installs on Request (365 days)
apcupsd 3
Fork me on GitHub