Apcupsd Not communicatiing

I hope its ok that I posted this in networking… kind of could be a hardware thing.

(note, I tried using NUT but I couldn’t figure out how to get it to work)
I’m trying to use apcupsd which I installed using PakFire. The service runs but I don’t think it ever establishes connection.

The log file is filled with:

“Communications with UPS lost”

I did find a command lsusb (I think) that listed everything connected to a USB port and I did see my APC SmartUPS. So, can anyone tell me what could be wrong"?

Thank you!

You need to modify /etc/apcupsd/apcupsd.conf file to get connection working between UPS and Apcupsd.

2 Likes

Hi Scott @starone ,

What is your UPS make and model? is it USB or ethernet?

can you post some screenshot of your APCUPSD addon ?

and copy paste your /etc/apcupsd/apcupsd.conf file

@jon 's post helped me a little while ago:

Sorry for the late reply…

I have a APC Back-UPS Pro 1500 S

What is the addon? Is that the webpage that gets added to the ipfire portal?

Here are the contents that are uncommented

UPSCABLE smart
UPSTYPE apcsmart
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDEL:AY 60
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events

There are also a few lines about stats…but that is all that is uncommented.

Should be
UPSCABLE usb
UPSTYPE usb

UPSNAME apcsmart

I have NIS enabled
So my server can use the APC .

1 Like

So comment out the “DEVICE” tag? Or leave it uncommented without anything?

Silly me…I thought “smart” meant “autodetect”:. I switched to usb as suggested and it connected.

Thanks all!

1 Like

DEVICE should be left uncommented and blank. This then means it will autodetect the device info it needs.

1 Like