<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//DE"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><TITLE></TITLE></HEAD><BODY><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;"><p style="margin:0px;padding:0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Hallo zusammen,</span></p>
<p style="margin:0px;padding:0px;"> </p>
<p style="margin:0px;padding:0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">ich bin neu hier, daher bitte ich um etwas Nachsicht ;)</span></p>
<p style="margin:0px;padding:0px;"> </p>
<p style="margin:0px;padding:0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Ich versuche die ganze Zeit meinen USB-IR-Schreib-Lesekopf (von Udo) über den vzlogger auszulesen. Aber ich komme nicht weiter ... aber von vorn:</span></p>
<p style="margin:0px;padding:0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Der Zähler ist ein ISKRAemeco MT174.<br /></span></p>
<p style="margin:0px;padding:0px;"> </p>
<p style="margin:0px;padding:0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Der Test über Putty klappt über</span></p>
<p style="margin:0px;padding:0px;"> </p>
<p style="margin:0px;padding:0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">1. Console:</span></p>
<p style="margin:0px;padding:0px;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><strong><span style="font-family: Courier New,monospace;">stty -F /dev/ttyUSB0 300 cs7 -cstopb -parodd inpck -istrip -inlcr -igncr -icrnl -opost -isig -icanon
-iexten -ixon -echo parenb min 1</span></strong></span></pre>
<p style="margin:0px;padding:0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">... dann lauschen:</span></p>
<p style="margin:0px;padding:0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"> cat /dev/ttyUSB0<br /><br /></span></p>
<p style="margin:0px;padding:0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">"Pullsequenz" über 2. Console:</span></p>
<p style="margin:0px;padding:0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">printf "x2Fx3Fx21x0Dx0A" > /dev/ttyUSB0</span></p>
<p style="margin:0px;padding:0px;"> </p>
<p style="margin:0px;padding:0px;">Ergebnis:</p>
<p style="margin:0px;padding:0px;">/ISk5MT174-0001<br />1-0:0.9.1*255(224237)<br />1-0:0.9.2*255(0131210)<br />1-0:0.0.0*255(xxxxx-xxxxxxxxxx)<br />1-0:0.0.1*255(00000000)<br />1-0:0.1.0*255(2)<br />1-0:0.2.0*255(1.03)<br />1-0:0.2.2*255(00000031)<br />0-0:C.1.0*255(xxxxxxxxxx)<br />0-0:C.1.6*255(FDF5)<br />1-0:1.6.0*255(03.532*kW)(1312011630)<br />1-0:1.7.0*255(0.516*kW)<br />1-0:1.8.0*255(0000117.265*kWh)<br />1-0:1.8.1*255(0000062.761*kWh)<br />1-0:1.8.2*255(0000054.504*kWh)<br />1-0:1.8.3*255(0000000.000*kWh)<br />1-0:1.8.4*255(0000000.000*kWh)<br />1-0:2.6.0*255(02.338*kW)(1312061145)<br />1-0:2.7.0*255(0.000*kW)<br />1-0:2.8.0*255(0000026.272*kWh)<br />1-0:2.8.1*255(0000020.493*kWh)<br />1-0:2.8.2*255(0000005.779*kWh)<br />1-0:2.8.3*255(0000000.000*kWh)<br />1-0:2.8.4*255(0000000.000*kWh)<br />0-0:F.F.0*255(0000000)<br />1-0:1.6.0*01(03.436*kW)(1311301500)<br />1-0:1.6.0*02(00.000*kW)(1311291045)<br />1-0:1.6.0*03()<br />1-0:1.6.0*04()<br />1-0:1.6.0*05()<br />1-0:1.6.0*06()<br />1-0:1.6.0*07()<br />1-0:1.6.0*08()<br />1-0:1.6.0*09()<br />1-0:1.6.0*10()<br />1-0:1.6.0*11()<br />1-0:1.6.0*12()<br />1-0:1.6.0*13()<br />1-0:1.6.0*14()<br />1-0:1.6.0*15()<br />1-0:1.8.0*01(0000023.658*kWh)<br />1-0:1.8.0*02(0000000.000*kWh)<br />1-0:1.8.0*03()<br />1-0:1.8.0*04()<br />1-0:1.8.0*05()<br />....</p>
<p style="margin:0px;padding:0px;">!</p>
<p style="margin:0px;padding:0px;"> </p>
<p style="margin:0px;padding:0px;"> </p>
<p style="margin:0px;padding:0px;">Nun der Versuch im vzlogger:</p>
<p style="margin:0px;padding:0px;">/**<br /> * vzlogger configuration<br /> *<br /> * use proper encoded JSON with javascript comments<br /> *<br /> * take a look at the wiki for detailed information:<br /> * http://wiki.volkszaehler.org/software/controller/vzlogger#configuration<br /> */<br /><br />{<br />"retry" : 30, /* how long to sleep between failed requests, in seconds */<br />"daemon": false, /* run periodically */<br />"foreground" : true, /* dont run in background (prevents forking) */<br /><br />"verbosity" : 15, /* between 0 and 15 */<br />"log" : "/var/log/vzlogger.log",/* path to logfile, optional */<br /><br />"local" : {<br /> "enabled" : false, /* should we start the local HTTPd for serving live readings? */<br /> "port" : 80, /* the TCP port for the local HTTPd */<br /> "index" : true, /* should we provide a index listing of available channels? */<br /> "timeout" : 30, /* timeout for long polling comet requests, 0 disables comet, in seconds */<br /> "buffer" : 600 /* how long to buffer readings for the local interface, in seconds */<br />},<br /><br />"meters" : [{<br /> "enabled" : true, /* disabled meters will be ignored */<br /> "protocol" : "d0", /* use 'vzlogger -h' for list of available protocols */<br /> "device" : "/dev/usb-ir-lesekopf0",<br /> "interval" : 61,<br /> "baudrate" : 300,<br /> "parity" : "7E1",<br /> "pullseq" : "2F3F210D0A",<br /> }<br />]}</p>
<p style="margin:0px;padding:0px;"> </p>
<p style="margin:0px;padding:0px;">Dann der Test mi:</p>
<p style="margin:0px;padding:0px;">vzlogger -c /var/log/vzlogger.test</p>
<p style="margin:0px;padding:0px;"> </p>
<p style="margin:0px;padding:0px;">[Dec 10 22:51:16][mtr0] Creating new meter with protocol d0.<br />[Dec 10 22:51:16][d0] pullseq len:5 found<br />[Dec 10 22:51:16][mtr0] Meter configured. enabled<br />[Dec 10 22:51:16] New meter initialized (protocol=d0)<br />[Dec 10 22:51:16] Have 1 meters.<br />[Dec 10 22:51:16][main] foreground=1, daemon=0, local=0<br />[Dec 10 22:51:16] NOT Daemonize process...<br />[Dec 10 22:51:16] Opened logfile /var/log/vzlogger.log<br />[Dec 10 22:51:16][] ===> Start meters.<br />[Dec 10 22:51:16][mtr0] Meter connection established<br />[Dec 10 22:51:16][mtr0] Meter thread started<br />[Dec 10 22:51:16][mtr0] meter is opened. Start channels.<br />[Dec 10 22:51:16][] Startup done.<br />[Dec 10 22:51:16][mtr0] Number of readers: 32<br />[Dec 10 22:51:16][mtr0] Config.daemon: 0<br />[Dec 10 22:51:16][mtr0] Config.local: 0<br />[Dec 10 22:51:16][d0] sending pullsequenz send (len:5 is:5).</p>
<p style="margin:0px;padding:0px;"><br />^C[Dec 10 22:51:22] terminating on signal 2.<br />[Dec 10 22:51:22] Closing connections to terminate<br />[Dec 10 22:51:22][] Server stopped.<br /><br /></p>
<p style="margin:0px;padding:0px;">Leider tut sich da einfach nix ... ich habe keine Idee mehr, wo ich etwas falsch mache, vielleicht sieht es einer von Euch auf anhieb. Bin dankbar für jeden Tipp.</p>
<p style="margin:0px;padding:0px;"> </p>
<p style="margin:0px;padding:0px;">Schönen Abend noch</p>
<p style="margin:0px;padding:0px;">Grüße</p>
<p style="margin:0px;padding:0px;">Thomas</p></div><br><br>---<br><div style="font-family:arial;font-size:10pt;">Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! <a style="font-family:arial;font-size:10pt;" href="http://email.freenet.de/basic/Informationen" target="_blank">Rundum glücklich mit freenetMail</a></div>
</BODY></HTML>