<div dir="ltr"><div><div>Karlheinz, <br><br>kannst Du die Fehler bitte direkt im PR beantworten? So kommen sie sofort bei Matthias an- danke!<br><br></div>Viele Grüße,<br></div>Andreas<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-31 16:04 GMT+01:00 Karlheinz <span dir="ltr"><<a href="mailto:karlheinz.es@gmx.de" target="_blank">karlheinz.es@gmx.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>erster Zwischenstand:<br>
      Die Genauigkeit ist nun viiiel besser. Der erste s0-Leistungswert
      180888.592855<small>
        ("identifier" : "Power") </small>kann aber nicht stimmen.<br>
      <pre>{ "version": "0.4.7", "generator": "vzlogger", "data": [ { "uuid": "e18", "last": 1446303343703, "interval": -1, "protocol": "s0", "tuples": [ [ 1446303307749, <big><b>180888.592855 </b></big>], [ 1446303310689, 612.260874 ], [ 1446303327699, 105.823022 ], [ 1446303343703, 112.471462 ] ] } ] }</pre>
      Gruß<span class="HOEnZb"><font color="#888888"><br>
      Karlheinz</font></span><div><div class="h5"><br>
      <br>
      ------- Original Nachricht --------<br>
      Betreff: Re: [vz-users]Raspberry Volkszähler mit Erweiterung ohne
      Schaltausgänge - S0 zeigt Sägezahn<br>
    </div></div></div><div><div class="h5">
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>Moin Jörg,<br>
          <br>
          Matthias war so nett und hat die Timestamps
          überarbeitet.Könntest Du bitte mal testen: <a href="https://github.com/volkszaehler/vzlogger/pull/211" target="_blank"></a><a href="https://github.com/volkszaehler/vzlogger/pull/211" target="_blank">https://github.com/volkszaehler/vzlogger/pull/211</a>
          <br>
          <br>
        </div>
        <div>Viele Grüße,<br>
        </div>
        <div>Andreas<br>
          <br>
        </div>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-10-19 8:00 GMT+02:00 Andreas Goetz
          <span dir="ltr"><<a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>Ich hab mal ein issue aufgemacht: <a href="https://github.com/volkszaehler/vzlogger/issues/206" target="_blank"></a><a href="https://github.com/volkszaehler/vzlogger/issues/206" target="_blank">https://github.com/volkszaehler/vzlogger/issues/206</a><br>
                  <br>
                </div>
                Viele Grüße,<br>
              </div>
              Andreas<br>
              <br>
            </div>
            <div>
              <div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">2015-10-18 22:49 GMT+02:00
                    Andreas Goetz <span dir="ltr"><<a href="mailto:cpuidle@gmail.com" target="_blank"></a><a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a>></span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">
                        <div>
                          <div>
                            <div>
                              <div>
                                <div>
                                  <div>Ich sehe alle 1-2 Sekunden eine
                                    Messung:<br>
                                    <br>
                                    [1445155286634,3596.404],<br>
                                    [1445155288634,1800],<br>
                                    [1445155290634,1800],<br>
                                    [1445155291634,3600],<br>
                                    [1445155293634,1800],<br>
                                    [1445155295634,1800],<br>
                                    [1445155297634,1800],<br>
                                    [1445155298634,3600],<br>
                                    [1445155300635,1799.1],<br>
                                    [1445155302635,1800],<br>
                                    [1445155304635,1800],<br>
                                    [1445155305635,3600],<br>
                                    [1445155307635,1800],<br>
                                    [1445155309635,1800],<br>
                                    [1445155311635,1800],<br>
                                    [1445155312635,3600],<br>
                                    [1445155314636,1799.1],<br>
                                    [1445155316636,1800],<br>
                                    [1445155318636,1800],<br>
                                    [1445155319636,3600],<br>
                                    [1445155321636,1800],<br>
                                    [1445155323636,1800],<br>
                                    [1445155325636,1800]<br>
                                    <br>
                                  </div>
                                  Was wirklich komisch ist ist die
                                  Tatsache dass die Werte springen. Wenn
                                  man sich das als Rohwerte anschaut 
                                  (&options=raw) wird klar warum:<br>
                                  <br>
                                  [1445155286634,1],<br>
                                  [1445155288634,1],<br>
                                  [1445155290634,1],<br>
                                  [1445155291634,1],<br>
                                  [1445155293634,1],<br>
                                  [1445155295634,1],<br>
                                  [1445155297634,1],<br>
                                  [1445155298634,1],<br>
                                  [1445155300635,1],<br>
                                  [1445155302635,1],<br>
                                  [1445155304635,1],<br>
                                  [1445155305635,1],<br>
                                  [1445155307635,1],<br>
                                  [1445155309635,1],<br>
                                  [1445155311635,1],<br>
                                  [1445155312635,1],<br>
                                  [1445155314636,1],<br>
                                  [1445155316636,1],<br>
                                  [1445155318636,1],<br>
                                  [1445155319636,1],<br>
                                  [1445155321636,1],<br>
                                  [1445155323636,1],<br>
                                  [1445155325636,1]<br>
                                  <br>
                                </div>
                                Es wird jeder Impuls einzeln
                                geschrieben, aber immer mit Abständen
                                von 1 oder (nicht bis!) 2 Sekunden.<br>
                                <br>
                              </div>
                              @Matthias: wir hatten hier neulich eine
                              Diskussion über Sekundenauflösung. Das
                              Beispiel hier zeigt wieder dass wir
                              Millisekunden brauchen.<br>
                              <br>
                            </div>
                            Wäre es möglich GPIO so umzubauen dass alle
                            Impulse sofort geliefert werden statt im
                            Sekundenrhythmus? Wer mehr will muss dann
                            halt mmap verwenden?<br>
                            <br>
                          </div>
                          Viele Grüße,<br>
                        </div>
                        Andreas<br>
                        <br>
                      </div>
                      <div>
                        <div>
                          <div class="gmail_extra"><br>
                            <div class="gmail_quote">2015-10-18 16:20
                              GMT+02:00 Karlheinz <span dir="ltr"><<a href="mailto:karlheinz.es@gmx.de" target="_blank"></a><a href="mailto:karlheinz.es@gmx.de" target="_blank">karlheinz.es@gmx.de</a>></span>:<br>
                              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                <div text="#000000" bgcolor="#FFFFFF">
                                  <div>Hi,<span><br>
                                      <br>
