Displaying 2 results from an estimated 2 matches for "emptyvolt".
Did you mean:
emptyvolts
2008 Feb 06
2
Problem with bestfcom and old Ferrups
I have an old (1997) Best Ferrups (model FE18KVA) that I am trying to
monitor for the first time, but all the Best drivers fail to communicate
with it.
In ups_sync() in bestuferrups.c and bestfcom.c, the "time" command is
sent and a one-line response is read. However, on my UPS, that command
returns the current time and then prompts for a new time setting. I
worked around that by just
2013 May 11
1
Best Ferrups (bestfcom patch)
...se the following patch to fix the battery.charge (% battery full) reading.
--- bestfcom.c.orig 2012-07-31 12:38:59.000000000 -0500
+++ bestfcom.c 2013-05-11 09:39:52.155279710 -0500
@@ -332,7 +332,7 @@
/* Compute battery percent left based on battery voltages. */
battpercent = ((vbatt - fc.emptyvolts)
- / (fc.fullvolts - fc.emptyvolts) * 100.0);
+ / (fc.idealbvolts - fc.emptyvolts) * 100.0);
if (battpercent < 0.0)
battpercent = 0.0;
else if (battpercent > 100.0)
The patch is based on version 2.6.5
Thanks for your consideration. I know this is an old UPS (1995...