[Nut-upsuser] upsrw doesn't set variable

Kjell Claesson kjell.claesson at epost.tidanet.se
Sat Jun 29 16:16:30 UTC 2013


lördagen den 29 juni 2013 11.28.14 skrev  Mike.:
8<------------------snip---------------------
Hi Mike,
> 
> Thanks for the quick reply.
> 
> I checked the log file (which, admittedly, I should have done before I
> posted about the problem :)  ).
> 
> Here's the command and the corresponding log message:
> 
>   # upsrw  -u au -p ap -s outlet.1.delay.shutdown=12  PW5125 at localhost
>     OK
> 
>   bcmxcp[90004]: Set [outlet.1.delay.shutdown 12] failed due to invalid
> parameter
> 
Yep the ups is telling that the command has an invalid parameter.
Have to check if there is any difference between the 5125 and others.
> 
> Curious that the command gives an "OK" response, even though it logs a
> failure.
> 
> 
The OK kome from upsrw, as the driver is accepting the command.
> 
> I'll try the -D flags when I have some time, maybe this evening.  btw,
> how many is "a few" -D flags?
> 
> 
> fwiw, I don't have a USB port on the UPS, just serial.
> 
> Thanks.

//Kjell




More information about the Nut-upsuser mailing list