<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Hallo Friedrich,</div><div><br>Am 16.05.2016 um 19:46 schrieb Friedrich @ Volkszaehler <<a href="mailto:vz@riare.de">vz@riare.de</a>>:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:"Consolas",serif;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hallo,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">ich hab mir eine kleine Datenverdichtung mit sql-Mitteln und php gebastelt – ich bekomme damit Pivotabellen für alle meine S0 Zähler pro Tag / Monat / Jahr</span></p></div></div></blockquote><div><br></div>Das sollte mit from,to und group=xyz auch ohne SQL gehen. Einziger Haken: derzeit musst Du die Leistung noch selber mit der Zeitspanne ausmultiplizieren. Aber ich arbeite dran.<div><br><blockquote type="cite"><div><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Jahr / Monat:<o:p></o:p></span></p><p class="MsoNormal"><image002.png><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Tage :<o:p></o:p></span></p><p class="MsoNormal"><image001.png><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Mach ich seit über einem Jahr – funktioniert super und ich sehe sofort Veränderungen <o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Mfg<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Fritz </span></p></div></div></div></div></blockquote><div><br></div>Viele Grüße, Andreas </div><div><br><blockquote type="cite"><div><div class="WordSection1"><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> volkszaehler-users [<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org">mailto:volkszaehler-users-bounces@demo.volkszaehler.org</a>] <b>Im Auftrag von </b>Klaus Reichenecker<br><b>Gesendet:</b> Montag, 16. Mai 2016 19:18<br><b>An:</b> <a href="http://volkszaehler.org">volkszaehler.org</a> - users <<a href="mailto:volkszaehler-users@demo.volkszaehler.org">volkszaehler-users@demo.volkszaehler.org</a>><br><b>Betreff:</b> [vz-users] SQL-Abfrage ohne alle Tupel als Antwort ?<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Ich bastke gerade an einer Verbrauchsanzeige, angezeigt werden sollen die aktuellen Tagesverbräuche</span><o:p></o:p></p></div><div><p class="MsoNormal"> <o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Mit <a href="http://link_zu_volkszaehler/htdocs/middleware.php/data/UUID.json?from=today">http://link_zu_volkszaehler/htdocs/middleware.php/data/UUID.json?from=today</a></span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">kommt eigentlich am Ende genau das was ich will, nur werden halt auch alle Tupel mit ausgegeben, was bei einem S0-Stromzähler ganz schön viele sein können</span><o:p></o:p></p></div><div><p class="MsoNormal"> <o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Gibt es eine einfache Möglichkeit, das nur das Relevante, also z.B. "<o:p></o:p></span></p><pre><span style="color:black">"uuid":"2dcfe7a0-c2a2-11e1-a9f6-7f2fe7ff59fc","from":1463349588000,"to":1463418336000,"min":[1463363152000,15.503875968992],"max":[1463352668000,4000],"average":457.439,"consumption":8735.556,"rows":9234}}"<o:p></o:p></span></pre><pre style="WORD-WRAP: break-word;white-space:pre-wrap;WIDOWS: 1;-webkit-text-stroke-width: 0px;word-spacing:0px"><span style="color:black"> <o:p></o:p></span></pre><pre style="WORD-WRAP: break-word;white-space:pre-wrap;WIDOWS: 1;-webkit-text-stroke-width: 0px;word-spacing:0px"><span style="color:black">ausgegeben wird ?<o:p></o:p></span></pre><pre style="WORD-WRAP: break-word;white-space:pre-wrap;WIDOWS: 1;-webkit-text-stroke-width: 0px;word-spacing:0px"><span style="color:black"> <o:p></o:p></span></pre><pre style="WORD-WRAP: break-word;white-space:pre-wrap;WIDOWS: 1;-webkit-text-stroke-width: 0px;word-spacing:0px"><span style="color:black"> <o:p></o:p></span></pre><pre style="WORD-WRAP: break-word;white-space:pre-wrap;WIDOWS: 1;-webkit-text-stroke-width: 0px;word-spacing:0px"><span style="color:black">Viele Grüße<o:p></o:p></span></pre><pre style="WORD-WRAP: break-word;white-space:pre-wrap;WIDOWS: 1;-webkit-text-stroke-width: 0px;word-spacing:0px"><span style="color:black"> <o:p></o:p></span></pre><pre style="WORD-WRAP: break-word;white-space:pre-wrap;WIDOWS: 1;-webkit-text-stroke-width: 0px;word-spacing:0px"><span style="color:black">Klaus<o:p></o:p></span></pre></div></div></div></blockquote></div></body></html>