<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Another post from someone probably not understanding
consolidation functions !&nbsp; I thought I did until I switched my trend to
show MAX instead of average.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I measure the power used and trend kwh.&nbsp; At </span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>midnight</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>, my read script
resets and just feeds into rrrd an ever increasing number (accumulated kwh) throughout
the day so as to produce a saw tooth pattern.&nbsp; Works great, however when I
trend the MAX, I &#8220;assumed&#8221; I would see the maximum value for the 24
hr period.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I think this was the script I used to create the rrd</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>rrdtool create /var/rrd/kw.rrd --start 1167177600 --step 600
DS:P1:GAUGE:1300:0:100 RRA:AVERAGE:0.5:1:1440 RRA:AVERAGE:0.5:4:2160
RRA:AVERAGE:0.5:12:8760 RRA:MIN:0.5:288:1825 RRA:MAX:0.5:288:1825</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The trend can be viewed at <a
href="http://www.rjconway.homeip.net/">www.rjconway.homeip.net</a> &nbsp;select
[Power] radio button for kwh and redraw, you will see the saw tooth, now select
[max] .&nbsp; It seems to be giving one max value per two days value changing
at </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
 font-family:Arial'>midday</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> not </span></font><font
 size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>midnight</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>.&nbsp; <b><span
style='font-weight:bold'>My controls only work in IE, (I broke firefox)</span></b></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Rob</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>australia</span></font></p>

</div>

</body>

</html>