[vz-dev] Inbetriebnahme ZMD120AR Landis & Gyr mit IR Lesekopf über RS232
Peter Kreutzer
kreutzer.peter at gmail.com
Thu May 16 20:58:26 CEST 2013
Hi ,
habe nun endlich geschafft meinen neunen IR lesekopf an meinen Ubuntu
server anzuschliessen.
Den IR Lesekopf habe ich dann erst mal unter windows mit Test1107.exe
getestet.
Hier der Log
==> /?!<0D><0A>
<== /?!
<== --- 0x2F ---
<== --- 0x4C ---
<== --- 0x47 ---
<== --- 0x5A ---
<== --- 0x34 ---
<== --- 0x5C ---
<== --- 0x32 ---
<== --- 0x5A ---
<== --- 0x4D ---
<== --- 0x44 ---
<== --- 0x31 ---
<== --- 0x32 ---
<== --- 0x30 ---
<== --- 0x32 ---
<== --- 0x31 ---
<== --- 0x34 ---
<== --- 0x30 ---
<== --- 0x2E ---
<== --- 0x49 ---
<== --- 0x30 ---
<== --- 0x35 ---
<== --- 0x0D ---
<== --- 0x0A ---
<== -- STX --
<== F.F(00000000)
<== 0.0( 208578)
<== 1.8.1(0022800*kWh)
<== 1.8.1*04(0022705)
<== 1.8.1*03(0022464)
<== 1.8.1*02(0022026)
<== 1.8.1*01(0021484)
<== 1.8.1*12(0020867)
<== 1.8.1*11(0020366)
<== 1.8.1*10(0019983)
<== 1.8.1*09(0019743)
<== 1.8.1*08(0019585)
<== 1.8.1*07(0019420)
<== 1.8.1*06(0019261)
<== 1.8.1*05(0019113)
<== 1.8.1*04(0018908)
<== 1.8.1*03(0018685)
<== 1.8.1*02(0018379)
<== 1.8.2(0033669*kWh)
<== 1.8.2*04(0033580)
<== 1.8.2*03(0033283)
<== 1.8.2*02(0032643)
<== 1.8.2*01(0031893)
<== 1.8.2*12(0031054)
<== 1.8.2*11(0030257)
<== 1.8.2*10(0029772)
<== 1.8.2*09(0029384)
<== 1.8.2*08(0029120)
<== 1.8.2*07(0028886)
<== 1.8.2*06(0028645)
<== 1.8.2*05(0028443)
<== 1.8.2*04(0028145)
<== 1.8.2*03(0027717)
<== 1.8.2*02(0027229)
<== 1.8.0(0056470*kWh)
<== 2.8.0(0000000*kWh)
<== 22.8.0(0000000*kWh)
<== 42.8.0(0000000*kWh)
<== 62.8.0(0000000*kWh)
<== 0.9.1(19:26:45)
<== 0.9.2(13-05-16)
<== C.3.0(00000080)
<== 0.2.1(2010)
<== C.2.1(07-06-30 02:01)
<== !
<== -- ETX --
<== -- BCC --
Nun das ganze unter linux:
Nun habe ich die Middleware auf meinem ubuntu Rechner installiert.
Auch habe ich über apt den vzlogger installiert.
http://packages.mysmartgrid.de/ubuntu/
Habe precise , Installation ist soweit durchgelaufen.
Hier meine aktuell vzlooger.conf
{
"retry" : 30, /* how long to sleep between failed
requests, $
//"daemon": false, /* run periodically */
"foreground" : true, /* run in background */
"verbosity" : 20, /* between 0 and 15 */
"log" : "/var/log/vzlogger.log",/* path to logfile, optional */
"local" : {
"enabled" : false, /* should we start the local HTTPd for
serving$
"port" : 80, /* the TCP port for the local HTTPd */
"index" : true, /* should we provide a index listing of
availa$
"timeout" : 30, /* timeout for long polling comet requests,
0 $
"buffer" : 600 /* how long to buffer readings for the
local i$
},
"meters" : [{
"enabled" : true,
"device" : "/dev/tty0",
"protocol" : "d0",
}]
}
und hier der log
vzlogger --config /etc/vzlogger.conf
[mtr0] Creating new meter with protocol d0.
[mtr0] Meter configured.
New meter initialized (protocol=d0)
Have 1 meters.
[main] foreground=1, daemon=0, local=0
NOT Daemonize process...
Opened logfile /var/log/vzlogger.log
[] ===> Start meters.
[mtr0] Meter connection established
[mtr0] Meter thread started
[mtr0] meter is opened. Start channels.
[] Startup done.
[mtr0] Number of readers: 32
[mtr0] Config.daemon: 0
[mtr0] Config.local: 0
und nun kommt nichts mehr... Der Zaehler sendet keine Daten.
Was mache ich falsch ?
Grüsse Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://volkszaehler.org/pipermail/volkszaehler-dev/attachments/20130516/2c4099b9/attachment.html>
More information about the volkszaehler-dev
mailing list