<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hallo.<div><br></div><div>Was verstehst Du unter deaktivieren und was willst Du erreichen?</div><div>Wenn Du nur den vzlogger benötigst, dann würde ich nicht das Image vom Volkszähler nehmen, sondern auf einem Minimal-OS nur den vzlogger installieren.</div><div>Wenn Du das Image verwendest, musst Du halt alle unnötigen Services deaktivieren.</div><div><br></div><div>Stefan<br><br><div dir="ltr">Von meinem iPad gesendet</div><div dir="ltr"><br><blockquote type="cite">Am 03.02.2021 um 08:15 schrieb Richard Nussdorfer <richard.nussdorfer@gmail.com>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">Hallo,<div>kannst du mir sagen, wie ich die middleware und Frontend deaktiver, nicht nur nicht aufrufe?</div><div>BG</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Di., 2. Feb. 2021 um 20:09 Uhr schrieb Stefan Bauer <<a href="mailto:spam@stefan-bauer.net">spam@stefan-bauer.net</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">So 100%ig weiß ich das auch nicht, was jede Zeile heißt.<div>Das „oms“ ist auf alle Fälle das lesen der aktuellen Daten.</div><div>Beim „CURL“ werden zum Ende hin Daten an die middleware übergeben...</div><div><br></div><div>Stefan<br><br><div dir="ltr">Von meinem iPad gesendet</div><div dir="ltr"><br><blockquote type="cite">Am 02.02.2021 um 14:50 schrieb Richard Nussdorfer <<a href="mailto:richard.nussdorfer@gmail.com" target="_blank">richard.nussdorfer@gmail.com</a>>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div>Hallo Stefan,</div><div>Würdest Du mir bitte helfen die Einträge einzuordnen:</div><div><br></div><div>14:47:00 oms -> dh vom IR-Kopf werden Daten aus dem Amis ausgelesen und an VZLogger übergeben</div><div>14:47:00 chnx -> die Daten werden an Empfänger übergeben?</div><div>14:47:01 oms … Beginn von neuem, also 1s Intervall</div><div><br></div><div>BG</div><div><br></div><div>[Feb 02 14:47:00][oms]  got valid mbus frame with len=95, type=4 control=73 controlinfo=5b address=f0</div><div>[Feb 02 14:47:00][oms]  control_word = 0x550</div><div>[Feb 02 14:47:00][oms]  AES with dyn. init. vector for 5 16-byte blocks plus 3 unencrypted data bytes</div><div>[Feb 02 14:47:00][oms]  got 10 data records: active mbus_debug for detail infos</div><div>[Feb 02 14:47:00][oms]  DIF=06, NDIFE=00, DIFE1=00, VIF=6d, NVIFE=00 VIFE1=00 VIFE2=00</div><div>[Feb 02 14:47:00][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=03, NVIFE=00 VIFE1=00 VIFE2=00</div><div>[Feb 02 14:47:00][oms]  Obis 1.8.0 12016046.000000 Energy (Wh)</div><div>[Feb 02 14:47:00][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=83, NVIFE=01 VIFE1=3c VIFE2=00</div><div>[Feb 02 14:47:00][oms]  Obis 2.8.0 18236420.000000 Energy (Wh)</div><div>[Feb 02 14:47:00][oms]  DIF=84, NDIFE=01, DIFE1=10, VIF=fb, NVIFE=02 VIFE1=82 VIFE2=73</div><div>[Feb 02 14:47:00][oms]  DIF=84, NDIFE=01, DIFE1=10, VIF=fb, NVIFE=03 VIFE1=82 VIFE2=f3</div><div>[Feb 02 14:47:00][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=2b, NVIFE=00 VIFE1=00 VIFE2=00</div><div>[Feb 02 14:47:00][oms]  Obis 1.7.0 3023.000000 Power (W)</div><div>[Feb 02 14:47:00][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=ab, NVIFE=01 VIFE1=3c VIFE2=00</div><div>[Feb 02 14:47:00][oms]  Obis 2.7.0 0.000000 Power (W)</div><div>[Feb 02 14:47:00][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=fb, NVIFE=01 VIFE1=14 VIFE2=00</div><div>[Feb 02 14:47:00][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=fb, NVIFE=02 VIFE1=94 VIFE2=3c</div><div>[Feb 02 14:47:00][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=83, NVIFE=02 VIFE1=ff VIFE2=04</div><div>[Feb 02 14:47:00][chn0] Adding reading to queue (value=12016046.00 ts=1612273654000)</div><div>[Feb 02 14:47:00][chn1] Adding reading to queue (value=18236420.00 ts=1612273654000)</div><div>[Feb 02 14:47:00][chn2] Adding reading to queue (value=3023.00 ts=1612273654000)</div><div>[Feb 02 14:47:00][chn3] Adding reading to queue (value=0.00 ts=1612273654000)</div><div>[Feb 02 14:47:00][chn2] ==> number of tuples: 1</div><div>[Feb 02 14:47:00][chn3] ==> number of tuples: 1</div><div>[Feb 02 14:47:00][chn2] compare: 1612273653000 1612273654000</div><div>[Feb 02 14:47:00][chn3] compare: 1612273653000 1612273654000</div><div>[Feb 02 14:47:00][chn2] JSON request body: [ [ 1612273654000, 3023 ] ]</div><div>[Feb 02 14:47:00][chn0] ==> number of tuples: 1</div><div>[Feb 02 14:47:00][chn0] compare: 1612273653000 1612273654000</div><div>[Feb 02 14:47:00][chn1] ==> number of tuples: 1</div><div>[Feb 02 14:47:00][chn1] compare: 1612273653000 1612273654000</div><div>[Feb 02 14:47:00][chn3] JSON request body: [ [ 1612273654000, 0 ] ]</div><div>[Feb 02 14:47:00][chn2] CURL Request succeeded with code: 200</div><div>[Feb 02 14:47:00][chn3] CURL Request succeeded with code: 200</div><div>[Feb 02 14:47:00][chn0] JSON request body: [ [ 1612273654000, 12016046 ] ]</div><div>[Feb 02 14:47:00][chn0] CURL Request succeeded with code: 200</div><div>[Feb 02 14:47:00][chn1] JSON request body: [ [ 1612273654000, 18236420 ] ]</div><div>[Feb 02 14:47:00][chn1] CURL Request succeeded with code: 200</div><div>[Feb 02 14:47:00][chn0] ==> number of tuples: 0</div><div>[Feb 02 14:47:00][chn1] ==> number of tuples: 0</div><div>[Feb 02 14:47:00][chn0] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:00][chn1] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:00][chn3] ==> number of tuples: 0</div><div>[Feb 02 14:47:00][chn3] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:00][chn2] ==> number of tuples: 0</div><div>[Feb 02 14:47:00][chn2] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:01][chn0] ==> number of tuples: 0</div><div>[Feb 02 14:47:01][chn1] ==> number of tuples: 0</div><div>[Feb 02 14:47:01][chn3] ==> number of tuples: 0</div><div>[Feb 02 14:47:01][chn1] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:01][chn3] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:01][chn0] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:01][chn2] ==> number of tuples: 0</div><div>[Feb 02 14:47:01][chn2] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:01][chn0] ==> number of tuples: 0</div><div>[Feb 02 14:47:01][chn1] ==> number of tuples: 0</div><div>[Feb 02 14:47:01][chn3] ==> number of tuples: 0</div><div>[Feb 02 14:47:01][chn1] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:01][chn0] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:01][chn3] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:01][chn2] ==> number of tuples: 0</div><div>[Feb 02 14:47:01][chn2] JSON request body is null. Nothing to send now.</div><div>[Feb 02 14:47:01][oms]  got valid mbus frame with len=95, type=4 control=53 controlinfo=5b address=f0</div><div>[Feb 02 14:47:01][oms]  control_word = 0x550</div><div>[Feb 02 14:47:01][oms]  AES with dyn. init. vector for 5 16-byte blocks plus 3 unencrypted data bytes</div><div>[Feb 02 14:47:01][oms]  got 10 data records: active mbus_debug for detail infos</div><div>[Feb 02 14:47:01][oms]  DIF=06, NDIFE=00, DIFE1=00, VIF=6d, NVIFE=00 VIFE1=00 VIFE2=00</div><div>[Feb 02 14:47:01][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=03, NVIFE=00 VIFE1=00 VIFE2=00</div><div>[Feb 02 14:47:01][oms]  Obis 1.8.0 12016047.000000 Energy (Wh)</div><div>[Feb 02 14:47:01][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=83, NVIFE=01 VIFE1=3c VIFE2=00</div><div>[Feb 02 14:47:01][oms]  Obis 2.8.0 18236420.000000 Energy (Wh)</div><div>[Feb 02 14:47:01][oms]  DIF=84, NDIFE=01, DIFE1=10, VIF=fb, NVIFE=02 VIFE1=82 VIFE2=73</div><div>[Feb 02 14:47:01][oms]  DIF=84, NDIFE=01, DIFE1=10, VIF=fb, NVIFE=03 VIFE1=82 VIFE2=f3</div><div>[Feb 02 14:47:01][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=2b, NVIFE=00 VIFE1=00 VIFE2=00</div><div>[Feb 02 14:47:01][oms]  Obis 1.7.0 3025.000000 Power (W)</div><div>[Feb 02 14:47:01][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=ab, NVIFE=01 VIFE1=3c VIFE2=00</div><div>[Feb 02 14:47:01][oms]  Obis 2.7.0 0.000000 Power (W)</div><div>[Feb 02 14:47:01][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=fb, NVIFE=01 VIFE1=14 VIFE2=00</div><div>[Feb 02 14:47:01][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=fb, NVIFE=02 VIFE1=94 VIFE2=3c</div><div>[Feb 02 14:47:01][oms]  DIF=04, NDIFE=00, DIFE1=00, VIF=83, NVIFE=02 VIFE1=ff VIFE2=04</div><div>[Feb 02 14:47:01][chn0] Adding reading to queue (value=12016047.00 ts=1612273655000)</div><div>[Feb 02 14:47:01][chn1] Adding reading to queue (value=18236420.00 ts=1612273655000)</div><div>[Feb 02 14:47:01][chn2] Adding reading to queue (value=3025.00 ts=1612273655000)</div><div>[Feb 02 14:47:01][chn3] Adding reading to queue (value=0.00 ts=1612273655000)</div><div>[Feb 02 14:47:01][chn0] ==> number of tuples: 1</div><div>[Feb 02 14:47:01][chn0] compare: 1612273654000 1612273655000</div><div>[Feb 02 14:47:01][chn1] ==> number of tuples: 1</div><div>[Feb 02 14:47:01][chn0] JSON request body: [ [ 1612273655000, 12016047 ] ]</div><div>[Feb 02 14:47:01][chn1] compare: 1612273654000 1612273655000</div><div>[Feb 02 14:47:01][chn3] ==> number of tuples: 1</div><div>[Feb 02 14:47:01][chn3] compare: 1612273654000 1612273655000</div><div>[Feb 02 14:47:01][chn2] ==> number of tuples: 1</div><div>[Feb 02 14:47:01][chn2] compare: 1612273654000 1612273655000</div><div>[Feb 02 14:47:01][chn0] CURL Request succeeded with code: 200</div><div>[Feb 02 14:47:01][chn1] JSON request body: [ [ 1612273655000, 18236420 ] ]</div><div>[Feb 02 14:47:01][chn1] CURL Request succeeded with code: 200</div><div><br></div><div><br></div><div><br><blockquote type="cite"><div>Am 02.02.2021 um 13:43 schrieb Stefan Bauer <<a href="mailto:spam@stefan-bauer.net" target="_blank">spam@stefan-bauer.net</a>>:</div><br><div><div dir="auto">Und schon auch einen „Fehler“ gefunden.<div>Im Log hast Du z.b. einen Eintrag heute von 12:47:39 mit dem timestamp 1612266493000</div><div>Der Timestamp vom Zähler läuft aber auf 12:48:13 Uhr</div><div><br></div><div>Welche Zeit jetzt korrekt ist, kann ich natürlich nicht sagen.</div><div><br></div><div>Stefan<br><br><div dir="ltr">Von meinem iPad gesendet</div><div dir="ltr"><br><blockquote type="cite">Am 02.02.2021 um 13:40 schrieb Stefan Bauer <<a href="mailto:spam@stefan-bauer.net" target="_blank">spam@stefan-bauer.net</a>>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">In der Ansicht siehst Du die letzten Werte. Aber die stehen bei Dir ja auch im ausführlichen Log drin.<div>Da siehst Du, wann was mit welchem Zeitstempel übermittelt wurde....</div><div><br></div><div>Stefan<br><br><div dir="ltr">Von meinem iPad gesendet</div><div dir="ltr"><br><blockquote type="cite">Am 02.02.2021 um 12:51 schrieb Richard Nussdorfer <<a href="mailto:richard.nussdorfer@gmail.com" target="_blank">richard.nussdorfer@gmail.com</a>>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">Hallo Stefan,<div><br></div><div>der httpd sollte aktiv auf 8081 sein, wie kann dort das beobachten?</div><div><br></div><div>VZL läuft auf einem Raspi4</div><div><br></div><div>BG</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Di., 2. Feb. 2021 um 12:48 Uhr schrieb Stefan Bauer <<a href="mailto:spam@stefan-bauer.net" target="_blank">spam@stefan-bauer.net</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Zum sehen der Live-Werte bietet es sich eher an im vzlogger den httpd zu aktivieren und darüber beobachten...<br>
Sind die Daten im Frontend dann von der Uhrzeit auch 14s versetzt? Dann ist es eher ein Zeitproblem vom Zähler oder vom System auf dem der vzlogger läuft...<br>
<br>
Stefan<br>
<br>
Von meinem iPad gesendet<br>
<br>
> Am 02.02.2021 um 12:41 schrieb Richard Nussdorfer <<a href="mailto:richard.nussdorfer@gmail.com" target="_blank">richard.nussdorfer@gmail.com</a>>:<br>
> <br>
> <br>
> Hallo!<br>
> <br>
> Wollte fragen wie genau sich das Verhält.<br>
> Ich sehe am Zähler den Wert für Bezug/Lieferung (Hager), dem Amis nachgeschaltet.<br>
> <br>
> Der Amis wird per IR-Kopf ausgelesen (Code, Netz-OÖ) und jede Sekunde soll ein Wert kommen.<br>
> Wie ist die Verzögerung über die Middleware zum Frontend.<br>
> Im Frontend ist reingezoomt auf 2s (max).<br>
> <br>
> Ich habe gestoppt, vom Erscheinen des Lieferungspfeiles am Zähler bis im Frontend dieses eine Lieferung erkannt hat, vergingen 14s!<br>
> <br>
> OK, was heißt das?<br>
> BG Richard<br>
> <br>
<br>
</blockquote></div>
</div></blockquote></div></div></blockquote></div></div></div></blockquote></div><br></div></blockquote></div></div></blockquote></div>
</div></blockquote></div></body></html>