<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 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;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-priority:99;
mso-style-link:Sprechblasentext;
font-family:"Tahoma","sans-serif";
mso-fareast-language:DE;}
span.E-MailFormatvorlage20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.E-MailFormatvorlage21
{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]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ich habe gerade entdeckt, dass man mit "dump_file": "/var/log/d0.txt", detaillierte Kommunikationsdaten mitloggen kann.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Das sieht dann so aus, und auch da ist auch wieder ein timeout zu finden:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 23.284608573s ( 0 ms) opened<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 23.299639509s ( 0 ms) read<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 23.299664093s ( 0 ms) TCIOFLUSH and cfsetiospeed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><<<<< 23.299719457s ( 0 ms) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2f 3f 21 0d 0a /?! <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>>>>>> 23.331989141s ( 23 ms) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2f 3f 21 0a 0a 2f 41 43 45 30 5c 33 6b 32 36 30 /?! /ACE0\3k260 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>56 30 31 2e 31 39 0a 0a 02 46 2e 46 28 30 30 29 V01.19 F.F(00) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>0a 0a 43 2e 31 28 31 31 32 36 31 32 30 30 35 33 C.1(1126120053 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>33 35 38 35 33 38 29 0a 0a 43 2e 35 2e 30 28 30 358538) C.5.0(0 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>30 29 0a 0a 31 2e 38 2e 31 28 30 30 39 38 39 38 0) 1.8.1(009898 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2e 32 2a 6b 57 68 29 0a 0a 21 .2*kWh) ! <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 28.559077526s ( 5220 ms) read<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 28.559118984s ( 0 ms) TCIOFLUSH and cfsetiospeed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><<<<< 28.559189349s ( 0 ms) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2f 3f 21 0d 0a /?! <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>>>>>> 28.590305647s ( 31 ms) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>7f 7f 7f <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 60.785533209s ( 25021 ms) timeout!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 60.785597115s ( 0 ms) read<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 60.785625501s ( 0 ms) TCIOFLUSH and cfsetiospeed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><<<<< 60.785708417s ( 0 ms) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2f 3f 21 0d 0a /?! <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>>>>>> 60.817479300s ( 32 ms) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2f 3f 21 0a 0a 2f 41 43 45 30 5c 33 6b 32 36 30 /?! /ACE0\3k260 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>56 30 31 7f 31 39 0a 0a 02 46 2e 46 28 30 30 29 V01 19 F.F(00) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>0a 0a 43 2e 7f 28 31 31 32 36 31 32 30 30 35 33 C. (1126120053 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>33 35 35 35 38 31 29 0a 0a 43 2e 35 2e 30 28 30 355581) C.5.0(0 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>30 29 0a 0a 31 2e 38 2e 30 28 30 30 39 34 39 38 0) 1.8.0(009498 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2e 30 2a 6b 57 68 29 0a 0a 21 .0*kWh) ! <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 66.011852634s ( 5194 ms) read<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 66.011894196s ( 0 ms) TCIOFLUSH and cfsetiospeed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><<<<< 66.011963728s ( 0 ms) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2f 3f 21 0d 0a /?! <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>>>>>> 66.044417318s ( 33 ms) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 0.915592165s ( 20271 ms) timeout!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 0.915687946s ( 0 ms) read<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>##### 0.915717269s ( 0 ms) TCIOFLUSH and cfsetiospeed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><<<<< 0.915805602s ( 0 ms) <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2f 3f 21 0d 0a /?! <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Tja, aber ansonsten wird ich da nicht schlau draus was man nun gegen das volllaufen der vzlogger.log tun kann?!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Lieben Gruß,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Chris<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Christian Wulff [mailto:christianwulff@gmx.de] <br><b>Gesendet:</b> Mittwoch, 25. Januar 2017 23:06<br><b>An:</b> 'volkszaehler.org'<br><b>Betreff:</b> AW: [vz-dev] vzlogger.log läuft voll<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Moin Frank,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>ohje, deine Nachricht hatte ich nicht gesehen. Nun hab ich sie aber gefunden:<br></span>Hallo Christian, da deine Zähler gepullt werden müssen, musst du bei "interval" das gewünschte Auslese-Intervall angeben. Gruß Frank<br><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hmm, was heisst das denn, wie muss denn der Eintrag in der vzlogger.conf aussehen?<br>Aktuell steht „interval“: -1, drin, was auch immer das heissen mag?!<o:p></o:p></span></p><p class=MsoNormal> <span lang=EN-US>{<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "enabled": true,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "allowskip": false,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "interval": -1,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "aggtime": 60,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "aggfixedinterval": false,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "channels": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "uuid": "89c0c960-8e59-11e6-81d7-efe19b94c4aa",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "identifier": "1.8.0",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "api": "volkszaehler",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "middleware": "<a href="http://localhost/middleware.php">http://localhost/middleware.php</a>",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "aggmode": "none",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "duplicates": 3600<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> ],<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "protocol": "d0",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "device": "/dev/ttyUSB1",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "pullseq": "2F3F210D0A",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "baudrate": 300,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "parity": "7e1",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> "read_timeout": 30,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> },<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Lieben Gruß,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Chris<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Frank Richter [<a href="mailto:frank.richter83@gmail.com">mailto:frank.richter83@gmail.com</a>] <br><b>Gesendet:</b> Dienstag, 24. Januar 2017 21:57<br><b>An:</b> volkszaehler.org<br><b>Betreff:</b> Re: [vz-dev] vzlogger.log läuft voll<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p>Ich hatte ja mal "interval" vorgeschlagen, hast du das probiert??<o:p></o:p></p><p>Gruß<br>Frank<o:p></o:p></p><div style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt'><p class=MsoNormal style='margin-bottom:12.0pt'>Hallo Udo,<br><br>Ich denke es stimmt, dass die Zähler S0-Impulse senden. Das ist mir auch<br>aufgefallen als ich ganz am Anfang mit dem Terminal Programm mal drauf war.<br>Kann man irgendwie sehen was dort ausgelesen wird, ohne die Hardware<br>umzubauen und mit dem Terminal Programm draufgehen? Also irgendwie live<br>anschauen was gelesen wird bei laufendem vzlogger?<br>Hier der aktuelle Ausschnitt aus der vzlogger.conf wie vorgeschlagen:<br><br> ],<br> "protocol": "d0",<br> "device": "/dev/ttyUSB1",<br> "pullseq": "2F3F210D0A",<br> "baudrate": 300,<br> "parity": "7e1",<br> "read_timeout": 30,<br> "wait_sync": "end",<br> },<br><br>Leider ändert das nichts.<br>Immer noch alle 30s die gleiche Fehlermeldung von beiden Stromzählern :-(<br><br>Any other idea?<br><br>Lieben Dank!<br>Chris<br><br><br>-----Ursprüngliche Nachricht-----<br>Von: Udo1 [mailto:<a href="mailto:udo1@gmx.net">udo1@gmx.net</a>]<br>Gesendet: Montag, 23. Januar 2017 09:12<br>An: <a href="mailto:volkszaehler-dev@demo.volkszaehler.org">volkszaehler-dev@demo.volkszaehler.org</a><br>Betreff: Re: [vz-dev] vzlogger.log läuft voll<br><br>Am 22.01.2017 um 23:17 schrieb Christian Wulff:<br>> mein vzlogger.log läuft mit folgendem Fehler voll (verbosity = 0):<br>><br>> [Jan 16 22:42:45][d0] nothing received for more than 30 seconds<br>><br>> [Jan 16 22:42:45][d0] read timed out!, context: 0, bytes read: 0, last<br>> byte 0x7f<br>><br><br>Die ACE3000 Typ 260 senden, wenn keine Anforderung von Daten erfolgt,<br>S0-Impulse über die IR-Schnittstelle. Das könnten diese 0x7f sein.<br><br>Am Ende der Datenübertragung sendet der Zähler aber ein '!'.<br>Versuch mal die vzlogger.conf um "wait_sync": "end" zu erweitern. Also:<br><br> "protocol": "d0",<br><br> "device": "/dev/ttyUSB1",<br><br> "pullseq": "2F3F210D0A",<br><br> "baudrate": 300,<br><br> "parity": "7e1",<br><br> "read_timeout": 30,<br><br> "wait_sync": "end"<br><br>Gruß<br>Udo<o:p></o:p></p></div></div></body></html>