I wanted to wait a few days for my two HTR22-3U units to show up and I'd had a while to play with them before I responded to this. Thanks for the link.
I'm now pleased (and somewhat shocked) to report that I seem to have gotten lucky. While the other HTR models on the driver list have USB ports I can confirm that the HTR22-3U has only a serial port built in. After a few wrong tries the "tripplitesu" driver seems to work fine. It's on the driver list as "Tripp Lite ups 1 SmartOnline (tripplitesu)". All the relevant data seems to be reported correctly and the system recognizes when the UPS goes on and off battery.
Code:
battery.charge: 100
battery.temperature: 19
battery.voltage: 82.6
battery.voltage.nominal: 72
device.mfr: Tripp Lite
device.model: HTR22-3U
device.type: ups
driver.name: tripplitesu
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/cuau0
driver.version: 2.7.2
driver.version.internal: 0.03
input.frequency: 59.9
input.transfer.high: 138
input.transfer.low: 65
input.voltage: 127.9
input.voltage.nominal: 120
output.frequency: 59.9
output.voltage: 119.9
output.voltage.nominal: 120
ups.firmware: 00
ups.load: 0
ups.mfr: Tripp Lite
ups.model: HTR22-3U
ups.status: OL
ups.test.result: No test performed
And /var/log/ups.log is populated with relevant information:
Code:
20150602 234418 100 127.9 0 [OL] NA 59.9
20150602 234918 100 127.9 0 [OL] NA 59.9
20150602 235418 100 127.1 0 [OL] NA 60.0
20150602 235918 100 127.1 0 [OL] NA 59.9
20150603 000418 100 127.1 0 [OL] NA 59.9
20150603 000918 100 127.9 0 [OL] NA 59.9
20150603 001418 100 127.9 0 [OL] NA 59.9
20150603 001918 100 127.9 0 [OL] NA 60.0
20150603 002418 100 127.9 0 [OL] NA 60.0
20150603 002918 100 127.1 0 [OL] NA 60.1
20150603 003418 100 126.3 0 [OL] NA 59.9
20150603 003918 100 127.1 0 [OL] NA 60.0
20150603 004418 100 127.1 0 [OL] NA 60.0
20150603 004918 100 127.1 0 [OL] NA 59.8
20150603 005418 100 127.9 0 [OL] NA 60.0
Although since there's no data in that second to last field where it says "NA" I can't figure out what it's supposed to be showing, and I can't find any examples or documentation online to explain the file format. So I don't know if I should be worried about that remaining "NA" or not.