Configuring pfSense with APC UPS signalling
Posted by Jared Thomas, Last modified by Jared Thomas on 16 January 2017 04:48 PM

To program a pfSense to receive signalling from an APC battery backup over USB, follow these steps:

  1. Connect UPS to pfSense via USB cable
  2. Install Apcupsd in System - Package Manager - Available Packages
  3. Configure Apcupsd
    1. Go to Services - Apcupsd
    2. Tick enable
    3. Give an arbitrary name for UPS name
    4. For UPS Cable, put in "usb"
    5. For UPS Type, put in "usb"
    6. For Device, leave blank
    7. Configuration parameters can all be left at default or adjusted as needed
    8. Set Net Server to On
    9. Set NIS IP to
    10. Click Save at the bottom
  4. Confirm that Apcupsd is working by clicking on the Status tab under Services - Apcupsd. In particular, the TIMELEFT field is most interesting as it shows what the UPS estimates to be available runtime given existing load.

(3 vote(s))
Not helpful

Comments (3)
Kelvin D. Olson
04 March 2017 08:10 PM
Any thoughts on this? Status page says...

Running: apcaccess -h

: Bogus configuration value (*invalid-cable*)
FATAL ERROR in apcconfig.c at line 672
Terminating due to configuration file errors.
Kelvin D Olson
04 March 2017 08:24 PM
Please belay my earlier comment. In one spot where I was supposed to type "usb" I typed "ups".

Well "ups" is not a sensible name for a sort of cable, clearly. Now I'm getting a sensible status page. Thanks for the info. Spot on.
14 May 2017 09:43 AM
"5. For UPS Type, put in "usb"
Works for me. Thx !
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).