[Nut-upsdev] [PATCH] Add OptiUPS VS 575C support to PowerCom

Florian Bruhin me at the-compiler.org
Tue Nov 26 08:56:47 UTC 2013


after I bought an OptiUPS VS 575C and discovering it won't work with
Linux (silly me) I sniffed the protocol, found out it's very similiar
to the protocol in the powercom driver, so I ended up adding support
for that UPS to that driver.

The patch is against the current git HEAD and works fine for me since
weeks now. The shutdown sequence also works fine (on Archlinux).

This is my first contribution and I gave my best to read the developer
documentation and do sensible changes everywhere required, but if I
missed anything or anything can be improved, please let me know!

upsc output:

battery.charge: 100.0
device.mfr: PowerCom
device.model: OPTI-575
device.serial: Unknown
device.type: ups
driver.name: powercom
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyUSB0
driver.parameter.type: OPTI
driver.version: 2.7.1-signed-8-gb11d66f
driver.version.internal: 0.14
input.frequency: 50.00
input.voltage: 224.0
input.voltage.nominal: 230
output.frequency: 50.00
output.voltage: 224.0
ups.load: 0.0
ups.mfr: PowerCom
ups.model: OPTI-575
ups.model.type: OPTI
ups.serial: Unknown
ups.status: OL


() ascii ribbon campaign - stop html mail    www.asciiribbon.org
/\ www.the-compiler.org  | I love long mails http://email.is-not-s.ms/
<Espy> tomorrow there will be a great disturbance in the workforce -- May 18, 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-OptiUPS-support-in-powercom-driver.patch
Type: text/x-diff
Size: 8837 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20131126/c717137d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20131126/c717137d/attachment.sig>

More information about the Nut-upsdev mailing list