Hi, I have a Back-UPS 550 that I'd like to use to shut down two computers when the power goes out. I installed apcupsd 3.14.14 from http://www.apcupsd.org/ on the same Mac to which the Back-UPS is connected (via USB) and checked that /etc/apcupsd/apcupsd.conf is appropriately configured. The defaults seem sane:
UPSCABLE usbUPSTYPE usbDEVICELOCKFILE /var/tmpSCRIPTDIR /etc/apcupsdPWRFAILDIR /etc/apcupsdNOLOGINDIR /etcONBATTERYDELAY 6BATTERYLEVEL 5MINUTES 3TIMEOUT 0ANNOY 300ANNOYDELAY 60NOLOGON disableKILLDELAY 0NETSERVER onNISIP 0.0.0.0NISPORT 3551EVENTSFILE /var/log/apcupsd.eventsEVENTSFILEMAX 10
Yes, I gave the developer permission in System Preferences / Security & Privacy / General / Allow...
According to the docs, a simple kext is supposed to prevent Mac OS from finding the UPS and showing it under Energy Saver / UPS. However it still shows up under Shutdown Options as Back-UPS ES 550G FW:904.W1 .D USB FW:W1. I also checked, and though the kext is installed in /System/Library/Extensions/ApcupsdDummy.kext, kextstat doesn't show it as loaded. I also tried forcing it to load with sudo kextload. It still doesn't appear in kextstat -l. So I'm guessing there's a problem with the kext.
apcagent shows up in the status line with a red ?, shows UPS: <UNKNOWN>, and under status shows STATUS: COMMLOST.
Each reboot, an additional "Communications with UPS lost." appears under Events.
It seems that Mac OS is grabbing the USB connection to the Back-UPS, which prevents apcupsd from connecting to it.
Not sure if related, but Mac OS also warned that either apcupsd or apcagent would not be compatible with a future Mac OS version. They probably need to be built with a newer Xcode.
Any ideas? thanks
I recommend checking the APCUPSD mail list. http://www.apcupsd.org/wordpress/email-lists/
If needed you can request assistance there of others that are running Mac OSX 10.14 with APCUPSD.
Choose a location