<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Startest du vzlogger als root („sudo vzlogger…“)?<div class="">Siehst du folgende Fehlermeldung gleich nach Start: (der Log beginnt erst später)</div><div class=""><br class=""></div><div class=""><div class=""><span class="Apple-tab-span" style="white-space:pre">                 </span>print(log_error, "failed to set policy to SCHED_FIFO for counter_thread", name().c_str());</div></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 06.11.2015 um 20:20 schrieb Karlheinz <<a href="mailto:karlheinz.es@gmx.de" class="">karlheinz.es@gmx.de</a>>:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" class="">
  
  <div smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF" class="">
    <div id="smartTemplate4-template" class="">Github unterschlägt meinen
      Screenshot, deshalb noch einmal zu PR216:<br class="">
      Meiner Meinung nach, sieht das gut aus.<br class="">
      Es gibt zwar "Ausreisser" in den Momentanwerten (vzlogger
      energy_current S0), aber im Schnitt (vzlogger 1m-avg) passt es.
      "web direkt" kommt vom Wechselrichter-Web-Frontend.<br class="">
      log v. 12:00 - 12:20 liegt unter
      <a class="moz-txt-link-freetext" href="https://gist.github.com/gitka/f0e8297fed3a0a716e9e#file-vzlogger-log">https://gist.github.com/gitka/f0e8297fed3a0a716e9e#file-vzlogger-log</a><br class="">
      <br class="">
      <span id="cid:part1.08050707.02080204@gmx.de"><Mail-Anhang.png></span><br class="">
      (Auswertung über FHEM)<br class="">
      <br class="">
      Gruß<br class="">
      Karlheinz<br class="">
      <br class="">
      ------- Original Nachricht --------<br class="">
      Betreff: Re: [vz-users]Raspberry Volkszähler mit Erweiterung ohne
      Schaltausgänge - S0 zeigt Sägezahn<br class="">
      Von: Andreas Goetz<br class="">
      An: <a href="http://volkszaehler.org" class="">Volkszaehler.org</a> - Users<br class="">
      Datum: Montag, 26. Oktober 2015 08:24:14<font size="-1" class=""> </font></div>
    <br class="">
    <blockquote cite="mid:CAD+a8MjzKTcXx_vMbDyULL0WUdOJVOGxZW9+OAV4wfDSPH-zaw@mail.gmail.com" type="cite" class="">
      <div dir="ltr" class="">
        <div class="">Moin Jörg,<br class="">
          <br class="">
          Matthias war so nett und hat die Timestamps
          überarbeitet.Könntest Du bitte mal testen: <a moz-do-not-send="true" href="https://github.com/volkszaehler/vzlogger/pull/211" class=""></a><a class="moz-txt-link-freetext" href="https://github.com/volkszaehler/vzlogger/pull/211">https://github.com/volkszaehler/vzlogger/pull/211</a>
          <br class="">
          <br class="">
        </div>
        <div class="">Viele Grüße,<br class="">
        </div>
        <div class="">Andreas<br class="">
          <br class="">
        </div>
        <br class="">
      </div>
      <div class="gmail_extra"><br class="">
        <div class="gmail_quote">2015-10-19 8:00 GMT+02:00 Andreas Goetz
          <span dir="ltr" class=""><<a moz-do-not-send="true" href="mailto:cpuidle@gmail.com" target="_blank" class="">cpuidle@gmail.com</a>></span>:<br class="">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr" class="">
              <div class="">
                <div class="">Ich hab mal ein issue aufgemacht: <a moz-do-not-send="true" href="https://github.com/volkszaehler/vzlogger/issues/206" target="_blank" class=""></a><a class="moz-txt-link-freetext" href="https://github.com/volkszaehler/vzlogger/issues/206">https://github.com/volkszaehler/vzlogger/issues/206</a><br class="">
                  <br class="">
                </div>
                Viele Grüße,<br class="">
              </div>
              Andreas<br class="">
              <br class="">
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br class="">
                  <div class="gmail_quote">2015-10-18 22:49 GMT+02:00
                    Andreas Goetz <span dir="ltr" class=""><<a moz-do-not-send="true" href="mailto:cpuidle@gmail.com" target="_blank" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:cpuidle@gmail.com">cpuidle@gmail.com</a>></span>:<br class="">
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr" class="">
                        <div class="">
                          <div class="">
                            <div class="">
                              <div class="">
                                <div class="">
                                  <div class="">Ich sehe alle 1-2 Sekunden eine
                                    Messung:<br class="">
                                    <br class="">
                                    [1445155286634,3596.404],<br class="">
                                    [1445155288634,1800],<br class="">
                                    [1445155290634,1800],<br class="">
                                    [1445155291634,3600],<br class="">
                                    [1445155293634,1800],<br class="">
                                    [1445155295634,1800],<br class="">
                                    [1445155297634,1800],<br class="">
                                    [1445155298634,3600],<br class="">
                                    [1445155300635,1799.1],<br class="">
                                    [1445155302635,1800],<br class="">
                                    [1445155304635,1800],<br class="">
                                    [1445155305635,3600],<br class="">
                                    [1445155307635,1800],<br class="">
                                    [1445155309635,1800],<br class="">
                                    [1445155311635,1800],<br class="">
                                    [1445155312635,3600],<br class="">
                                    [1445155314636,1799.1],<br class="">
                                    [1445155316636,1800],<br class="">
                                    [1445155318636,1800],<br class="">
                                    [1445155319636,3600],<br class="">
                                    [1445155321636,1800],<br class="">
                                    [1445155323636,1800],<br class="">
                                    [1445155325636,1800]<br class="">
                                    <br class="">
                                  </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 class="">
                                  <br class="">
                                  [1445155286634,1],<br class="">
                                  [1445155288634,1],<br class="">
                                  [1445155290634,1],<br class="">
                                  [1445155291634,1],<br class="">
                                  [1445155293634,1],<br class="">
                                  [1445155295634,1],<br class="">
                                  [1445155297634,1],<br class="">
                                  [1445155298634,1],<br class="">
                                  [1445155300635,1],<br class="">
                                  [1445155302635,1],<br class="">
                                  [1445155304635,1],<br class="">
                                  [1445155305635,1],<br class="">
                                  [1445155307635,1],<br class="">
                                  [1445155309635,1],<br class="">
                                  [1445155311635,1],<br class="">
                                  [1445155312635,1],<br class="">
                                  [1445155314636,1],<br class="">
                                  [1445155316636,1],<br class="">
                                  [1445155318636,1],<br class="">
                                  [1445155319636,1],<br class="">
                                  [1445155321636,1],<br class="">
                                  [1445155323636,1],<br class="">
                                  [1445155325636,1]<br class="">
                                  <br class="">
                                </div>
                                Es wird jeder Impuls einzeln
                                geschrieben, aber immer mit Abständen
                                von 1 oder (nicht bis!) 2 Sekunden.<br class="">
                                <br class="">
                              </div>
                              @Matthias: wir hatten hier neulich eine
                              Diskussion über Sekundenauflösung. Das
                              Beispiel hier zeigt wieder dass wir
                              Millisekunden brauchen.<br class="">
                              <br class="">
                            </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 class="">
                            <br class="">
                          </div>
                          Viele Grüße,<br class="">
                        </div>
                        Andreas<br class="">
                        <br class="">
                      </div>
                      <div class="">
                        <div class="">
                          <div class="gmail_extra"><br class="">
                            <div class="gmail_quote">2015-10-18 16:20
                              GMT+02:00 Karlheinz <span dir="ltr" class=""><<a moz-do-not-send="true" href="mailto:karlheinz.es@gmx.de" target="_blank" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:karlheinz.es@gmx.de">karlheinz.es@gmx.de</a>></span>:<br class="">
                              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                <div text="#000000" bgcolor="#FFFFFF" class="">
                                  <div class="">Hi,<span class=""><br class="">
                                      <br class="">
