[vz-users] Daten aus d0-Zählertelegramm werden nicht an die vzlogger-APIs übertragen

Winfried Peters winfried.peters at gmail.com
Sat Jan 16 10:06:24 CET 2016


Hallo,

ich liefere gerne für Analysezwecke weitere Informationen nach.

Was mir noch aufgefallen ist:
Nach der Pullsequenz antwortet mein Zähler mit "/EMH4\@--ITZ-G0038E". Im
d0-Dump (d0.txt) ist davon nichts zu sehen. Es sieht so aus, dass vzlogger
den Telegrammanfang nicht mitbekommt und den Zähler nicht korrekt erkennt.
Das würde auch die kryptischen Zeichen im vzlogger.log für vendor und
identification erklären:

[Jan 16 09:48:18][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=wV▒ )

Hier die Startsequenz:
root at OpenWrt:/etc# vzlogger -c vzlogger.conf.conf -l
[Jan 16 09:48:17][main] vzlogger v0.5.1 based on
heads/master-0-g11364f0d0d-dirty from Sat, 22 Aug 2015 09:23:50 -0700
started.
[Jan 16 09:48:17][mtr0] Creating new meter with protocol d0.
[Jan 16 09:48:17][d0]   pullseq len:11 found
[Jan 16 09:48:17][mtr0] Meter configured, enabled.
[Jan 16 09:48:17]       New meter initialized (protocol=d0)
[Jan 16 09:48:17]       Configure channel.
[Jan 16 09:48:17][chn0] New channel initialized (uuid=... api=null id=1.8.0)
[Jan 16 09:48:17]       Have 1 meters.
[Jan 16 09:48:17][main] log level is 15
[Jan 16 09:48:17][main] daemon=1, local=1
[Jan 16 09:48:17]       Daemonize process...

