<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="default-style">
Moin und frohes Neues an alle!
<br>
<br>Ich habe hier einen Logarex LK13BE803339 Stromzähler. Nach Eingabe der PIN und aktivieren von "Inf" am Zähler werden d0-Daten über die Infrarot-Schnittstelle gesendet. Wenn ich /dev/ttyUSB0 auslese, sehe ich ca. alle 1,5 Sek. d0-Daten (siehe unten).
</div>
<div class="default-style">
Ich nutze einen selbst gebauten IR Lesekopf und kann damit keine Daten an den Zähler senden.
</div>
<div class="default-style">
Ich bekomme es nicht hin, vzlogger erfolgreich die d0-Daten lesen zu lassen. Ich habe bestimmt einen Fehler in meiner Config (siehe unten), aber ich finde ihn einfach nicht.
</div>
<div class="default-style">
Wenn jemand von Euch mal einen Blick auf meine Config werfen könnte, wäre das super.
</div>
<div class="default-style">
</div>
<div class="default-style">
Vielen Dank!
</div>
<div class="default-style">
Kai
<br>
<br>
<br><strong>Ausgabe von "screen /dev/ttyUSB0 9600":</strong>
<br>
<div class="default-style">
/LOG5LK13BE803339
</div>
<div class="default-style">
1-0:96.1.0*255(001LOG0067045432)
<br>1-0:1.8.0019420.0149*kWh)
<br>1-0:2.8.0*255(000000.0000*kWh)
<br>1-0:16.7.0*255
<br>1-0:32.7.0*255(232.4*V)
<br>1-0:52.7.0*255(230.0*V)
<br>1-0:72.7.0*2V)
<br>1-0:31.7.0*255(000.40*A)
<br>1-0:51.7.0*255(000.56*A)
<br>1-0:71.7.60*A)
<br>1-0:81.7.1*255(242*deg)
<br>1-0:81.7.2*255(117*deg)
<br>1-0:81060*deg)
<br>1-0:81.7.15*255(059*deg)
<br>1-0:81.7.26*255(061*deg)
<br>1-55(49.9*Hz)
<br>1-0:1.8.0*96(00016.3*kWh)
<br>1-0:1.8.0*97(00133.2*kWh8.0*98(00524.1*kWh)
<br>1-0:1.8.0*99(05496.5*kWh)
<br>1-0:1.8.0*100(19
<br>1-0:0.2.0*255(ver.03,432F,20170504)
<br>1-0:96.90.2*255(F04E)
<br>1-05(00000000)
<br>!
</div>
</div>
<div class="default-style">
<strong>vzlogger.conf:</strong>
</div>
<div class="default-style">
{
<br>"retry": 0,
<br>"verbosity": 15,
<br>"log": "/var/log/vzlogger.log",
<br>"push": [],
<br>"local": {
<br>"enabled": true,
<br>"port": 8080,
<br>"index": true,
<br>"timeout": 0,
<br>"buffer": 0
<br>},
<br>"meters": [
<br>{
<br>"enabled": true,
<br>"allowskip": false,
<br>"aggfixedinterval": false,
<br>"channels": [
<br>{
<br>"api": "null",
<br>"uuid": "00000000-0000-0000-0000-000000000180",
<br>"identifier": "1-0:1.8.0"
<br>},
<br>{
<br>"api": "null",
<br>"uuid": "00000000-0000-0000-0000-000000001670",
<br>"identifier": "1-0:16.7.0"
<br>}
<br>],
<br>"protocol": "d0",
<br>"device": "/dev/ttyUSB0",
<br>"pullseq": "",
<br>"baudrate": 9600,
<br>"parity": "8n1",
<br>"use_local_time": true,
<br>"host": ""
<br>}
<br>]
<br>}
</div>
<div class="default-style">
</div>
<div class="default-style">
vzlogger.log:
</div>
<div class="default-style">
[Jan 04 13:54:42][main] vzlogger v0.8.8 based on GIT-NOTFOUND from started.
<br>[Jan 04 13:54:42][push] Ignoring push entry due to empty array or duplicate section
<br>[Jan 04 13:54:42][mtr0] Creating new meter with protocol d0.
<br>[Jan 04 13:54:42][d0] pullseq len:0 found
<br>[Jan 04 13:54:42][mtr0] Meter configured, enabled.
<br>[Jan 04 13:54:42] New meter initialized (protocol=d0)
<br>[Jan 04 13:54:42] Configure channel.
<br>[Jan 04 13:54:42][chn0] New channel initialized (uuid=...000180 api=null id=1-0:1.8.0)
<br>[Jan 04 13:54:42] Configure channel.
<br>[Jan 04 13:54:42][chn1] New channel initialized (uuid=...001670 api=null id=1-0:16.7.0)
<br>[Jan 04 13:54:42] Have 1 meters.
<br>[Jan 04 13:54:42][main] log level is 15
<br>[Jan 04 13:54:42][main] local=1
<br>[Jan 04 13:54:42] Process not daemonized...
<br>[Jan 04 13:54:42] Opened logfile /var/log/vzlogger.log
<br>[Jan 04 13:54:42][push] No pushDataServer defined.
<br>[Jan 04 13:54:42][] ===> Start meters
<br>[Jan 04 13:54:42][mtr0] Meter connection established
<br>[Jan 04 13:54:42][mtr0] Meter thread started
<br>[Jan 04 13:54:42][mtr0] Meter is opened. Starting channels.
<br>[Jan 04 13:54:42][mtr0] Number of readers: 400
<br>[Jan 04 13:54:42][mtr0] Config.local: 1
<br>[Jan 04 13:54:42][chn0] Logging thread started
<br>[Jan 04 13:54:42][chn0] Start logging thread for null-api.
<br>[Jan 04 13:54:42][chn0] Using null api- meter data available via local httpd if enabled.
<br>[Jan 04 13:54:42][chn1] Logging thread started
<br>[Jan 04 13:54:42][chn1] Start logging thread for null-api.
<br>[Jan 04 13:54:42][chn1] Using null api- meter data available via local httpd if enabled.
<br>[Jan 04 13:54:42][http] Starting local interface HTTPd on port 8080
<br>[Jan 04 13:54:42][] Startup done.
<br>[Jan 04 13:54:50][http] Local request received: method=GET url=/ mode=(null)
<br>[Jan 04 13:54:50][000000==> number of tuples: 0
<br>[Jan 04 13:54:50][000000==> number of tuples: 0
<br>[Jan 04 13:55:05][http] Local request received: method=GET url=/ mode=(null)
<br>[Jan 04 13:55:05][000000==> number of tuples: 0
<br>[Jan 04 13:55:05][000000==> number of tuples: 0
</div>
</body>
</html>