[Nut-upsuser] Recommendation for big UPS (was CyberPower PR2200)

Doug Reynolds mav at wastegate.net
Thu Nov 16 04:12:34 CET 2006


Jeff Tucker wrote:
> Doug Reynolds wrote:
>   
>>>   
>>>       
>> That is what my CyberPower 1200 does.. I changed the drivers around to
>> work somewhat, but as you see, they don't work well.  I've been working
>> on coming up for the proper commands for the ups, but I haven't had time
>> to swap out the UPS and hook it to my windows machine to do some serial
>> debugging.  I plan to do this during my christmas break..
>>
>>     
>
> OK, thanks, Doug.
>
> So, if I want a 1500-2000 VA class UPS but don't want to pay for an APC,
> does anyone have a recommendation for something that works right now?
> Hopefully something that's stable and tested as opposed to experimental.
>
> What about the CyberPower AVR1500? It doesn't have to be CyberPower, but
> they seem inexpensive. The docs claim it is supported. Does anyone have
> one that works well
Help might be coming soon. I did some extensive testing tonight. I found 
out a lot of interesting things.

I have a 1200AVR. I found out from the website that you can program 
Windows XP to use it as a contact-closure type of UPS. The generic 
windows custom UPS settings are: Power Fail/On Battery - Negative, Low 
Battery - Negative, UPS Shutdown - Positive.

I checked these settings with a serial port monitor. When the UPS is 
online, CTS is ON. When UPS is on battery, CTS is OFF. I wasn't able to 
check out the low battery or the other settings (it takes a lot of juice 
to kill these ups.. at 220W, it took 45min or so).

Perhaps one of the maintainers know which generic drive types that will 
work with the windows settings I gave. The serial cable that came with 
mine is a straight thru cable (black). I check it myself with an ohm meter.

The ups is also a smart ups once you initialize it with a few commands..

the windows monitor program (that comes with the ups) sends:

** 0D 50 34 0D 50 34 0D 50 33 0D 50 32 0D 50 31 0D   .P4.P4.P3.P2.P1.
 50 37 0D 50 36 0D 50 38 0D 50 39 0D 44 0D 43 0D   P7.P6.P8.P9.D.C.
 44 0D 44 0D 44 0D 44 0D 44 0D 44 0D 44 0D 44 0D   D.D.D.D.D.D.D.D.**

and the ups sends back:

** 23 32 0D 23 42 43 31 32 30 30 20 20 20 20 2C 31   #2.#BC1200    ,1
 2E 36 30 30 2C 30 30 30 30 30 30 30 30 30 30 30   .600,00000000000
 30 2C 43 59 42 45 52 20 50 4F 57 45 52 20 20 20   0,CYBER POWER   
 20 0D 23 42 43 31 32 30 30 20 20 20 20 2C 31 2E    .#BC1200    ,1.
 36 30 30 2C 30 30 30 30 30 30 30 30 30 30 30 30   600,000000000000
 2C 43 59 42 45 52 20 50 4F 57 45 52 20 20 20 20   ,CYBER POWER    
 0D 23 31 32 2E 30 2C 30 30 32 2C 30 30 38 2E 30   .#12.0,002,008.0
 2C 30 30 0D 23 31 32 30 30 2C 30 37 32 30 2C 31   ,00.#1200,0720,1
 32 30 2C 34 37 2C 36 33 0D 23 31 32 30 2C 31 33   20,47,63.#120,13
 38 2C 30 38 38 2C 33 35 0D 23 30 38 30 2C 30 38   8,088,35.#080,08
 31 2C 30 38 32 2C 30 38 33 2C 30 38 34 2C 30 38   1,082,083,084,08
 35 2C 30 38 36 2C 30 38 37 2C 30 38 38 2C 30 38   5,086,087,088,08
 39 2C 30 39 30 0D 23 31 33 30 2C 31 33 31 2C 31   9,090.#130,131,1
 33 32 2C 31 33 33 2C 31 33 34 2C 31 33 35 2C 31   32,133,134,135,1
 33 36 2C 31 33 37 2C 31 33 38 2C 31 33 39 2C 31   36,137,138,139,1
 34 30 0D 23 32 30 2C 32 35 2C 33 30 2C 33 35 2C   40.#20,25,30,35,
 34 30 2C 34 35 2C 35 30 2C 35 35 2C 36 30 2C 36   40,45,50,55,60,6
 35 0D 23 C3 D0 F0 0D 23 49 31 31 38 2E 30 4F 31   5.#ÃÐð.#I118.0O1
 31 38 2E 30 4C 30 30 33 42 30 37 35 54 30 34 31   18.0L003B075T041
 46 30 36 30 2E 30 53 80 80 0D 23 30 0D 23 49 31   F060.0S€€.#0.**

once the UPS is ready to roll, the program polls the ups with a D and a 
carriage return, and the UPS sends the current info back:

#I118.0O118.0L003B075T041F060.0S€€

the I118 is the line voltage.  when the UPS is on battery, this drops to I000
the O0118 is the battery voltage, stays ~ 0120 until the ups dies
the 0L003 is the power being used by the UPS.  multiply that number by 7.2 for the waltage been supplied 
through the UPS (whether is it on or off line)
the B075 is the percentage of battery left.  100 = 100%, 75=75% etc etc

I haven't figured out what the F060 or the 0S is.  they always stayed the same.  when the UPS went dead and 
turned off, it would still reply with the same reply, but all the numbers were zeros.€€

if anyone can help me put this into a driver, let me know...

I also just tried running mine as genericups upstype=7, and it seems to be showing online/onbattery, so until
I finish a "smart" driver, that one should work.









More information about the Nut-upsuser mailing list