<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 06/14/2017 12:25 PM, Andrea de Lutti
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADq5J2rApmKVkCoepm+=c_anGphR6CvRBuZYS0KOqXuhNQe3TA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_default"
style="font-family:verdana,sans-serif">Hi, it's me again.<br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">I haven't yet tested my
UPS with full load, but I have tried to insert some values in
ups.conf, I have kept the example on the blazer_usb driver hel
page:<br>
<br>
runtimecal = 240,100,720,50<br>
<br>
<br>
When I try to start the driver, I receive<br>
<br>
root@artu:~# upsdrvctl start<br>
Network UPS Tools - UPS driver controller 2.7.2<br>
Network UPS Tools - Megatec/Q1 protocol USB driver 0.11
(2.7.2)<br>
Supported UPS detected with megatec protocol<br>
Rating information unavailable<br>
Vendor information unavailable<br>
No values provided for battery high/low voltages in ups.conf<br>
<br>
Using 'guestimation' (low: -0.866667, high: -1.083333)!<br>
Initial battery charge undetermined<br>
Driver failed to start (exit status=1)<br>
<br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">What should I do?<br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">Thanks again,<br>
<br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">Andrea<br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif"><br>
<br>
</div>
</div>
</blockquote>
Here's a functional example from a UPS I setup several weeks ago,
after a lot of trial-fail-fix-retry runs:<br>
[guardian]<br>
driver = nutdrv_qx<br>
port = auto<br>
desc = "Guardian LCD 1500 AP by Inform"<br>
#manufacturer = Inform<br>
#modelname = "Guardian LCD 1500 AP"<br>
vendorid = 0001<br>
productID = 0000<br>
protocol = q1<br>
# override.battery.packs = 1<br>
runtimecal = 120,100,480,50<br>
default.battery.voltage.low = 21.2<br>
default.battery.voltage.high = 27.7<br>
<br>
Mind that the voltages included in the file ( 21.2 and 27.7 ) are
those that were reported by the UPS after being fully charged and
respectively immediately before shutdown. The runtimecal was also
created based on the actual run times , after using some coffee
machines and lamps to create dummy loads of (roughly ) 50% and 100%<br>
</body>
</html>