Displaying 1 result from an estimated 1 matches for "upsc_getvalue".
2010 Mar 03
1
using upscode2 driver with Powerware 5119 RM
...ped so abruptly?
2. UPS Code II spec says you can view the values of UPSD and UPPC by sending
the command string followed by a parameter of "0". However for my UPS this
sets the value to 0! In order to view the value you must send "0000". So in
upsc_commandlist I changed
upsc_getvalue(cp->upsc, "0", cp->upsp, cp->cmd, NULL);
to
upsc_getvalue(cp->upsc, "0000", cp->upsp, cp->cmd, NULL);
and all works correctly.
3. I want to specify a custom shutdown delay value. I can use upsrw
upsrw -s ups.delay.shutdown=60 -u admin -p password UPS...