<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>Neuer Thread- das hilft nicht grad bei der Übersicht ;)</div><div><br>Am 29.11.2015 um 20:33 schrieb Marius Brahm <<a href="mailto:marius.brahm@gmx.de">marius.brahm@gmx.de</a>>:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> volkszaehler-users [<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org">mailto:volkszaehler-users-bounces@demo.volkszaehler.org</a>] <b>Im Auftrag von </b>Andreas Goetz<br><b>Gesendet:</b> Freitag, 20. November 2015 11:34<br><b>An:</b> <a href="http://volkszaehler.org">volkszaehler.org</a> - users <<a href="mailto:volkszaehler-users@demo.volkszaehler.org">volkszaehler-users@demo.volkszaehler.org</a>><br><b>Betreff:</b> Re: [vz-users] S0-Impulse Interval verkürzen<o:p></o:p></span></p><p class="MsoNormal"><o:p> </o:p></p><div><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-IE">Moin<o:p></o:p></span></p><div><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-IE"><o:p> </o:p></span></p><div><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-IE">2015-11-20 11:30 GMT+01:00 Udo1 <</span><a href="mailto:udo1@gmx.net" target="_blank"><span lang="EN-IE">udo1@gmx.net</span></a><span lang="EN-IE">>:<o:p></o:p></span></p><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><p class="MsoNormal" style="margin-left:35.4pt">Am 20.11.2015 um 11:15 schrieb Brahm, Marius:<o:p></o:p></p><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><p class="MsoNormal" style="margin-left:35.4pt">es sind etwa 20 St.<o:p></o:p></p></blockquote><p class="MsoNormal" style="margin-left:35.4pt">Betrifft wohl dieses Thema:<br><a href="https://github.com/volkszaehler/vzlogger/issues/206" target="_blank">https://github.com/volkszaehler/vzlogger/issues/206</a><br><br>Ich meine das ist schon erledigt. Vielleicht mal auf die neueste vzlogger-Version updaten:<o:p></o:p></p></blockquote><div><p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt"><br>Es ist das Thema, aber auch mit der Lösung gibt es- wie geschrieben- nur 1 Timestamp pro Sekunde.<o:p></o:p></p><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Vielen Dank für die Antworten!<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Ich habe mich nun etwas in vzlogger und co eingelesen. Wenn ich den Code ändere, sollte es doch funktionieren. <o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Folgendes ist mir noch nicht ganz klar. Die Middleware frägt doch beim vzlogger (Controller) via http die Daten an. </span></p></div></div></div></div></div></div></blockquote><div><br></div>Nein. Vzlogger schickt entweder wenn Daten kommen oder in regelmässigem Intervall an die Middleware. <div><br><blockquote type="cite"><div><div class="WordSection1"><div><div><div><div><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Das heißt die Häufigkeit der Anfragen sollte doch das Zeitintervall verkürzen, warum dann in vzlogger eingreifen, oder habe ich da etwas grundlegendes falsch verstanden?</span></p></div></div></div></div></div></div></blockquote><div><br></div>Ja, s.o.</div><div><br><blockquote type="cite"><div><div class="WordSection1"><div><div><div><div><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Erst einmal vielleicht noch die allgemeine Frage ob man das mit einer „kleinen” Änderung vornehmen kann, oder ob das tiefer in die Struktur eingreift als gedacht.</span></p></div></div></div></div></div></div></blockquote><div><br></div>K.A.- da kann ich leider nicht helfen.</div><div><br><blockquote type="cite"><div><div class="WordSection1"><div><div><div><div><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Klar unter Buffer / MeterS0 / api und co ist einiges mit Intervall und Zeitstempeln. Gerade bei der MeterS0.cpp bin ich auf einen verdächtigen Wert gestoßen <o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom:6.0pt"><span lang="EN-IE" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">680: int rv = poll(&poll_fd, 1, 1000);    // timeout set to 1s<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Vielen Dank schon mal!<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Gruß<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Marius</span></p></div></div></div></div></div></div></blockquote><div><br></div>Was willst Du denn eigentlich erreichen? Vllt gibts ja andere Wege?</div><div><br></div><div>Viele Grüße, Andreas <br><blockquote type="cite"><div><div class="WordSection1"><div><div><div><div><p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p></div><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><p class="MsoNormal" style="margin-left:35.4pt"><br>Gruß<br>Udo<o:p></o:p></p></blockquote></div><p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p></div><div><p class="MsoNormal" style="margin-left:35.4pt">Viele Grüße,<o:p></o:p></p></div><div><p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">Andreas<o:p></o:p></p></div></div></div></div></blockquote></div></body></html>