------- Original Nachricht --------<br>
                                      Betreff: Re: [vz-users] Raspberry
                                      Volkszähler mit Erweiterung ohne
                                      Schaltausgänge - S0 zeigt Sägezahn<br>
                                      <br>
                                    </span></div>
                                  <span> <br>
                                    <blockquote type="cite">
                                      <div>Moin,</div>
                                      <div><br>
                                        Am 18.10.2015 um 07:35 schrieb
                                        Matthias Behr <<a href="mailto:mbehr@mcbehr.de" target="_blank"></a><a href="mailto:mbehr@mcbehr.de" target="_blank">mbehr@mcbehr.de</a>>:<br>
                                        <br>
                                      </div>
                                      <blockquote type="cite">
                                        <div> Ja, es werden immer
                                          Impulse pro Sek. geliefert.
                                          <div>Wieviel Impulse pro
                                            Zeiteinheit hast du?</div>
                                        </div>
                                      </blockquote>
                                    </blockquote>
                                  </span> Mein PV Zähler liefert 2000
                                  Imp / kWh. Pro Zeiteinheit ist keine
                                  Aussage möglich - je mehr Leistung,
                                  desto mehr Impulse pro Sekunde. Ab
                                  1000 Watt sind es dann regelmäßig 1-2
                                  Impulse pro Sekunde.<br>
                                  Wäre eine feinere Auflösung pro ms
                                  (für die power-Berechnung) und eine
                                  spätere Aggregation auf Sekunde
                                  möglich?<span><br>
                                    <blockquote type="cite">
                                      <div><br>
                                      </div>
                                      Wenn ich den aktuellen
                                      Kurvenverlauf anschaue dann
                                      scheinen alle 2,5 Sekunden
                                      Messwerte reinzukommen. Nicht klar
                                      ist woher die 2,5-
                                      Sekundenauflösung kommt.</blockquote>
                                  </span> die 2,5-Sekundenauflösung kann
                                  ich nicht nachvollziehen. Ich sehe
                                  jede Sekunde eine Messung.<br>
                                  <pre>14447351<b>25</b>358, 14447351<b>26</b>359, 14447351<b>27</b>359 ...</pre>
                                  <span> <br>
                                    <blockquote type="cite">
                                      <div><br>
                                      </div>
                                      <div>Probehalber könnte man mal
                                        von gpio auf mmap umstellen?</div>
                                      <div><br>
                                      </div>
                                      <div>Viele Grüße, Andreas </div>
                                      <div><br>
                                        <blockquote type="cite">
                                          <div>
                                            <div><br>
                                            </div>
                                            <div><br>
                                              <div>
                                                <blockquote type="cite">
                                                  <div>Am 16.10.2015 um
                                                    23:56 schrieb
                                                    Andreas Götz <<a href="mailto:cpuidle@gmail.com" target="_blank"></a><a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a>>:</div>
                                                  <br>
                                                  <div>
                                                    <div dir="auto">
                                                      <div>Hi,</div>
                                                      <div><br>
                                                        Am 16.10.2015 um
                                                        23:05 schrieb
                                                        Karlheinz <<a href="mailto:karlheinz.es@gmx.de" target="_blank"></a><a href="mailto:karlheinz.es@gmx.de" target="_blank">karlheinz.es@gmx.de</a>>:<br>
                                                        <br>
                                                      </div>
                                                      <blockquote type="cite">
                                                        <div>
                                                          <div>Hi,<br>
                                                          <br>
                                                          ich beobachte
                                                          ähnliche
                                                          Spitzen ohne
                                                          aggmode/aggtime.
                                                          Kann es sein,
                                                          dass die
                                                          Impulse nur
                                                          sekundeweise
                                                          anstatt pro ms
                                                          gezählt
                                                          werden?<br>
                                                          </div>
                                                        </div>
                                                      </blockquote>
                                                      <div><br>
                                                      </div>
                                                      Nutzt Du auch
                                                      gpio?
                                                      <div><br>
                                                        <blockquote type="cite">
                                                          <div>
                                                          <div> Real
                                                          waren es ca.
                                                          1500 kW. So
                                                          sah das mit
                                                          vzlogger aus
                                                          (2000
                                                          Imp/kWh):<br>
                                                          <a href="https://gist.githubusercontent.com/gitka/0cfc59ce364024abd3b4/raw/3923a1d637bae348fc0b2f1938fe2cf3ad5a5f8e/httpd%2520Ausgabe" target="_blank"></a><a href="https://gist.githubusercontent.com/gitka/0cfc59ce364024abd3b4/raw/3923a1d637bae348fc0b2f1938fe2cf3ad5a5f8e/httpd%2520Ausgabe" target="_blank">https://gist.githubusercontent.com/gitka/0cfc59ce364024abd3b4/raw/3923a1d637bae348fc0b2f1938fe2cf3ad5a5f8e/httpd%2520Ausgabe</a><br>
                                                          <br>
                                                          Gruß<br>
                                                          Karlheinz<br>
                                                          </div>
                                                          </div>
                                                        </blockquote>
                                                        <br>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                              </div>
                                            </div>
                                          </div>
                                        </blockquote>
                                      </div>
                                    </blockquote>
                                    <br>
                                  </span></div>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>