[Nut-upsuser] Newbie question: real-time power usage monitoring?
Christian Convey
christian.convey at gmail.com
Wed Oct 19 23:29:05 UTC 2011
Thanks, that's good to know. It sounds like NUT might not be the
framework for me, unless I can't find any other decent way of getting
high-sample-rate data from some power monitor.
On the bright side, this is a one-off project, so it's probably okay
for me to write code that can only grab data from one particular power
monitor product.
On Wed, Oct 19, 2011 at 6:54 PM, Charles Lepple <clepple at gmail.com> wrote:
> On Oct 19, 2011, at 8:46 AM, Christian Convey wrote:
>
>> I don't care how much about the latency between when the power meter
>> computes a result, and when it's available to my Linux box. But I
>> *do* care a lot about the precision of the time sampling in the
>> report.
>
> NUT itself does not include timestamps in the output. When you query upsd,
> you are receiving data that can be up to [pollinterval] seconds old (plus
> any serial/USB transaction latency), which isn't a problem for basic status
> monitoring related to UPS health. Your application sounds like it needs at
> least one or more orders of magnitude more precision than what NUT can offer
> right now.
>
> You could certainly modify the code to add that timestamp, but as mentioned
> elsewhere in this thread, you'd need supported equipment as well.
>
More information about the Nut-upsuser
mailing list