Wednesday, 10 October 2012

APC UPS Serial Port Setup

Setup Serial Port
I use Ubuntu 12.04 LTS 64bit and install apcupsd using the command:-
sudo apt-get install apcupsd 

I edited the file /etc/default/apcupsd and changed the entry  

I found out the USB dongle serial port used by issuing the command dmesg | grep ttyUSB in my case it was /dev/ttyUSB2. This was added to the config file  /etc/apcupsd/apcupsd.conf file

DEVICE /dev/ttyUSB2 
UPSTYPE apcsmart

I then issued the command sudo apctest this allowed me to run a battery calibration test.

No comments:

Post a Comment

CNC 6040 Spindle Control

Note: This is only an on - off control there is no speed control due to limitations on the CNC control box , you set the speed using the pot...