[Nut-upsdev] REGRESSION: New "megatec" driver does't work for UPS that was managed by old fentonups driver

Carlos Rodrigues carlos.efr at mail.telepac.pt
Mon May 19 15:04:26 UTC 2008


On Mon, May 19, 2008 at 3:59 PM, Michel Bouissou
<michel-nut at bouissou.net> wrote:
> Because of this, we cannot have a single voltage scale that will be
> valid both on AC and on battery.
>
> When I had played with the fentonups driver, I had made it "2 scales"
> with "on battery" and "on AC" voltage boundaries, that have shown quite
> satisfactory to me for a couple of years, and were possibly not
> reflecting my UPS charge with a full precision, but at least gave a
> quite good approximation, much better than what any "single scale" could
> give.
>
> Would it be possible to consider such a thing for the Megatec driver ?

The scale is just a wild guess. Just take the maximum value when the
UPS is fully charged and on-line, and the minimum value when the UPS
is almost discharged and on-battery.

Having two scales doesn't solve the problem because the values when
on-battery also depend on the load being powered.

-- 
Carlos Rodrigues



More information about the Nut-upsdev mailing list