Das vzlogger.log:
root at OpenWrt:/etc# cat /var/log/vzlogger.log
[Jan 16 09:48:17]       Opened logfile /var/log/vzlogger.log
[Jan 16 09:48:17][push] No pushDataServer defined.
[Jan 16 09:48:17][]     ===> Start meters
[Jan 16 09:48:17][mtr0] Meter connection established
[Jan 16 09:48:17][mtr0] Meter thread started
[Jan 16 09:48:17][mtr0] Meter is opened. Starting channels.
[Jan 16 09:48:17][chn0] Logging thread started
[Jan 16 09:48:17][http] Starting local interface HTTPd on port 8080
[Jan 16 09:48:17][]     Startup done.
[Jan 16 09:48:17][chn0] Start logging thread for null-api. Running as
daemon: yes
[Jan 16 09:48:17][chn0] Using null api- meter data available via local
httpd if enabled.
[Jan 16 09:48:17][mtr0] Number of readers: 400
[Jan 16 09:48:17][mtr0] Config.daemon: 1
[Jan 16 09:48:17][mtr0] Config.local: 1
[Jan 16 09:48:17][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:48:17][d0]   Read package with 0 tuples (vendor=, baudrate=,
identification=)
[Jan 16 09:48:17][mtr0] Got 0 new readings from meter:
[Jan 16 09:48:17][chn0] Buffer dump (size=0): {}
[Jan 16 09:48:17][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:48:18][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=wV▒ )
[Jan 16 09:48:18][mtr0] Got 0 new readings from meter:
[Jan 16 09:48:18][chn0] Buffer dump (size=0): {}
[Jan 16 09:48:18][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:48:18][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=wV▒ )
[Jan 16 09:48:18][mtr0] Got 0 new readings from meter:
[Jan 16 09:48:18][chn0] Buffer dump (size=0): {}
[Jan 16 09:48:18][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:48:19][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=wV▒ )
[Jan 16 09:48:19][mtr0] Got 0 new readings from meter:
[Jan 16 09:48:19][chn0] Buffer dump (size=0): {}
[Jan 16 09:48:19][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:48:35][http] Local request received: method=GET url=/120a
mode=(null)
[Jan 16 09:48:35][http] Local request received: method=GET url=/120e
mode=(null)
[Jan 16 09:48:36][http] Local request received: method=GET url=/121a
mode=(null)
[Jan 16 09:48:36][http] Local request received: method=GET url=/121e
mode=(null)
[Jan 16 09:49:35][http] Local request received: method=GET url=/120a
mode=(null)
[Jan 16 09:49:35][http] Local request received: method=GET url=/120e
mode=(null)
[Jan 16 09:49:36][http] Local request received: method=GET url=/121e
mode=(null)
[Jan 16 09:49:36][http] Local request received: method=GET url=/121a
mode=(null)
[Jan 16 09:49:50][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=wV▒ )
[Jan 16 09:49:50][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:50][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:50][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:50][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:50][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:50][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:50][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:51][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:51][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:51][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:51][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:51][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:51][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:51][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:51][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:52][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:52][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:52][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:52][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:52][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:52][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:52][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:52][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:52][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:52][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:52][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:52][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:53][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:53][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:53][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:53][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:53][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:53][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:53][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:53][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:53][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:53][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:53][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:53][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:54][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:54][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:54][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:54][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:54][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:54][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:54][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:54][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:55][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:55][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:55][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:55][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:55][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:55][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:55][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:55][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:55][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:55][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:55][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:55][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:56][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:56][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:56][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:56][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:56][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:56][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:56][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:56][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:56][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:56][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:56][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:56][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:57][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:57][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:57][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:57][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:57][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:57][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:57][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:57][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:57][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:57][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:57][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:57][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:58][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:58][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:58][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:58][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:58][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:58][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:58][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:58][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:59][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:59][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:59][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:59][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:59][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:59][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:59][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:59][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:49:59][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:49:59][mtr0] Got 0 new readings from meter:
[Jan 16 09:49:59][chn0] Buffer dump (size=0): {}
[Jan 16 09:49:59][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:00][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:00][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:00][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:00][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:00][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:00][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:00][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:00][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:00][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:00][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:00][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:00][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:01][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:01][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:01][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:01][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:01][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:01][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:01][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:01][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:02][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:02][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:02][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:02][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:02][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:02][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:02][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:02][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:02][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:02][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:02][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:02][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:03][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:03][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:03][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:03][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:03][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:03][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:03][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:03][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:03][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:03][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:03][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:03][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:04][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:04][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:04][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:04][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:04][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:04][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:04][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:04][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:04][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:04][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:04][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:04][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:05][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:05][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:05][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:05][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:05][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:05][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:05][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:05][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:06][d0]   Read package with 0 tuples (vendor=wS▒▒!Jan 16 ,
baudrate=, identification=)
[Jan 16 09:50:06][mtr0] Got 0 new readings from meter:
[Jan 16 09:50:06][chn0] Buffer dump (size=0): {}
[Jan 16 09:50:06][d0]   sending pullsequenz send (len:11 is:11).
[Jan 16 09:50:06]       MapContainer::quit terminating on signal 15.
[Jan 16 09:50:06]       Closing connections to terminate
[Jan 16 09:50:06][main] MeterMap::cancel entered...
[Jan 16 09:50:06][main] MeterMap::cancel wait for readingthread
[Jan 16 09:50:06][main] MeterMap::cancel wait for meter::close
[Jan 16 09:50:06][main] MeterMap::cancel finished.
[Jan 16 09:50:06][main] MapContainer::quit finished.

Viele Grüße

Am 15. Januar 2016 um 21:59 schrieb Winfried Peters <
winfried.peters at gmail.com>:

