<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi,<br></div><div><br>Am 06.02.2015 um 21:40 schrieb Tim Walter <<a href="mailto:tiwa2003@web.de">tiwa2003@web.de</a>>:<br><br></div><blockquote type="cite"><div><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hallo,</div>

<div> </div>

<div>danke das funktioniert soweit. Allerdings sehr umständlich. Vll. mache ich mir es auch zu kompliziert. </div></div></div></div></blockquote><div><br></div>Ja ;)<div><br><blockquote type="cite"><div><div style="font-family: Verdana;font-size: 12.0px;"><div><div>Ich habe das nun mit beiden UUID (Gas und Temp) separat durchgeführt.</div></div></div></div></blockquote><div><br></div>Warum? Einfach data.json?uuid[]=uuid1&uuid[]=uuid2 </div><div><br><blockquote type="cite"><div><div style="font-family: Verdana;font-size: 12.0px;"><div><div> Ich habe die json Datein in excel gezogen. Dort mit Text in Spalten und suchen und ersetzen soweit umformatiert, dass ich daraus ein Diagramm erstellen konnte.</div></div></div></div></blockquote><div><br></div>Ehhrm. Statt data.json data.csv nehmen. Es hilft auch die Dokumentation zu lesen ;)</div><div><br><blockquote type="cite"><div><div style="font-family: Verdana;font-size: 12.0px;"><div><div> Wenn das der Weg ist, naja - nicht schön aber es geht. Aber ginge es, in einer Abfrage noch eine 2. UUID zu integrieren, sodass in einer Abfrage beide Datensätze enthalten sind?</div>

<div>Ich wüsste nicht, wie man das macht.</div></div></div></div></blockquote><div><br></div>S.o.</div><div><br><blockquote type="cite"><div><div style="font-family: Verdana;font-size: 12.0px;"><div>

<div>Danke</div></div></div></div></blockquote><div><br></div>Viele Grüße, Andreas</div><div><br><blockquote type="cite"><div><div style="font-family: Verdana;font-size: 12.0px;"><div>

<div> 
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left-color: rgb(195, 217, 229); border-left-width: 2px; border-left-style: solid;">
<div style="margin: 0px 0px 10px;"><b>Gesendet:</b> Donnerstag, 05. Februar 2015 um 09:42 Uhr<br>
<b>Von:</b> "Andreas Goetz" <<a href="mailto:cpuidle@gmail.com">cpuidle@gmail.com</a>><br>
<b>An:</b> "<a href="http://volkszaehler.org">volkszaehler.org</a>" <<a href="mailto:volkszaehler-dev@demo.volkszaehler.org">volkszaehler-dev@demo.volkszaehler.org</a>><br>
<b>Betreff:</b> Re: [vz-dev] Werte aus Datenbank abrufen</div>

<div>
<div>Hallo,
<div class="gmail_extra"> 
<div class="gmail_quote">2015-02-04 22:12 GMT+01:00 <span><<a>tiwa2003@web.de</a>></span>:

<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">" <<a>volkszaehler-dev@demo.volkszaehler.org</a>><br>
Content-Transfer-Encoding: quoted-printable<br>
Mime-Version: 1.0 (1.0)<br>
X-Provags-ID:  V03:K0:qANrLDbst2GJ8H2DVI9bIzjvANk5kpW0xj79lwPLzWmdo9WD0iQ<br>
 fc8gqA9/jv6pVE7HSdloeIMOMze4zYYM/5VkmTWiyYFLbIAE6eCl2nmODEbKyC/dq7uiL+F<br>
 L+3h+peKTNJcmwyH7NlNuZFMvBoUDfl7R+PSLLVEKs/0GY8cPNWMn6fAjq9Pch9Tckad77N<br>
 wOISCKIDBNNop2xVQpk7Q==<br>
X-UI-Out-Filterresults: notjunk:1;<br>
<br>
Hallo zusammen,<br>
Ich w=C3=BCrde gerne f=C3=BCr einen Zeitraum x den Gasverbrauch pro Stunde =C3=<br>
=BCber die gemittelte Au=C3=9Fentemperatur der Stunde abrufen. Geht das so d=<br>
irekt? Man kann ja in sql Abfragen erstellen meine ich. Damit kenne ich mich=<br>
 aber nicht aus. Hat jmd. solch einen Abruf vll. sogar schon fertig? Oder et=<br>
was =C3=A4hnliches an dem ich mich entlanghangeln k=C3=B6nnte?<br>
Danke!<br>
 </blockquote>

<div> </div>

<div>Naklar:<br>
 </div>

<div><a href="http://ip/middleware.php/data/" target="_blank">http://ip/middleware.php/data/</a><uuid>.json?group=hour&from=0&to=now<br>
 </div>

<div>Erklärung:<br>
 </div>

<div>Das API liefert immer Momentanwerte. Mit group=hour bekommst Du den Momentanwert auf die Stunde gemittelt, also m3/h. Da auch das Zeitintervall bei group=hour eine Stunde ist entsprechen die Zahlenwerte also m3/h*h=m3, dem Verbrauch in jeweils einer Stunde. Einzige Ausnahme ist der letzte Messpunkt da hier weniger als 1 Stunde Daten drin sein können.<br>
<br>
Viele Grüße,<br>
Andreas<br>
 </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div>
</div></blockquote></div></body></html>