------- Original Nachricht --------<br class="">
                                      Betreff: Re: [vz-users] Raspberry
                                      Volkszähler mit Erweiterung ohne
                                      Schaltausgänge - S0 zeigt Sägezahn<br class="">
                                      <br class="">
                                    </span></div>
                                  <span class=""> <br class="">
                                    <blockquote type="cite" class="">
                                      <div class="">Moin,</div>
                                      <div class=""><br class="">
                                        Am 18.10.2015 um 07:35 schrieb
                                        Matthias Behr <<a moz-do-not-send="true" href="mailto:mbehr@mcbehr.de" target="_blank" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:mbehr@mcbehr.de">mbehr@mcbehr.de</a>>:<br class="">
                                        <br class="">
                                      </div>
                                      <blockquote type="cite" class="">
                                        <div class=""> Ja, es werden immer
                                          Impulse pro Sek. geliefert.
                                          <div class="">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 class="">
                                  Wäre eine feinere Auflösung pro ms
                                  (für die power-Berechnung) und eine
                                  spätere Aggregation auf Sekunde
                                  möglich?<span class=""><br class="">
                                    <blockquote type="cite" class="">
                                      <div class=""><br class="">
                                      </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 class="">
                                  <pre class="">14447351<b class="">25</b>358, 14447351<b class="">26</b>359, 14447351<b class="">27</b>359 ...</pre>
                                  <span class=""> <br class="">
                                    <blockquote type="cite" class="">
                                      <div class=""><br class="">
                                      </div>
                                      <div class="">Probehalber könnte man mal
                                        von gpio auf mmap umstellen?</div>
                                      <div class=""><br class="">
                                      </div>
                                      <div class="">Viele Grüße, Andreas </div>
                                      <div class=""><br class="">
                                        <blockquote type="cite" class="">
                                          <div class="">
                                            <div class=""><br class="">
                                            </div>
                                            <div class=""><br class="">
                                              <div class="">
                                                <blockquote type="cite" class="">
                                                  <div class="">Am 16.10.2015 um
                                                    23:56 schrieb
                                                    Andreas Götz <<a moz-do-not-send="true" href="mailto:cpuidle@gmail.com" target="_blank" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:cpuidle@gmail.com">cpuidle@gmail.com</a>>:</div>
                                                  <br class="">
                                                  <div class="">
                                                    <div dir="auto" class="">
                                                      <div class="">Hi,</div>
                                                      <div class=""><br class="">
                                                        Am 16.10.2015 um
                                                        23:05 schrieb
                                                        Karlheinz <<a moz-do-not-send="true" href="mailto:karlheinz.es@gmx.de" target="_blank" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:karlheinz.es@gmx.de">karlheinz.es@gmx.de</a>>:<br class="">
                                                        <br class="">
                                                      </div>
                                                      <blockquote type="cite" class="">
                                                        <div class="">
                                                          <div class="">Hi,<br class="">
                                                          <br class="">
                                                          ich beobachte
                                                          ähnliche
                                                          Spitzen ohne
                                                          aggmode/aggtime.
                                                          Kann es sein,
                                                          dass die
                                                          Impulse nur
                                                          sekundeweise
                                                          anstatt pro ms
                                                          gezählt
                                                          werden?<br class="">
                                                          </div>
                                                        </div>
                                                      </blockquote>
                                                      <div class=""><br class="">
                                                      </div>
                                                      Nutzt Du auch
                                                      gpio?
                                                      <div class=""><br class="">
                                                        <blockquote type="cite" class="">
                                                          <div class="">
                                                          <div class=""> Real
                                                          waren es ca.
                                                          1500 kW. So
                                                          sah das mit
                                                          vzlogger aus
                                                          (2000
                                                          Imp/kWh):<br class="">
                                                          <a moz-do-not-send="true" href="https://gist.githubusercontent.com/gitka/0cfc59ce364024abd3b4/raw/3923a1d637bae348fc0b2f1938fe2cf3ad5a5f8e/httpd%2520Ausgabe" target="_blank" class=""></a><a class="moz-txt-link-freetext" href="https://gist.githubusercontent.com/gitka/0cfc59ce364024abd3b4/raw/3923a1d637bae348fc0b2f1938fe2cf3ad5a5f8e/httpd%2520Ausgabe">https://gist.githubusercontent.com/gitka/0cfc59ce364024abd3b4/raw/3923a1d637bae348fc0b2f1938fe2cf3ad5a5f8e/httpd%2520Ausgabe</a><br class="">
                                                          <br class="">
                                                          Gruß<br class="">
                                                          Karlheinz<br class="">
                                                          </div>
                                                          </div>
                                                        </blockquote>
                                                        <br class="">
                                                      </div>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                              </div>
                                            </div>
                                          </div>
                                        </blockquote>
                                      </div>
                                    </blockquote>
                                    <br class="">
                                  </span></div>
                              </blockquote>
                            </div>
                            <br class="">
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br class="">
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br class="">
  </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></body></html>