<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 17.08.2016 um 11:50 schrieb Daniel
      Lauckner:<br>
    </div>
    <blockquote cite="mid:1598953974.20160817115036@jahp.de" type="cite">
      <pre wrap="">Hallo Saftwerk,

Du gibts doch bei der Anfrage die Zeit vor. Wieso ist der Timestamp
dann noch wichtig? Oder brauchst du den Wert wirklich auf die ms
genau?
</pre>
    </blockquote>
    Nein keine ms. Aber die Stunde ist schon wichtig und gegenwärtig
    bekomme ich mit einer Abfrage über einen Zeitpunkt noch nichts
    brauchbares:<br>
    <a class="moz-txt-link-freetext" href="http://pi3.fritz.box/middleware.php/data.csv">http://pi3.fritz.box/middleware.php/data.csv</a>?<font color="#009900"><b>from=</b><b>22:00
        yesterday</b></font>&uuid[]=00000007-0001-0182-ffff-0123456789ab&uuid[]=00000008-0001-0181-ffff-0123456789ab&uuid[]=00000006-0001-0280-ffff-0123456789ab&uuid[]=00000010-0002-0180-ffff-0123456789ab&tuples=2&options=raw&tsfmt=sql<br>
    <br>
    Als Antwort kommt dann nicht etwa <font color="#009900"><b>22:00
        Uhr</b></font>, sondern <b><font color="#cc0000">06:24</font></b>
    Uhr und <b><font color="#cc0000">23:57</font></b> und <b><font
        color="#cc0000">22:43</font></b> und <b><font color="#cc0000">22:29</font></b><br>
    alles in einer einzigen Antwort:<br>
    <font color="#993399"># source:;volkszaehler.org<br>
      # version:;0.3<br>
      <br>
      # uuid:;00000007-0001-0182-ffff-0123456789ab<br>
      # title:;Haus HT<br>
      # from:;2016-08-15 23:58:39<br>
      # to:;2016-08-17 23:49:38<br>
      # average:;0<br>
      # consumption:;0<br>
      # rows:;2<br>
      2016-08-17 <font color="#cc0000"><b>06:24</b></font>:00;6981882.9;5211<br>
      2016-08-17 23:49:38;6982427.4;5211<br>
      <br>
      # uuid:;00000008-0001-0181-ffff-0123456789ab<br>
      # title:;Haus NT<br>
      # from:;2016-08-15 23:59:57<br>
      # to:;2016-08-17 23:49:43<br>
      # average:;0<br>
      # consumption:;0<br>
      # rows:;2<br>
      2016-08-16 <b><font color="#cc0000">23:57</font></b>:04;16455713.6;11893<br>
      2016-08-17 23:49:43;16457548.7;11892<br>
      <br>
      # uuid:;00000006-0001-0280-ffff-0123456789ab<br>
      # title:;Haus ET<br>
      # from:;2016-08-15 23:58:33<br>
      # to:;2016-08-17 23:49:04<br>
      # average:;0<br>
      # consumption:;0<br>
      # rows:;2<br>
      2016-08-16 <b><font color="#cc0000">22:43</font></b>:29;25055473.6;28572<br>
      2016-08-17 23:49:04;25085962.4;28572<br>
      <br>
      # uuid:;00000010-0002-0180-ffff-0123456789ab<br>
      # title:;PV<br>
      # from:;2016-08-15 23:58:13<br>
      # to:;2016-08-17 23:49:03<br>
      # average:;0<br>
      # consumption:;0<br>
      # rows:;2<br>
      2016-08-16 <b><font color="#cc0000">22:29</font></b>:13;30850132.3;31874<br>
      2016-08-17 23:49:03;30882378.5;31874</font><br>
    <br>
    Und noch komischer ist die Antwort, wenn ich nur tuples=1 einstelle:
    dann komme die aktuelle Uhrzeit als Antwort, ganz egal was hinter
    "from=" steht.<br>
    <br>
    Ich hatte ja schon geschrieben, dass es für den Anwender viel
    einfacher wäre, wenn auch der Rohwert im Frontend zu sehen wäre,
    aber dazu müsste auch erst mal das Frontend weiterhin den normalen
    Wert und den Rohwert in einer Abfrage bekommen - und damit würde
    auch die Option "options=raw" überflüssig werden.<br>
    <br>
    Ich muss schon viel mehr Tuppels einstellen und dann die ganze
    Antwort durchsuchen, welche Zeile an nächsten an der 22:00 Uhr aus
    dem Beispiel dran ist. (Die Daten liegen im Raster von 2 oder 10
    ohne Lücke vor)<br>
    <br>
    Ich hoffe, dass ich das Problem verständlich machen konnte.<br>
    Viele Grüße<br>
    Saftwerk<br>
  </body>
</html>