<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">spricht der Zähler denn tatsächlich D0? Was für ein Modell ist es denn? Und was liefert cat /dev/ttyUSB0? Du hast ja oben geschrieben, dass du so siehst dass Daten ankommen.</div><div dir="auto"><br></div><div dir="auto">Grüße</div><div dir="auto">Frank</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Olaf Koestner <<a href="mailto:okoestner@outlook.de" target="_blank" rel="noreferrer">okoestner@outlook.de</a>> schrieb am Do., 6. Jan. 2022, 11:07:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="DE" link="blue" vlink="purple" style="word-wrap:break-word">
<div>
<p class="MsoNormal">Hi!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Erstmal vielen Dank für Deine Hilfe. Leider will es noch nicht so richtig funktionieren. Die conf-Datei sieht jetzt wie folgt aus:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"># cat vzlogger.conf<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">{<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "retry": 0,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "verbosity": 15,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "log": "/var/log/vzlogger.log",<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "push": [],<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "local": {<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "enabled": true,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "port": 8080,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "index": false,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "timeout": 0,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "buffer": 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> },<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "meters": [<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">
</span><span style="font-size:10.5pt;font-family:Menlo;color:#202126">{<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.5pt;font-family:Menlo;color:#202126"> "enabled": true,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.5pt;font-family:Menlo;color:#202126"> "allowskip": false,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.5pt;font-family:Menlo;color:#202126">
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">"interval": -1,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "aggtime": -1,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "aggfixedinterval": false,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "channels": [<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">
</span><span style="font-size:10.5pt;font-family:Menlo;color:#202126">{<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.5pt;font-family:Menlo;color:#202126"> "uuid": "593973f0-6e16-11ec-965b-e1c08c0e9a60",<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.5pt;font-family:Menlo;color:#202126">
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">"middleware": "<a href="http://192.168.97.210/middleware.php" rel="noreferrer noreferrer" target="_blank">http://192.168.97.210/middleware.php</a>",<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "identifier": "1-0:1.8.1"<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> }],<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "protocol": "d0",<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "device": "/dev/ttyUSB0",<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "dump_file": "",<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "pullseq": "",<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "ackseq": "auto",<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "baudrate": 9600,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "baudrate_read": 9600,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "parity": "7e1",<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "wait_sync": "off",<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "read_timeout": 10,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126"> "baudrate_change_delay": 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">
</span><span style="font-size:10.5pt;font-family:Menlo;color:#202126">}<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.5pt;font-family:Menlo;color:#202126"> ]<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.5pt;font-family:Menlo;color:#202126">}<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Und im Log Folgendes:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][main] vzlogger v0.8.1 based on heads/master-0-g037ab6b6a6 from Sat, 20 Nov 2021 14:46:15 +0100
started.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][push] Ignoring push entry due to empty array or duplicate section<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][mtr0] Creating new meter with protocol d0.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][d0] pullseq len:0 found<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][d0] using autoack<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][mtr0] Meter configured, enabled.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23] New meter initialized (protocol=d0)<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23] Configure channel.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][chn0] New channel initialized (uuid=...0e9a60 api=volkszaehler id=1-0:1.8.1)<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23] Have 1 meters.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][main] log level is 15<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][main] local=1<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23] Daemonize process...<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23] Opened logfile /var/log/vzlogger.log<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][push] No pushDataServer defined.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][] ===> Start meters<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][mtr0] Meter connection established<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][mtr0] Meter thread started<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][mtr0] Meter is opened. Starting channels.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][chn0] Logging thread started<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][chn0] Start logging thread for volkszaehler-api.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][http] Starting local interface HTTPd on port 8080<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][mtr0] Number of readers: 400<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][mtr0] Config.local: 1<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][chn0] Using default volkszaehler api.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:23][] Startup done.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][d0] Read package with 0 tuples (vendor=, baudrate=, identification=<u$)<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:24][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][d0] Read package with 0 tuples (vendor=, baudrate=, identification=<u$)<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:25][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][d0] Read package with 0 tuples (vendor=, baudrate=, identification=<u$)<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][d0] Read package with 0 tuples (vendor=, baudrate=, identification=<u$)<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:27][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][d0] Something unexpected happened: read:822!<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][d0] Read package with 0 tuples (vendor=, baudrate=, identification=<u$)<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][mtr0] Got 0 new readings from meter:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][chn0] ==> number of tuples: 0<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:28][chn0] JSON request body is null. Nothing to send now.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:30][] main loop indicating all mappings to quit<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:30][mtr0] MeterMap::cancel entered...<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:30][mtr0] MeterMap::cancel wait for readingthread<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:30][mtr0] MeterMap::cancel wait for meter::close<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:30][mtr0] MeterMap::cancel finished.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:30][] Server stopped.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:30][] Waiting for httpd to stop...<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:30][] httpd stopped<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:30][] Trying to delete curlSessionProvider...<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.5pt;font-family:Menlo;color:#202126">[Jan 06 11:00:30][] deleted curlSessionProvider<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Ich habe auch mit OBIS Code 1.8.0 probiert. Leider das gleiche Ergebnis.<u></u><u></u></p>
<p class="MsoNormal">Was bedeutet das nun? Und insb. das „read:822!“?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Viele Grüße,<u></u><u></u></p>
<p class="MsoNormal">Olaf<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">Von:
</span></b><span style="font-size:12.0pt;color:black">volkszaehler-users <<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org" rel="noreferrer noreferrer" target="_blank">volkszaehler-users-bounces@demo.volkszaehler.org</a>> im Auftrag von Maik Weidemann <m+vz@weidemann.online><br>
<b>Datum: </b>Mittwoch, 5. Januar 2022 um 22:06<br>
<b>An: </b><a href="http://volkszaehler.org" rel="noreferrer noreferrer" target="_blank">volkszaehler.org</a> - users <<a href="mailto:volkszaehler-users@demo.volkszaehler.org" rel="noreferrer noreferrer" target="_blank">volkszaehler-users@demo.volkszaehler.org</a>><br>
<b>Betreff: </b>Re: [vz-users] Daten werden nicht gespeichert</span><span style="font-size:12.0pt;color:black"><u></u><u></u></span></p>
</div>
<p class="MsoNormal">Hallo Olaf,<br>
<br>
leider haben wir beide zuletzt nicht die Mailingliste erwischt... Ich hole das mal nach..<br>
<br>
Klar steht im Log ganz eindeutig dein Problem:<br>
<br>
<u></u><u></u></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">No functional meters found - quitting!</span><u></u><u></u></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt">Du musst in der Konfiguration, also in der /etc/vzlogger.conf erst mal ein paar Sachen konfigurieren, z. B. einen "meter" mit "channels" die du loggen möchtest. :-)<br>
<br>
Hier sind alles Parameter der Konfigurations-Datei beschrieben:<br>
<a href="https://wiki.volkszaehler.org/software/controller/vzlogger/vzlogger_conf_parameter#use_local_time" rel="noreferrer noreferrer" target="_blank">https://wiki.volkszaehler.org/software/controller/vzlogger/vzlogger_conf_parameter</a><br>
<br>
Es gibt a auch ein Tool, um die Konfiguration zusammen zu klicken:<br>
<a href="http://volkszaehler.github.io/vzlogger/" rel="noreferrer noreferrer" target="_blank">http://volkszaehler.github.io/vzlogger/</a><br>
<br>
Wenn du die vzlogger.conf aus dem Git-Repo verwendest, dann musst du die folgenden Parameter ändern:<br>
<img border="0" width="986" height="640" style="width:10.2708in;height:6.6666in" id="m_3872035923866128662m_-5823887339309675924_x0000_i1025" src="cid:part1.ti0BV9O9.dsp8ljzc@weidemann.online"><br>
<br>
"enabled" muss auf "true" gesetzt werden.<br>
Bei "device" muss du deinen USB Port eintragen, wo dein USB-IR-Kopf hängt, also /dev/ttyUSB0<br>
<br>
Im gelben Block, wird dann der Obis-Code 1.8.0 ausgelesen, dass ist der Zählerstand, ggf. ist es auch 1.8.1, das hängt von der Konfiguration deines Zähler ab.<br>
<br>
Wenn du dann im vzlogger.log mehr siehst, dann kannst du ins Detail einsteigen. Ggf. den Log-Level "verbosity" auf 15 stellen.<br>
<br>
Grüße<br>
Maik<br>
<br>
<br>
<u></u><u></u></p>
<div>
<p class="MsoNormal">Am 05.01.22 um 16:36 schrieb Olaf Koestner:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hallo Maik,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">danke für den Hinweis. Der vzlogger lief noch gar nicht.<u></u><u></u></p>
<p class="MsoNormal">Allerdings bekomme ich den auch nicht zum Laufen. Ich habe den vzlogger kompiliert, kann den Dienst dann aber nicht über systemctl starten.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p><span><b><span lang="EN-US">●</span></b></span><span lang="EN-US"> vzlogger.service - vzlogger</span><u></u><u></u></p>
<p><span><span lang="EN-US"> </span></span><span lang="EN-US">Loaded: loaded (/etc/systemd/system/vzlogger.service; disabled; vendor preset: enabled)</span><u></u><u></u></p>
<p><span><span lang="EN-US"> </span></span><span lang="EN-US">Active:
</span><span><b><span lang="EN-US">failed</span></b></span><span lang="EN-US"> (Result: exit-code) since Wed 2022-01-05 16:25:09 CET; 7min ago</span><u></u><u></u></p>
<p><span><span lang="EN-US"> </span></span><span lang="EN-US">Process: 6376 ExecStart=/usr/local/bin/vzlogger -c /etc/vzlogger.conf
</span><span><b><span lang="EN-US">(code=exited, status=1/FAILURE)</span></b></span><u></u><u></u></p>
<p><span><span lang="EN-US"> </span></span><span lang="EN-US">Main PID: 6376 (code=exited, status=1/FAILURE)</span><u></u><u></u></p>
<p><span lang="EN-US"> </span><u></u><u></u></p>
<p><span lang="EN-US">Jan 05 16:25:09 maschine systemd[1]: Started vzlogger.</span><u></u><u></u></p>
<p><span><span lang="EN-US">Jan 05 16:25:09 maschine systemd[1]:
</span></span><b><span lang="EN-US">vzlogger.service: Main process exited, code=exited, status=1/FAILURE</span></b><u></u><u></u></p>
<p><span><span lang="EN-US">Jan 05 16:25:09 maschine systemd[1]:
</span></span><b><span lang="EN-US">vzlogger.service: Unit entered failed state.</span></b><u></u><u></u></p>
<p><span><span lang="EN-US">Jan 05 16:25:09 maschine systemd[1]:
</span></span><b><span lang="EN-US">vzlogger.service: Failed with result 'exit-code'.</span></b><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal">Sehe da jetzt keine konkrete Fehlermeldung. Im Log-File finde ich:<u></u><u></u></p>
<p><span lang="EN-US">[Jan 05 16:34:37] <span>
</span>No functional meters found - quitting!</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal">Ich habe die vzlogger.conf aus dem Installationsverzeichnis genommen und erstmal so belassen. Habe aber auch gerade keinen Schimmer, wie ich die für meinen USB-Lesekopf anpassen muss…<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Vile Grüße,<u></u><u></u></p>
<p class="MsoNormal">Olaf<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">Von:
</span></b><span style="font-size:12.0pt;color:black">Maik Weidemann <a href="mailto:m+vz@weidemann.online" rel="noreferrer noreferrer" target="_blank">
<m+vz@weidemann.online></a><br>
<b>Datum: </b>Mittwoch, 5. Januar 2022 um 15:38<br>
<b>An: </b>Olaf Koestner <a href="mailto:okoestner@outlook.de" rel="noreferrer noreferrer" target="_blank"><okoestner@outlook.de></a><br>
<b>Betreff: </b>Re: [vz-users] Daten werden nicht gespeichert</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Moin Olaf,<br>
<br>
was sagt denn das Log von vzlogger auf dem Raspi?<br>
Das sollte unter /var/log/vzlogger.log zu finden sein.<br>
<br>
Hier noch ein paar Hinweise:<br>
<a href="https://wiki.volkszaehler.org/howto/debug" rel="noreferrer noreferrer" target="_blank">https://wiki.volkszaehler.org/howto/debug</a><br>
<br>
Ggf. ist es auch Zeit-Problem. Manche Zähler liefern eine falsche Zeit mit dem SML Telegram, dann werden "jetzt" aber keine Werte angezeigt, die gibt es nur dann irgendwann früher... Dafür gibt es dann für SML Zähler den Parameter use_local_time
<a href="https://wiki.volkszaehler.org/software/controller/vzlogger/vzlogger_conf_parameter#use_local_time" rel="noreferrer noreferrer" target="_blank">
https://wiki.volkszaehler.org/software/controller/vzlogger/vzlogger_conf_parameter#use_local_time</a><br>
<br>
Gruß<br>
Maik<br>
<br>
<br>
<u></u><u></u></p>
<div>
<p class="MsoNormal">Am 05.01.22 um 12:47 schrieb Olaf Koestner:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:black">Hallo!</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">Ich bin neu hier und installiere gerade zum ersten Mal den Volkszähler auf meinem Raspi. Die Einrichtung der Software habe ich hinbekommen. Und einen USB-IR-Kopf habe ich auch konfiguriert.
Über „cat /dev/ttyUSB0“ sehe ich auch, dass mein Raspi die Daten auslesen kann.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">Leider werden die Daten nicht in die Datenbank gespeichert und somit auch nicht im Frontend angezeigt.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">Hat jemand eine Idee, wie ich hier in das Debugging einsteigen kann? Woran kann es liegen, dass die Daten des konfigurierten Kanals nicht in der Datenbank gespeichert werden?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">Viele Grüße,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">Olaf</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</blockquote>
<p class="MsoNormal"><span> </span><u></u><u></u></p>
</blockquote>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
</div>
</blockquote></div>