[Nut-upsuser] upsrw doesn't set variable

Mike. the.lists at mgm51.com
Sat Jun 29 22:33:38 UTC 2013


On 6/29/2013 at 10:49 PM Kjell Claesson wrote:

|lördagen den 29 juni 2013 15.22.44 skrev  Mike.:
|8<-------------snip-----------------
|Sorry for the delay.
|
|> Here is the console output of  bcmxcp with -DDD specified:
|> 
|> 
|> [snip]
|>   13.721204     Auto delay on: 2
|> 
|>   13.721243     send_command: (4 bytes) => ab 01 35 1f
|>   13.821127     send_command: (4 bytes) => ab 01 33 21
|>   13.920982     send_command: (4 bytes) => ab 01 3b 19
|>   14.033202     Battery Status: (21 bytes) => 00 00 00 00 00 00 00
00
|> 00 00 00 00 00 00 00
|>   14.033249      00 00 00 00 01 03
|>   14.033275     Battery Status = No test initiated (0)
|Up to this point it is only asking for status and outlets etc.
|
|>   14.261271     entering setvar(outlet.1.delay.shutdown, 12)
|>   14.261318     send_command: (7 bytes) => ab 04 cf 69 e8 d5 5c
|This is a authorization block that enable us to send a command.
|
|>   16.261647     send_command: (8 bytes) => ab 05 97 01 01 0c 00 ab
|This is the command.
|ab = start of block
|05 = length of data
|97 = Set Outlet Parameter
|01 = Set Automatic Off Delay of outlet xx
|01 = this is the outlet xx
|0c = LSB of seconds => 12
|00 = MSB of seconds => 00 so it reads 0012 sec.
|ab = Checksum
|
|>   16.318194     Set [outlet.1.delay.shutdown 12] failed due to
invalid
|> parameter
|
|Now the ups is telling you that the command is accepted, but parameter
01
|is 
|not valid for this command.
|Try setting the ON DELAY "2" then it is OK.

command and log message:

upsrw  -u au -p ap -s outlet.1.delay.start=3  PW5125 at localhost

bcmxcp[94366]: Outlet 1 start delay set to 3 sec

  :)


|
|I have the same ups here, and it looks like the possibility to set off
|delay is not implemented on this type.
|

  :(


|
|The problem is that I had a crash on my backup ;-( so I lost the
|paper on the specific commands for 5125.
|
|So if someone have the command specifications on pw5125, can you check
|if this is the case for the 5125 that it is impossible to set auto off
|delay.
|


I checked my library, and I have only the user manuals.


Thanks for your help.

I am going to try loading up Powerware's LanSafe software, and see if
that can change the shutdown delay settings, and whether the change
will be persistent.   But that is for another day...

Thanks again.

Mike.






More information about the Nut-upsuser mailing list