Pour aide mémoire voici ma config onduleur sur port série.
Mon onduleur est en port série, le choix du câble.
Simple Signaling Features Supported by Apcupsd for Various Cables
The following table shows the features supported by the current version of Apcupsd (3.8.2 or later) for various cables running the UPS in Simple Signaling mode.
Cable | Power Loss | Low Battery | Kill Power | Cable Disconnected |
940-0020B |
Yes |
No |
Yes |
No |
940-0020C |
Yes |
Yes |
Yes |
No |
940-0023A |
Yes |
No |
No |
No |
940-0119A |
Yes |
Yes |
Yes |
No |
940-0095A/B/C |
Yes |
No |
Yes |
No |
simple |
Yes |
Yes |
Yes |
No |
j'ai fait ce câble :
940-0020C Cable Wiring
This diagram is for informational purposes and may not be complete, we don't recommend that use it to build you build one yourself. This cable can only be used on simple signaling UPSes, and provides the On Battery signal, the Low Battery signal as well as kill UPS power. In apcupsd versions 3.8.2 and prior, please set your UPSCABLE to 940-0020B. In version 3.8.3 and later, you may specify the cable as 940-0020C. Please note that this diagram may not be accurate.
APC Part# - 940-0020C
Signal Computer UPS
DB9F DB9M
CTS 8 -------------------- 2 On Battery
DTR 4 -------------------- 1 Kill power
GND 5 ---------------*---- 4 Ground
|
*---- 9 Common
RTS 7 -----[ 93.5K ohm ]----- 5 Low Battery
or semi-conductor
Configuration de NUT, le choix du Type ?
Voir ceci : http://www.networkupstools.org/compat/stable.html
Chez moi :
Back-UPS
940-0020B/C cables genericups upstype=2
Ma config de nut :
Saisir les commandes suivantes :
config setprop nut Model genericups
config setprop nut Device /dev/ttyS0
config setprop nut Type 2
config setprop nut status enabled
Vérification :
[root@www ~]# config show nut
nut=service
Device=/dev/ttyS0
MasterPass=***********
Model=genericups
Type=2
status=enabled
Appliquer les modifs :
signal-event post-upgrade
signal-event reboot
Vérification de la communication :
upsc UPS@localhost
Les liens qui vont bien :
http://wiki.contribs.org/SME_Server:Documentation:Technical_Manual:Chapter4#Configuration_Options
http://doc.gnu-darwin.org/apcupsd/cables.html