nothing special
/etc/nut/nut.conf
MODE=standalone
UPSD_OPTIONS="-a pcmbnt1200ap"
UPSMON_OPTIONS=""
/etc/nut/ups.conf
maxretry = 3
[pcmbnt1200ap]
driver = usbhid-ups
port = auto
desc = "Powercom BNT-1200AP"
vendorid = 0d9f
productid = 00a6
/etc/nut/upsmon.conf
MONITOR pcmbnt1200ap@localhost 1 upsmon pass master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
This works fine: sudo /lib/nut/usbhid-ups -DDDD -a pcmbnt1200ap
But it doesn’t work in whole :(