|
| 1 | +APCMICROLINK(8) |
| 2 | +=============== |
| 3 | + |
| 4 | +NAME |
| 5 | +---- |
| 6 | + |
| 7 | +apcmicrolink - Driver for APC Smart-UPS units using the Microlink serial protocol |
| 8 | + |
| 9 | +SYNOPSIS |
| 10 | +-------- |
| 11 | + |
| 12 | +*apcmicrolink* -h |
| 13 | + |
| 14 | +*apcmicrolink* -a 'UPS_NAME' ['OPTIONS'] |
| 15 | + |
| 16 | +NOTE: This man page documents the hardware-specific features of the |
| 17 | +*apcmicrolink* driver. For general information about NUT drivers, see |
| 18 | +linkman:nutupsdrv[8]. |
| 19 | + |
| 20 | + |
| 21 | +DESCRIPTION |
| 22 | +----------- |
| 23 | + |
| 24 | +The *apcmicrolink* driver talks the APC Microlink protocol used by newer |
| 25 | +serial-connected Smart-UPS families such as SMT and SMX units with the |
| 26 | +Microlink RJ45 serial port. |
| 27 | + |
| 28 | +This driver is currently experimental. It discovers most values from the |
| 29 | +device descriptor blob at runtime and maps supported Microlink objects onto |
| 30 | +standard NUT variables where possible. Unknown descriptor fields can also be |
| 31 | +published for debugging and reverse-engineering. |
| 32 | + |
| 33 | + |
| 34 | +SUPPORTED HARDWARE |
| 35 | +------------------ |
| 36 | + |
| 37 | +This driver is intended for APC Smart-UPS models that expose the Microlink |
| 38 | +serial protocol, notably SMT and SMX units with the vendor Microlink serial |
| 39 | +cable. |
| 40 | + |
| 41 | +Tested support currently targets: |
| 42 | + |
| 43 | +* APC Smart-UPS SMT/SMX Microlink models |
| 44 | + |
| 45 | +Other APC Microlink devices may work if they expose a compatible descriptor |
| 46 | +layout. |
| 47 | + |
| 48 | + |
| 49 | +CONFIGURATION |
| 50 | +------------- |
| 51 | + |
| 52 | +The driver is configured via linkman:ups.conf[5]. |
| 53 | + |
| 54 | +A minimal configuration: |
| 55 | + |
| 56 | +---- |
| 57 | +[apc-microlink] |
| 58 | + driver = apcmicrolink |
| 59 | + port = /dev/ttyUSB0 |
| 60 | +---- |
| 61 | + |
| 62 | +Optional settings |
| 63 | +~~~~~~~~~~~~~~~~~ |
| 64 | + |
| 65 | +*baudrate*='num':: |
| 66 | +Set the serial line speed. The default is `9600`. |
| 67 | + |
| 68 | +*showinternals*='yes|no':: |
| 69 | +Publish additional internal Microlink runtime values. By default this follows |
| 70 | +the driver debug level and is enabled automatically when debug logging is on. |
| 71 | + |
| 72 | +*showunmapped*='yes|no':: |
| 73 | +Publish descriptor values that do not currently map to a standard NUT variable. |
| 74 | +By default this follows the driver debug level and is enabled automatically |
| 75 | +when debug logging is on. |
| 76 | + |
| 77 | + |
| 78 | +IMPLEMENTED FEATURES |
| 79 | +-------------------- |
| 80 | + |
| 81 | +The driver publishes standard identity, status, runtime and outlet-group data |
| 82 | +when these objects are present in the Microlink descriptor. |
| 83 | + |
| 84 | +Writable descriptor-backed variables are exposed as read-write NUT variables |
| 85 | +when the device reports them as modifiable. Depending on the connected model, |
| 86 | +this can include values such as: |
| 87 | + |
| 88 | +* `ups.id` |
| 89 | +* `battery.testinterval` |
| 90 | +* `outlet.group.N.oncountdown` |
| 91 | +* `outlet.group.N.offcountdown` |
| 92 | +* `outlet.group.N.stayoffcountdown` |
| 93 | +* `outlet.group.N.minimumreturnruntime` |
| 94 | +* `outlet.group.N.lowruntimewarning` |
| 95 | + |
| 96 | +Supported instant commands currently include: |
| 97 | + |
| 98 | +* `test.battery.start` |
| 99 | +* `test.battery.stop` |
| 100 | +* `test.panel.start` |
| 101 | +* `test.panel.stop` |
| 102 | + |
| 103 | +Driver-assisted shutdown is not yet implemented. |
| 104 | + |
| 105 | + |
| 106 | +CABLING |
| 107 | +------- |
| 108 | + |
| 109 | +Use the APC Microlink serial cable appropriate for the UPS. USB-to-serial |
| 110 | +adapters can work if they present a standard TTY device to the operating |
| 111 | +system. |
| 112 | + |
| 113 | + |
| 114 | +AUTHORS |
| 115 | +------- |
| 116 | + |
| 117 | +* Lukas Schmid <lukas.schmid@netcube.li> |
| 118 | + |
| 119 | + |
| 120 | +SEE ALSO |
| 121 | +-------- |
| 122 | + |
| 123 | +The core driver |
| 124 | +~~~~~~~~~~~~~~~ |
| 125 | + |
| 126 | +linkman:nutupsdrv[8], linkman:ups.conf[5] |
| 127 | + |
| 128 | +Internet resources |
| 129 | +~~~~~~~~~~~~~~~~~~ |
| 130 | + |
| 131 | +The NUT (Network UPS Tools) home page: https://www.networkupstools.org/ |
0 commit comments