Hat keiner von euch hier eine Hilfe?

danke
Michael

Am 29.04.13 09:25, schrieb Michael Wulz:
Hallo,

danke!

möchte mir das ganze ohne SML kompilieren.

# ./configure --disable-sml
dann
# make
[...]
In file included from Meter.cpp:39:0:
../include/protocols/MeterSML.hpp:33:26: fatal error: sml/sml_file.h: No such file or directory
compilation terminated.
make[2]: *** [Meter.o] Error 1
make[2]: Leaving directory `/usr/local/src/vzlogger/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vzlogger'
make: *** [all] Error 2

komisch?
Versteh ich da was nicht?

die Hilfe vom "configure" sagt mir ja --disable-#feature#

danke
m

Am 28.04.13 11:56, schrieb Nico Prenzel:
Hallo,

probier doch mal den git branch vom Peter Evertz:
https://github.com/peterevertz/vzlogger/commits/master

Der enthält schon einige Fixes die mir auch schon weitergeholfen haben.

Grüße

Nico



Von: Michael Wulz <michael.w...@gmail.com>
An: volkszaehler-dev@lists.volkszaehler.org
Datum: 27.04.2013 21:31
Betreff: [vz-dev] vzlogger Patch
Gesendet von: volkszaehler-dev-boun...@lists.volkszaehler.org
------------------------------------------------------------------------



Hallo Leute,

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

root@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





Antwort per Email an