<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Moin,</div><div><br></div><div>Also Matthias schrieb:</div><div><br></div><div>> <span style="background-color: rgba(255, 255, 255, 0);">Die Zeit wird immer auf die Empfangszeit vom vzlogger (Host) gesetzt:</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">Dein Problem hat also auch weiterhin nichts mit der Zeit des Zählers zu tun...</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div>Viele Grüße, Andreas </div><div><br>Am 12.02.2016 um 16:46 schrieb Volker <<a href="mailto:waldbox77@gmail.com">waldbox77@gmail.com</a>>:<br><br></div><blockquote type="cite"><div>
  
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  
  
    Ich habe jetzt die richtige Zeit und auch einen Graphen.<br>
    <br>
    Das ist so wie ich schon vermutet habe, der vzlogger nimmt die Zeit
    vom SML-Meter,<br>
    in meinem Fall vom Easymeter. (Steht auch so in der MeterSML)<br>
    <br>
    Der Installateur von den Stadtwerken hat die Uhr aber nicht
    gestellt,<br>
    sondern  nur den Zähler angeklemmt. Ich denke mal das wird häufiger
    vorkommen.<br>
    <br>
    <br>
    Wäre es nicht sinnvoll für solche Fälle dem vzlogger sagen zu
    können, er soll die lokale Zeit nehmen ?<br>
    <br>
    Leider stammen meine rudimentären c++ Kenntnisse aus dem vorigen
    Jahrhundert und sind limitiert.<br>
    <br>
    <br>
    Gruß Volker<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 09.02.2016 um 21:48 schrieb Matthias
      Behr:<br>
    </div>
    <blockquote cite="mid:3C9BE0B2-7064-4307-A8CD-858AABF6DF41@mcbehr.de" type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      Kannst du mal deine Config und kompletten Log (mit Loglevel 15)
      schicken?
      <div class=""><br class="">
      </div>
      <div class="">Das ist total komisch.</div>
      <div class=""><br class="">
      </div>
      <div class="">Welche Version nutzt du? (vzlogger -V)</div>
      <div class=""><br class="">
        <div>
          <blockquote type="cite" class="">
            <div class="">Am 09.02.2016 um 21:02 schrieb Volker <<a moz-do-not-send="true" href="mailto:waldbox77@gmail.com" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:waldbox77@gmail.com">waldbox77@gmail.com</a>>:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta content="text/html; charset=utf-8" http-equiv="Content-Type" class="">
              <div bgcolor="#FFFFFF" text="#000000" class=""> Es handelt
                sich um "richtigen Log"<br class="">
                <br class="">
                Der erste Timestamp 1454402544996 ist die Zeit vom rpi
                (stimmt ja auch mit der Logzeit überein)<br class="">
                <br class="">
                Die 121440397000 ist ebenfalls real und wird bei den
                folgenden Logs jede Minute um 600 hochgezählt, deswegen
                meine Vermutung es handelt sich um eine Uhr, die nicht
                gestellt wurde und somit am 1.1.1970 begann zu laufen.
                (Der Zähler wurde vor ca 48 Monaten installiert)<br class="">
                <br class="">
                <br class="">
                <br class="">
                <div class="moz-cite-prefix">Am 09.02.2016 um 20:35
                  schrieb Matthias Behr:<br class="">
                </div>
                <blockquote cite="mid:880AEA34-0144-49AD-A3B0-745008B05426@mcbehr.de" type="cite" class="">
                  <meta http-equiv="Content-Type" content="text/html;
                    charset=utf-8" class="">
                  Die Zeit wird immer auf die Empfangszeit vom vzlogger
                  (Host) gesetzt:
                  <div class="">
                    <div class=""><br class="">
                    </div>
                    <div class=""><span class="Apple-tab-span" style="white-space:pre">                                               </span>ReadingIdentifier

                      *rid(new ObisIdentifier(obis));</div>
                    <div class=""><span class="Apple-tab-span" style="white-space:pre">                                               </span>rds[number_of_tuples].identifier(rid);</div>
                    <div class=""><span class="Apple-tab-span" style="white-space:pre">                                               </span>rds[number_of_tuples].time();</div>
                    <div class=""><br class="">
                    </div>
                    <div class=""><br class="">
                    </div>
                    <div class="">D.h. wenn die Zeit falsch ist, einfach
                      den rpi,… korrekte Zeit stellen. (ntpdate,…)</div>
                    <div class=""><br class="">
                    </div>
                    <div class="">Natürlich liesse sich auf die Zeit aus
                      dem 96.8.0 übernehmen. Da müsste ich mir mal die
                      Spec anschauen für was die dann gilt, …</div>
                    <div class="">Aber ist das notwendig? Wie stark
                      weicht die Zeit ab? Wie oft schickt der die Daten?</div>
                    <div class=""><br class="">
                    </div>
                    <div class=""><br class="">
                    </div>
                    <div class="">
                      <blockquote type="cite" class="">
                        <div class="">Am 09.02.2016 um 10:33 schrieb
                          Volker <<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:waldbox77@gmail.com">waldbox77@gmail.com</a>>:</div>
                        <br class="Apple-interchange-newline">
                        <div class="">
                          <meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
                          <div bgcolor="#FFFFFF" text="#000000" class="">
                            Hallo,<br class="">
                            <br class="">
                            ich habe das Problem, daß der vzlogger einen
                            Wert aus meinem Easymeter Q3C liest und
                            diesen dann als Zeitstempel nimmt.<br class="">
                            Wenn das eine Uhr im Easymeter ist, hat
                            leider jemand vergessen sie zu stellen.<br class="">
                            Der erste Zeitstempel von "0-0:96.8.0" hat
                            die richtige Zeit.<br class="">
                            Der eingelesene Wert entspricht grob
                            geschätzt der Anzahl an Millisekunden seit
                            Inbetriebnahme des Stromzählers.<br class="">
                            <br class="">
                            [Feb 02 09:42:24][sml] sending pullsequenz
                            send (len:96 is:96).<br class="">
                            [Feb 02 09:42:24][mtr1] Got 12 new readings
                            from meter:<br class="">
                            [Feb 02 09:42:24][mtr1] Reading:
                            id=0-0:96.8.0*255/ObisItentifier:0-0:96.8.0*255
                            value=<b class="">1214403970.00</b>
                            ts=1454402544996<br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-1:1.8.0*255/ObisItentifier:1-1:1.8.0*255
                            value=7289640.00 ts=<b class="">121440397000</b><br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-2:2.8.0*255/ObisItentifier:1-2:2.8.0*255
                            value=45190.00 ts=121440397000<br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-1:1.8.1*255/ObisItentifier:1-1:1.8.1*255
                            value=7283990.00 ts=121440397000<br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-1:1.8.2*255/ObisItentifier:1-1:1.8.2*255
                            value=1130.00 ts=121440397000<br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-1:1.8.3*255/ObisItentifier:1-1:1.8.3*255
                            value=1110.00 ts=121440397000<br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-1:1.8.4*255/ObisItentifier:1-1:1.8.4*255
                            value=1100.00 ts=121440397000<br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-1:1.8.5*255/ObisItentifier:1-1:1.8.5*255
                            value=1110.00 ts=121440397000<br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-1:1.8.6*255/ObisItentifier:1-1:1.8.6*255
                            value=1200.00 ts=121440397000<br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-2:2.8.7*255/ObisItentifier:1-2:2.8.7*255
                            value=44080.00 ts=121440397000<br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-2:2.8.8*255/ObisItentifier:1-2:2.8.8*255
                            value=1110.00 ts=121440397000<br class="">
                            [Feb 02 09:42:25][mtr1] Reading:
                            id=1-0:96.5.5*255/ObisItentifier:1-0:96.5.5*255
                            value=167840.00 ts=1454402544996<br class="">
                            <br class="">
                            Gibt es irgendeine Möglichkeit den vzlogger
                            dazu zu bringen, den ersten Timestamp zu
                            verwenden.<br class="">
                            <br class="">
                            <br class="">
                            Gruß Volker </div>
                        </div>
                      </blockquote>
                    </div>
                    <br class="">
                    <div class=""> <span class="Apple-style-span" style="border-collapse: separate; line-height: normal; border-spacing: 0px;">
                        <div style="word-wrap: break-word;
                          -webkit-nbsp-mode: space; -webkit-line-break:
                          after-white-space;" class="">
                          <div class="">Gruß</div>
                          <div class=""><br class="">
                          </div>
                          <div class="">Matthias</div>
                        </div>
                      </span> </div>
                    <br class="">
                  </div>
                </blockquote>
                <br class="">
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
        <div class="">
          <span class="Apple-style-span" style="border-collapse:
            separate; color: rgb(0, 0, 0); font-family: Helvetica;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            orphans: 2; text-indent: 0px; text-transform: none;
            white-space: normal; widows: 2; word-spacing: 0px;
            border-spacing: 0px; -webkit-text-decorations-in-effect:
            none; -webkit-text-stroke-width: 0px;">
            <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;" class="">
              <div class="">Gruß</div>
              <div class=""><br class="">
              </div>
              <div class="">Matthias</div>
            </div>
          </span>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br>
  

</div></blockquote></body></html>