> Hallo,
>
> ja, kenne ich. Ich habe schon vieles durchdekliniert und geprüft. Komme
> jetzt aber nicht mehr weiter.
> Ich kann noch meinen vzlogger-Versionsstand 0.5.1 nachreichen.
>
> Viele Grüße
>
> Am 15. Januar 2016 um 21:43 schrieb Andreas Götz <cpuidle at gmail.com>:
>
>> Wiki howto/debug kennst Du?
>>
>> Viele Grüße, Andreas
>>
>> > Am 15.01.2016 um 18:55 schrieb Winfried Peters <
>> winfried.peters at gmail.com>:
>> >
>> > Hallo VZ-Gemeinde,
>> >
>> > ich habe endlich meinen Drehstromzähler, ein EMH-ITZ aus dem Jahr 2010,
>> mit der richtigen Pullsequenz zum Sprechen gebracht. Das Programm HTerm als
>> auch ein "cat /dev/ttyUSB0" zeigen mir ein komplettes Zählertelegramm. Die
>> Übertragung dauert in der Regel ca. 90 Sekunden (mit 300 Baud). Udo's Tipps
>> waren da sehr hilfreich. Die Diskussion mit Udo möchte ich hier nun in der
>> VZ-Community fortführen.
>> >
>> > Mein Problem ist, dass keine Daten in der vzlogger-api, in meinem Fall
>> die httpd-api, ankommen. Das vzlogger.log registriert keine readings, die
>> vom meter in die queue gestellt werden. Interessanterweise führt der
>> d0-Dump-File (die Datei d0.txt habe ich angehängt) das übermittelte
>> Zählertelegramm auf.
>> >
>> > vzlogger wurde mit "vzlogger -c vzlogger.conf -l" gestartet.
>> >
>> > Mein Zähler übermittelt die Daten wie folgt (Auszug):
>> > .....
>> > 1.8.0*52(019189.68*kWh)
>> > 1.8.0*51(018778.01*kWh)
>> > 1.8.1(024514.26*kWh)
>> > 1.8.1*65(024336.08*kWh)
>> > 1.8.1*64(023939.30*kWh)
>> > .....
>> >
>> > Mich interessiert der Zählerstand Tarif 1 (1.8.1). Mir ist afgefallen,
>> dass mein Zählerdaten nicht der aktuellen OBIS-Definition entsprechen. Es
>> müsste 1-0:1.8.1 oder 1-1:1.8.1 heissen.
>> >
>> > Kann mir jemand sagen ob vzlogger "identifier": "1.8.1" verarbeiten
>> kann, wenn das Zählertelegramm die Daten so liefert?
>> >
>> > Oder liegt die Ursache noch woanders?
>> >
>> > Hier meine vzlogger.conf:
>> > {
>> >   "retry": 0,
>> >   "daemon": true,
>> >   "verbosity": 15,
>> >   "log": "/var/log/vzlogger.log",
>> >   "local": {
>> >      "enabled": true,
>> >      "port": 8080,
>> >      "index": true,
>> >      "timeout": 0,
>> >      "buffer": 600
>> >   },
>> >   // Meter configuration
>> >   "meters": [
>> >    {
>> >       // D0 meter (Strom)
>> >       "enabled": true,                      // disabled meters will be
>> ignored (default)
>> >       "allowskip": false,                   // errors when opening
>> meter may be ignored if enabled
>> >       "protocol": "d0",                     // meter protocol, see
>> 'vzlogger -h' for full list
>> >       "device": "/dev/ttyUSB0",             // meter device
>> >       "parity": "7e1",                      // Serial parity, 7e1 or 8n1
>> >       "wait_sync": "off",
>> >       "baudrate": 300,                      // Serial baud rate,
>> typically 9600 or 300
>> >       "pullseq": "2F3F343230383138210D0A",  // Pull sequence in 'hex'
>> >       "read_timeout": 100,                  // optional, default 10s.
>> Timeout value in secs between single bytes received from de
>> >       "dump_file": "/var/log/d0-31.txt",    // detailed log file for
>> all received/transmitted data (optional)
>> >       "baudrate_change_delay": 400,         // optional, default none.
>> Delay value in ms after ACKSEQ send before baudrate change
>> >       "interval": 10,                       // Wartezeit in Sekunden
>> bis neue Werte in die middleware ..bertragen werden
>> >       "channels": [
>> >        {
>> >           "uuid": "180a",
>> >           "identifier": "1.8.1",        // OBIS identifier Active Power
>> Counter Tarif 1
>> >           "api": "null",                    // without middleware
>> >           "aggmode": "none",                // aggregation mode:
>> aggregate meter readings during <aggtime> interval
>> >           "duplicates": 0                   // duplicate handling,
>> default 0 (send duplicate values)
>> >        }
>> >       ]
>> >     }
>> >   ]
>> > }
>> >
>> > Viele Grüße
>> > Winfried
>> >
>> >
>> > <d0.txt>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20160116/a6eb5b00/attachment-0001.html>


More information about the volkszaehler-users mailing list