<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hallo Daniel,</div>
<div> </div>
<div>ich habe den Identifier jetzt einmal geändert:</div>
<div> "identifier": "1-0:1.8.0*255",<br/>
</div>
<div>
<div>Die Baudrate hatte ich auf 9600 gesetzt, da so anscheinend überhaupt irgend welche lesbaren Daten kommen.</div>
<div>Mit 300 Baud sieht das Ergebnis so aus:</div>
<div><br/>
!pi@raspberrypi:~ $ cat /dev/ttyUSB0<br/>
GAGgz/|<'W|#/|3 tG-su <x=|Kq2C~<)MtWGW[54B~yToqiyO9O*gTo>$}<<ChOiU\y<U\O=|/Ougu7|!;KKG|'K~-;KYU356<y|/xcGe~uzUu+ycxu|<~8IGu||w+y%e%'9~%;?zcKdu}zu<}cK?|qAix9dqx99?|z9u7~wP|9ZyU|wk<br/>
1y^C<br/>
</div>
<div> </div>
<div> </div>
<div>Stelle ich auf 9600 zurück, kommt wieder das:</div>
<div> </div>
<div> </div>
<div>
<div>pi@raspberrypi:~ $ cat /dev/ttyUSB0<br/>
G803<br/>
0.25001G000479)1-1.8*25013.93*h)1-0.8.25500014*k</div>
<div>0:.0*5(v.043,2705)<br/>
-06.9*250F6</div>
<div>0:.972500000<br/>
!/LOLK1E803</div>
<div><br/>
0:91.055(1LO065197</div>
<div>0:1.0*5(392968kW</div>
<div>1:2.0*5(00.14*kW</div>
<div>10.*2(v.032F1704<br/>
1-6..255(6)-07.0*5(0000)</div>
<div><br/>
/LOLK1E8039</div>
<div>1-96.0*2(00OG00479<br/>
1-.8*20124688Wh)-08.25000.11*kWh<br/>
1-.2.255er.,4322015041-960.5566)1-977.2550000</div>
<div>!/L5LKE803</div>
<div><br/>
0:91.05(1L006419)</div>
<div>0:8.0^C<br/>
</div>
<div> </div>
<div> </div>
<div>Jetzt scheint aber auch etwas im Diagramm zu passieren - siehe Screenshot anbei.</div>
<div> </div>
</div>
<div>Meine vzlogger.conf sieht jetzt so aus:</div>
<div> </div>
<div>{<br/>
"retry": 0,<br/>
"daemon": true,<br/>
"verbosity": 15,<br/>
"log": "/var/log/vzlogger.log",<br/>
"local": {<br/>
"enabled": false,<br/>
"port": 8080,<br/>
"index": true,<br/>
"timeout": 0,<br/>
"buffer": 0<br/>
},<br/>
"meters": [<br/>
{<br/>
"enabled": true,<br/>
"allowskip": false,<br/>
"interval": -1,<br/>
"aggtime": -1,<br/>
"aggfixedinterval": false,<br/>
"channels": [<br/>
{<br/>
"uuid": "d180b100-b336-11eb-92b3-4bf13b0415b4",<br/>
"identifier": "1-0:1.8.0*255",<br/>
"api": "volkszaehler",<br/>
"middleware": "http://localhost/middleware.php",<br/>
"aggmode": "max",<br/>
"duplicates": 30<br/>
}<br/>
],<br/>
"protocol": "d0",<br/>
"device": "/dev/ttyUSB0",<br/>
"dump_file": "",<br/>
"pullseq": "2F3F210D0A",<br/>
"ackseq": "063030300D0A",<br/>
"baudrate": 9600,<br/>
"parity": "7E1",<br/>
"read_timeout": 15,<br/>
"wait_sync": "off",<br/>
"baudrate_change_delay": 0<br/>
}<br/>
]<br/>
}</div>
<div> </div>
<div> </div>
<div>Das vzlogger.log wird ziemlich voll. Hier allein die letzten Sekunden:</div>
<div> </div>
<div>[May 13 11:26:13][d0] DEBUG OBIS_CODE byte <br/>
hex= A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 1 hex= 31 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte - hex= 2D <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte : hex= 3A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 2 hex= 32 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte . hex= 2E <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 8 hex= 38 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte . hex= 2E <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte * hex= 2A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 2 hex= 32 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 5 hex= 35 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 5 hex= 35 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte ( hex= 28 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 1 hex= 31 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= . hex= 2e <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 1 hex= 31 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 4 hex= 34 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 9 hex= 39 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 1 hex= 31 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= * hex= 2a <br/>
[May 13 11:26:13][d0] Parsed reading (OBIS code=1-0:2.8.0*255, value=000001.1491, unit=kWh)<br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte <br/>
hex= A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte <br/>
hex= A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 1 hex= 31 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte - hex= 2D <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte : hex= 3A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte . hex= 2E <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 2 hex= 32 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte . hex= 2E <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte * hex= 2A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 2 hex= 32 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 5 hex= 35 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 5 hex= 35 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte ( hex= 28 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= v hex= 76 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= e hex= 65 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= r hex= 72 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= . hex= 2e <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 3 hex= 33 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= , hex= 2c <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 4 hex= 34 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 3 hex= 33 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 2 hex= 32 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= F hex= 46 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= , hex= 2c <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 2 hex= 32 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 1 hex= 31 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 7 hex= 37 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 5 hex= 35 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 4 hex= 34 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= ) hex= 29 <br/>
[May 13 11:26:13][d0] Parsed reading (OBIS code=1-0:0.2.0*255, value=ver.03,432F,20170504, unit=)<br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte <br/>
hex= A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte <br/>
hex= A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 1 hex= 31 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte - hex= 2D <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte : hex= 3A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 9 hex= 39 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 6 hex= 36 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte . hex= 2E <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 9 hex= 39 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte . hex= 2E <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 2 hex= 32 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte * hex= 2A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 2 hex= 32 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 5 hex= 35 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 5 hex= 35 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte ( hex= 28 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= F hex= 46 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 6 hex= 36 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 6 hex= 36 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= ) hex= 29 <br/>
[May 13 11:26:13][d0] Parsed reading (OBIS code=1-0:96.90.2*255, value=0F66, unit=)<br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte <br/>
hex= A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte <br/>
hex= A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 1 hex= 31 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte - hex= 2D <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte : hex= 3A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 9 hex= 39 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 7 hex= 37 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte . hex= 2E <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 9 hex= 39 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 7 hex= 37 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte . hex= 2E <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte * hex= 2A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 2 hex= 32 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 5 hex= 35 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte 5 hex= 35 <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte ( hex= 28 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= 0 hex= 30 <br/>
[May 13 11:26:13][d0] DEBUG VALUE byte= ) hex= 29 <br/>
[May 13 11:26:13][d0] Parsed reading (OBIS code=1-0:97.97.0*255, value=00000000, unit=)<br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte <br/>
hex= A <br/>
[May 13 11:26:13][d0] DEBUG OBIS_CODE byte <br/>
hex= A <br/>
[May 13 11:26:13][d0] Read package with 6 tuples (vendor=LOG, baudrate=5, identification=LK13BE803039)<br/>
[May 13 11:26:13][mtr0] Got 6 new readings from meter:<br/>
[May 13 11:26:13][mtr0] Reading: id=1-0:96.1.0*255/ObisIdentifier:1-0:96.1.0*255 value=1.00 ts=1620897973845<br/>
[May 13 11:26:13][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=13925.25 ts=1620897973877<br/>
[May 13 11:26:13][mtr0] Reading: id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=1.15 ts=1620897973895<br/>
[May 13 11:26:13][mtr0] Reading: id=1-0:0.2.0*255/ObisIdentifier:1-0:0.2.0*255 value=0.00 ts=1620897973917<br/>
[May 13 11:26:13][mtr0] Reading: id=1-0:96.90.2*255/ObisIdentifier:1-0:96.90.2*255 value=0.00 ts=1620897973934<br/>
[May 13 11:26:13][mtr0] Reading: id=1-0:97.97.0*255/ObisIdentifier:1-0:97.97.0*255 value=0.00 ts=1620897973958<br/>
[May 13 11:26:13][chn0] Adding reading to queue (value=13925.25 ts=1620897973877)<br/>
[May 13 11:26:13][MAX] 13925.249800 @ 1620897973877<br/>
[May 13 11:26:13][MAX] RESULT 13925.249800 @ 1620897973877<br/>
[May 13 11:26:13][chn0] ==> number of tuples: 1<br/>
[May 13 11:26:13][chn0] compare: 1620897972962 1620897973877<br/>
[May 13 11:26:13][chn0] copied 1/1 values for middleware transmission<br/>
[May 13 11:26:13][chn0] JSON request body: [ [ 1620897973877, 13925.2498 ] ]<br/>
[May 13 11:26:13][chn0] CURL: Expire in 0 ms for 6 (transfer 0xb4b00cd8)<br/>
[May 13 11:26:13][chn0] CURL: Expire in 30000 ms for 8 (transfer 0xb4b00cd8)<br/>
[May 13 11:26:13][chn0] CURL: Found bundle for host localhost: 0xb4b0dd80 [can pipeline]<br/>
[May 13 11:26:13][chn0] CURL: Could pipeline, but not asked to!<br/>
[May 13 11:26:13][chn0] CURL: Re-using existing connection! (#17) with host localhost<br/>
[May 13 11:26:13][chn0] CURL: Connected to localhost (::1) port 80 (#17)<br/>
[May 13 11:26:13][chn0] CURL: Expire in 0 ms for 6 (transfer 0xb4b00cd8)<br/>
[May 13 11:26:13][d0] sending pullsequenz send (len:5 is:5).<br/>
[May 13 11:26:13][chn0] CURL: Sent 33 bytes: '[ [ 1620897973877, 13925.2498 ] ]'<br/>
[May 13 11:26:13][chn0] CURL: upload completely sent off: 33 out of 33 bytes<br/>
[May 13 11:26:14][chn0] CURL: Received 26 bytes: '{"version":"0.3","rows":1}'<br/>
[May 13 11:26:14][chn0] CURL: Connection #17 to host localhost left intact<br/>
[May 13 11:26:14][chn0] CURL Request succeeded with code: 200<br/>
[May 13 11:26:14][chn0] emptied all (1) values<br/>
</div>
<div> </div>
<div>Vielleicht sollte ich den loglevel ändern? ich habe ihn mal auf 1 gesetzt. Was meinst Du?</div>
<div> </div>
<div> </div>
<div>Ich nutze derzeit eine 8GB SD Karte. Kann das zu Problemen führen (Datenmenge, Schreibzugriffe auf SD Karte)? Ich nutze noch eine Synology NAS, kann das ggf. ein Ziel sein? Was müsste ich dafür tun?</div>
<div> </div>
<div>Danke für Deine Hilfe und viele Grüße</div>
<div>Mirko</div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Donnerstag, 13. Mai 2021 um 00:44 Uhr<br/>
<b>Von:</b> "Daniel Lauckner" <vz@jahp.de><br/>
<b>An:</b> "volkszaehler.org - users" <volkszaehler-users@demo.volkszaehler.org><br/>
<b>Betreff:</b> Re: [vz-users] Volkszähler: Zählerwerte werden nicht dargestellt</div>
<div name="quoted-content">Hallo,<br/>
<br/>
<br/>
am Mittwoch, 12. Mai 2021 um 23:25 hat Mail geschrieben:<br/>
> 0:1.551LO065197<br/>
> 1:1.0*5(0919495Wh)1-2.0*2(0001.91*h)1-0.2*25ver3,4F,1704)<br/>
> -0:.90*250F6<br/>
> 1:977.25500000<br/>
> ! jjT><br/>
> 1:9.1.*25(001OG06541979)<br/>
<br/>
Mit dem Schrott wird das eher nix werden.<br/>
<br/>
Mal ne Frage: Warum hast du eine andere Baudrate konfiguriert als in der Beispielconfig angegeben?<br/>
<br/>
> "identifier": "1.8.0",<br/>
<br/>
Wenn mal zufällig brauchbare Daten anliegen werden die vermutlich nicht genommen weil der Obis-Code eigentlich anders ist:<br/>
1-0:1.8.0*255<br/>
<br/>
Und das mit dem use_local_time kannst du ganz raus nehmen, den Parameter gibt's nur bei SML, nicht bei d0.<br/>
<br/>
<br/>
mfg Daniel<br/>
</div>
</div>
</div>
</div></div></body></html>