[Nut-upsuser] PowerCom shutdown command

Эдуард Дикун deac at aport.ru
Wed Apr 12 22:26:18 UTC 2017


I'm trying to use NUT with PowerCom RPT-1000AP on CentOS 6/7

ups.conf:
[RPT-1000]
    driver = "usbhid-ups"
    port = "auto"
    vendorid = "0D9F"
    productid = "0004"
    product = "HID UPS Battery"
    serial = "004-0D9F-000"
    vendor = "POWERCOM Co.,LTD"
    bus = "002"
    pollfreq = 10
    offdelay = 120
    ondelay = 180

Monitoring works fine, but:
upscmd -u UPSUSER -p UPSPASSWD -a RPT-1000AP shutdown.return
says "OK" and does nothing.

Meanwhile apcusd is able to poweroff this UPS correctly.
USB dump by apctest "Test kill UPS power" command:
CTRL_IN(0.0): 00:00:0000:0000:1030303030 # 2.5421979427337646
CTRL_OUT(0.0):21:09:0310:0000:1040000000 # 0.0000979900360107
CTRL_IN(0.0): 00:00:0000:0000:1030303030 # 0.0175840854644775
CTRL_IN(0.0): 00:00:0000:0000:0f00 # 0.0109839439392090
CTRL_OUT(0.0):21:09:030f:0000:0f3c00 # 0.0000259876251221
CTRL_IN(0.0): 00:00:0000:0000:0f08 # 0.0591070652008057
INTR_IN(0.1): 0a0c20 # 3.8889238834381104
INTR_IN(0.1): 0e64 # 0.1909830570220947
INTR_IN(0.1): 1401 # 0.1928460597991943
<--a lot of same messages-->
INTR_IN(0.1): 0a0d00 # 8.3736109733581543
INTR_IN(0.1): 0e52 # 0.1944248676300049
INTR_IN(0.1): 1401 # 0.1950931549072266
INTR_IN(0.1): 379002 # 0.1951398849487305
<-- UPS powered OFF here-->

With the best regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170413/b5058f9a/attachment.html>


More information about the Nut-upsuser mailing list