[vz-dev] vzlogger Patch

Michael Wulz michael.wulz at gmail.com
Sat Apr 27 21:30:02 CEST 2013


Hallo Leute,

im alten vzlogger (C Version) gabs mal einen Patch für einen d0 Zähler 
welcher
so antwortet:

root at raspberrypi:~# cat < /dev/ttyUSB0
/LGZ5\2ZMD3102400.B14
F.F(02000000)
0.0.0(11111111)
0.1.0(04)
0.1.0*04(00-04-01 00:00)
0.1.0*03(00-03-01 00:00)
0.1.0*02(00-02-09 02:21)
0.1.0*01(00-01-01 00:10)
0.1.0*00(00-00-00 00:00)
0.1.0*00(00-00-00 00:00)
0.1.0*00(00-00-00 00:00)
0.1.0*00(00-00-00 00:00)
0.1.0*00(00-00-00 00:00)
0.1.0*00(00-00-00 00:00)
0.1.0*00(00-00-00 00:00)
0.1.0*00(00-00-00 00:00)
0.1.0*00(00-00-00 00:00)
[...]

Getriggert so:
# echo $'\x2f\x3f\x21\x0d\x0a' > /dev/ttyUSB0

Wenn ich den aktuellen vzlogger (C++ Version) laufen lasse kommt das:
[Apr 27 21:20:43][mtr0] Creating new meter with protocol d0.
[Apr 27 21:20:43][mtr0] Meter configured.
[Apr 27 21:20:43]       New meter initialized (protocol=d0)
[Apr 27 21:20:43]       Configure channel.
[Apr 27 21:20:43][chn0] New channel initialized (uuid=...a46781 
protocol=volkszaehler id=255-255:1.8.1)
[Apr 27 21:20:43]       Have 1 meters.
[Apr 27 21:20:43][main] foreground=1, daemon=0, local=0
[Apr 27 21:20:43]       NOT Daemonize process...
[Apr 27 21:20:43][]     ===> Start meters.
[Apr 27 21:20:43][mtr0] Meter connection established
[Apr 27 21:20:43][mtr0] Meter thread started
[Apr 27 21:20:43][mtr0] meter is opened. Start channels.
[Apr 27 21:20:43][chn0] Logging thread started
[Apr 27 21:20:43][]     Startup done.
[Apr 27 21:20:43][mtr0] Number of readers: 32
[Apr 27 21:20:43][mtr0] Config.daemon: 0
[Apr 27 21:20:43][mtr0] Config.local: 0
[Apr 27 21:20:43][chn0] Start logging thread for volkszaehler-api. 
Running as daemon: no
[Apr 27 21:20:43][chn0] Using default api:
[Apr 27 21:21:43][d0]   Parsed reading (OBIS code=F.F, value=02000000, 
unit=)
Segmentation fault

Gibts den Patch für die C++ Version auch schon?

danke und
liebe grüße an die VZ Gemeinde
Michael




More information about the volkszaehler-dev mailing list