How to install Legrand UPS Communicator on Linux
This tutorial shows the steps to install Legrand communication software to monitor a directly connected UPS, for example with a USB cable. This software allows you to manage the server and possibly others with the RS module It will be installed in /usr/legrand/upscomm/.
Preliminary notes
This is a 32bits software. To install it on a 64bits server, you have to add the i386 architecture to your system:
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
Downloading
To download the software, use the following command:
wget http://ups.legrand.com/wp-content/uploads/2012/03/upscomm_linux.zip
Extract the files:
unzip ./upscomm_linux.zip tar zxf ./upscomm_1.21.tar.gz
Install UPS Communicator Sever
cd ./upscomm_inst
Then execute the script :
./install
Choose your language and press the space bar to view the license and Y to accept it.
Press Y again to learn more about the modules to install and choose UPS Server (to be installed on the server that is connected to the UPS by a USB cable) You don't need to install RS System. Answer Y when you are asked to configure the UPS Server Now. It can be configured at any time with the command:
/usr/legrand/upscomm/bin/upscfg
Configure UPS Communicator Sever
When you configure the UPS Server module for the first time, the screen is as follows:
Then hit Enter and choose your UPS System, the communication port (/dev/ttyUSB0 for USB port 0) and a password to protect the configuration.
Go to Events configuration and choose what to do.