<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title></title></head><body><p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Hallo zusammen,</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">ich versuche jetzt schon seit 2 Tagen meine Konfiguration mit dem vzlogger ans Laufen zu bringen - leider bisher nur  mit mittlerem Erfolg...</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Aber vielleicht erst mal etwas zur meine Konfiguration:</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Ich verwenden einen Raspberry Pi (Model 3) mit dem Volkszähler Image. Das Image habe ich mit "update" und "upgrade" auf den aktuellen Stand gebracht. </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Als Messkopf für den Elektro-Zähler verwende ich den IR-Schreib-Lesekopf von Weidmann Elektronik (<a href="https://shop.weidmann-elektronik.de/index.php?page=product&info=24">https://shop.weidmann-elektronik.de/index.php?page=product&info=24</a>). Der Link für "lesekopf0" basierend auf "/dev/ttyUSB0" ist angelegt und funktioniert (hab eich mit "cat /dev/lesekopf0 | od -tx1" getestet). </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Mein Zähler ist ein Iskraemeco MT175, der vierstellige Pin ist eingegeben, d.h. der Zähler liefert zusätzlich die momentane Gesamtleistung, sowie die Leistung aller 3 Phasen.</span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Mit Hilfe des Scrips "3_push_sml.conf" aus <a href="https://wiki.volkszaehler.org/howto/edl-ehz_unknown"><span style="color: black; text-decoration: none; text-underline: none;">https://wiki.volkszaehler.org/howto/edl-ehz_unknown</span></a> erhalte ich folgende Daten:</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">[Dec 20 14:56:21][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=1389170.20 ts=1576850181695<br />[Dec 20 14:56:21][mtr0] Reading: id=1-0:1.8.1*255/ObisIdentifier:1-0:1.8.1*255 value=1389170.20 ts=1576850181695<br />[Dec 20 14:56:21][mtr0] Reading: id=1-0:1.8.2*255/ObisIdentifier:1-0:1.8.2*255 value=0.00 ts=1576850181695<br />[Dec 20 14:56:21][mtr0] Reading: id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=37286.10 ts=1576850181695<br />[Dec 20 14:56:21][mtr0] Reading: id=1-0:2.8.1*255/ObisIdentifier:1-0:2.8.1*255 value=37286.10 ts=1576850181695<br />[Dec 20 14:56:21][mtr0] Reading: id=1-0:2.8.2*255/ObisIdentifier:1-0:2.8.2*255 value=0.00 ts=1576850181695<br />[Dec 20 14:56:21][mtr0] Reading: id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=1548.00 ts=1576850181695<br />[Dec 20 14:56:21][mtr0] Reading: id=1-0:36.7.0*255/ObisIdentifier:1-0:36.7.0*255 value=682.00 ts=1576850181695<br />[Dec 20 14:56:21][mtr0] Reading: id=1-0:56.7.0*255/ObisIdentifier:1-0:56.7.0*255 value=436.00 ts=1576850181695<br />[Dec 20 14:56:21][mtr0] Reading: id=1-0:76.7.0*255/ObisIdentifier:1-0:76.7.0*255 value=428.00 ts=1576850181695</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"> </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">So weit, so gut.</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"> </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Allerdings bekomme ich die Daten (vermutlich) nicht in die Datenbank, bzw. die HTML-Seite zeigt nichts an:</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"> </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Hier meine Test-Konfigurationsdatei (vzlogger.conf) aus dem pi-Homeverzeichnis:</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">{<br />"retry": 3,<br />"daemon": true,<br />"verbosity": 15,<br />"log": "/home/pi/vzlogger.log",<br />"local": {<br />"enabled": false,<br />"port": 8080,<br />"index": false,<br />"timeout": 30,<br />"buffer": 600<br />},<br />"meters": [ {<br />"enabled": true,<br />"protocol": "sml",<br />"device": "/dev/lesekopf0",<br />"baudrate": 9600,<br />"parity": "8n1",<br />"channels": [{<br />"uuid" : "7c2e9840-2331-11ea-b5a4-b550cb76ef0a",<br />"middleware" : "http://localhost/middleware.php",<br />"identifier" : "1-0:16.7.0*255"<br />}]<br />}]<br />}</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"> </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Wenn ich das Ganze mit "vzlogger -c vzlogger.conf" starte, dann erhalte ich folgende "vzlogger.log":</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"><br />[Dec 20 16:13:08][main] vzlogger v0.7.0 based on heads/master-0-g12e74ddd43 from Sun, 2 Jun 2019 20:48:14 +0200 started.<br />[Dec 20 16:13:08][mtr0] Creating new meter with protocol sml.<br />[Dec 20 16:13:08][mtr0] Meter configured, enabled.<br />[Dec 20 16:13:08] New meter initialized (protocol=sml)<br />[Dec 20 16:13:08] Configure channel.<br />[Dec 20 16:13:08][chn0] New channel initialized (uuid=...76ef0a api=volkszaehler id=1-0:16.7.0*255)<br />[Dec 20 16:13:08] Have 1 meters.<br />[Dec 20 16:13:08][main] log level is 15<br />[Dec 20 16:13:08][main] daemon=1, local=0<br />[Dec 20 16:13:08] Daemonize process...<br />[Dec 20 16:13:09] Opened logfile /home/pi/vzlogger.log<br />[Dec 20 16:13:09][push] No pushDataServer defined.<br />[Dec 20 16:13:09][] ===> Start meters<br />[Dec 20 16:13:09][mtr0] Meter connection established<br />[Dec 20 16:13:09][mtr0] Meter thread started<br />[Dec 20 16:13:09][mtr0] Meter is opened. Starting channels.<br />[Dec 20 16:13:09][mtr0] Number of readers: 32<br />[Dec 20 16:13:09][mtr0] Config.daemon: 1<br />[Dec 20 16:13:09][chn0] Logging thread started<br />[Dec 20 16:13:09][] Startup done.<br />[Dec 20 16:13:09][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes<br />[Dec 20 16:13:09][chn0] Using default volkszaehler api.<br />[Dec 20 16:13:09][mtr0] Config.local: 0</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"> </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Ein "sudo systemctl start vzlogger" liefert aber leider keine Ergebnisse ... da die grüne LED auf der Rückseite des IR-Schreib-Lesekopfs nicht blinkt, gehe ich davon aus, dass schon keine Anfrage an die Hardware raus geht :-(</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"> </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Vielleicht kann mir da jemand weiterhelfen - ich bin für jede Hilfe dankbar!</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"> </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">Gruß, Norbert</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"> </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;">PS: Bin ziemlich Windows-lastig und kämpfe mich mehr schlecht als recht durch das Linux des RasPi</span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"> </span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"> </span></p></body></html>