UPS monitoring script for the cheap APC UPS I bought. I made the mistake of buying things thinking it would talk like any other APC. I was wrong. The cheapness of this device made up for that fact however. Reading the /dev/uhid0 file handle for this device was not too hard. Device: USB based APC Battery Backup 500 VA (ES series), aka BE500U

% sudo usbdevs Password: addr 1: UHCI root hub, Intel addr 2: Back-UPS ES 500 FW:2.e2.D USB FW:e2, APC

[permalink] · Source Code ·