<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hallo,<br>
<br>
ich bin von einem altem Raspi Image (Rainer) auf die Version 0.4.0
umgestiegen.<br>
Image vom Udo volkszaehler_2015_27_01.img <br>
<br>
Leider bekomme ich meine Zähler:<br>
<br>
Iskra MT681<br>
EMH eHZ-H <br>
<br>
nicht im Frontend anzeigt, bzw den Iskra nur mit Aussetzer oder nur
mit falschen Werten.<br>
Die Zähler wurden als Typ:<small><small><small> <small><small><small><small><tt><span
style="color: rgb(34, 34, 34); font-size: 17.6px;
font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal;
line-height: normal; text-align: start;
text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px; display:
inline ! important; float: none; background-color:
rgb(255, 255, 255);">El. Energie (Zählerstände)</span></tt></small></small></small></small>
im</small></small></small> Frontent angelegt.<br>
Die Zählerstände vom EMH eHZ-H werden im Logfile angezeigt<br>
<br>
<br>
hier die config<br>
<br>
<small>{<br>
"retry" : 30,<br>
"daemon": true,<br>
"verbosity" : 15, "log" :<br>
"/var/log/vzlogger.log",<br>
"local" :<br>
{ <br>
"enabled" : false, /* should we start the local HTTPd for serving
live readings? */<br>
"port" : 8080, /* the TCP port for the local HTTPd */<br>
"index" : true, /* should we provide a index listing of ed? */<br>
"timeout" : 30, /* timeout for long polling comet requesmet, in
seconds */<br>
"buffer" : 600 /* how long to buffer readings for the loace, in
seconds */<br>
},<br>
<br>
"meters" : [<br>
{<br>
"protocol" : "sml",<br>
"enabled" : true,<br>
"device" : "/dev/ttyUSB0",<br>
"aggtime" : 60,<br>
"channel" : {<br>
"uuid" : "0d0e4f00-c02e-11e4-b938-49efba0512b2",<br>
"middleware" : <a class="moz-txt-link-rfc2396E" href="http://localhost/middleware.php">"http://localhost/middleware.php"</a>,<br>
"api" : "volkszaehler",<br>
"identifier" : "1.8.0", /* Bezug */<br>
"aggmode" : "MAX", /* MIN oder AVG oder None */<br>
"aggfixedinterval" : true,<br>
}<br>
} // meter<br>
,<br>
//<br>
{<br>
"protocol" : "sml",<br>
"enabled" : true,<br>
"device" : "/dev/ttyUSB0",<br>
"aggtime" : 60,<br>
"channel" : {<br>
"uuid" : "0d0e4f00-c02e-11e4-b938-49efba0512b2",<br>
"middleware" : <a class="moz-txt-link-rfc2396E" href="http://localhost/middleware.php">"http://localhost/middleware.php"</a>,<br>
"api" : "volkszaehler",<br>
"identifier" : "1.8.0", /* Bezug */<br>
"aggmode" : "MAX", /* MIN oder AVG oder None */<br>
"aggfixedinterval" : true,<br>
}<br>
} // meter<br>
,<br>
//<br>
{<br>
"protocol" : "sml",<br>
"enabled" : true,<br>
"device" : "/dev/ttyUSB0",<br>
"aggtime" : 60,<br>
"channel" : {<br>
"uuid" : "1ad19310-c02e-11e4-977b-895fa961c712",<br>
"middleware" : <a class="moz-txt-link-rfc2396E" href="http://localhost/middleware.php">"http://localhost/middleware.php"</a>,<br>
"api" : "volkszaehler",<br>
"identifier" : "2.8.0", /* Abgabe */<br>
"aggmode" : "MAX", /* MIN oder AVG oder None */<br>
"aggfixedinterval" : true,<br>
} // channel<br>
}<br>
,<br>
{<br>
"protocol" : "sml",<br>
"enabled" : true,<br>
"device" : "/dev/ttyUSB1",<br>
"aggtime" : 60,<br>
"channel" : {<br>
"uuid" : "0cf33b80-c029-11e4-8d59-cd8bd94ef7b9",<br>
"middleware" : <a class="moz-txt-link-rfc2396E" href="http://localhost/middleware.php">"http://localhost/middleware.php"</a>,<br>
"identifier" : "1-0:2.8.0", /* Abgabe */<br>
"aggmode" : "MAX", /* MIN oder AVG oder None */<br>
"aggfixedinterval" : true,<br>
} // channel<br>
} // meter<br>
]} // end of config<br>
<br>
Start vzlogger<br>
<br>
pi@volkszaehler /etc $ sudo vzlogger -c vzlogger.conf<br>
[Mar 01 17:43:20][mtr0] Creating new meter with protocol sml.<br>
[Mar 01 17:43:20][mtr0] Meter configured, enabled.<br>
[Mar 01 17:43:20] New meter initialized (protocol=sml)<br>
[Mar 01 17:43:20] Configure channel.<br>
[Mar 01 17:43:20][chn0] New channel initialized (uuid=...0512b2
api=volkszaehler id=1.8.0)<br>
[Mar 01 17:43:20][mtr1] Creating new meter with protocol sml.<br>
[Mar 01 17:43:20][mtr1] Meter configured, enabled.<br>
[Mar 01 17:43:20] New meter initialized (protocol=sml)<br>
[Mar 01 17:43:20] Configure channel.<br>
[Mar 01 17:43:20][chn1] New channel initialized (uuid=...61c712
api=volkszaehler id=2.8.0)<br>
[Mar 01 17:43:20][mtr2] Creating new meter with protocol sml.<br>
[Mar 01 17:43:20][mtr2] Meter configured, enabled.<br>
[Mar 01 17:43:20] New meter initialized (protocol=sml)<br>
[Mar 01 17:43:20] Configure channel.<br>
[Mar 01 17:43:20][chn2] New channel initialized (uuid=...4ef7b9
api=volkszaehler id=1-0:2.8.0)<br>
[Mar 01 17:43:20] Have 3 meters.<br>
[Mar 01 17:43:20][main] daemon=1, local=0<br>
[Mar 01 17:43:20] Daemonize process...<br>
<br>
<br>
hier ein Auszug aus dem Log File<br>
<br>
[Mar 01 17:43:20] Opened logfile /var/log/vzlogger.log<br>
[Mar 01 17:43:20][] ===> Start meters<br>
[Mar 01 17:43:20][mtr0] Meter connection established<br>
[Mar 01 17:43:20][mtr0] Meter thread started<br>
[Mar 01 17:43:20][mtr0] Meter is opened. Starting channels.<br>
[Mar 01 17:43:20][chn0] Logging thread started<br>
[Mar 01 17:43:20][chn0] Start logging thread for volkszaehler-api.
Running as daemon: yes<br>
[Mar 01 17:43:20][mtr1] Meter connection established<br>
[Mar 01 17:43:20][mtr1] Meter thread started<br>
[Mar 01 17:43:20][mtr1] Meter is opened. Starting channels.<br>
[Mar 01 17:43:20][chn1] Logging thread started<br>
[Mar 01 17:43:20][mtr0] Number of readers: 32<br>
[Mar 01 17:43:20][chn1] Start logging thread for volkszaehler-api.
Running as daemon: yes<br>
[Mar 01 17:43:20][mtr0] Config.daemon: 1<br>
[Mar 01 17:43:20][mtr0] Config.local: 0<br>
[Mar 01 17:43:20][mtr1] Number of readers: 32<br>
[Mar 01 17:43:20][mtr1] Config.daemon: 1<br>
[Mar 01 17:43:20][mtr1] Config.local: 0<br>
[Mar 01 17:43:20][chn0] Using default volkszaehler api.<br>
[Mar 01 17:43:20][chn1] Using default volkszaehler api.<br>
[Mar 01 17:43:20][mtr2] Meter connection established<br>
[Mar 01 17:43:20][mtr2] Meter thread started<br>
[Mar 01 17:43:20][mtr2] Meter is opened. Starting channels.<br>
[Mar 01 17:43:20][chn2] Logging thread started<br>
[Mar 01 17:43:20][] Startup done.<br>
[Mar 01 17:43:20][chn2] Start logging thread for volkszaehler-api.
Running as daemon: yes<br>
[Mar 01 17:43:20][mtr2] Number of readers: 32<br>
[Mar 01 17:43:20][mtr2] Config.daemon: 1<br>
[Mar 01 17:43:20][mtr2] Config.local: 0<br>
[Mar 01 17:43:20][chn2] Using default volkszaehler api.<br>
[Mar 01 17:43:23][mtr2] Got 6 new readings from meter:<br>
[Mar 01 17:43:23][mtr2] Reading:
id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=6081410.40
ts=1425228203.246<br>
[Mar 01 17:43:23][mtr2] Reading:
id=1-0:2.8.0*255/ObisItentifier:1-0:2.8.0*255 value=6162245.40
ts=1425228203.246<br>
[Mar 01 17:43:23][mtr2] Reading:
id=1-0:1.8.1*255/ObisItentifier:1-0:1.8.1*255 value=6081410.40
ts=1425228203.246<br>
[Mar 01 17:43:23][mtr2] Reading:
id=1-0:2.8.1*255/ObisItentifier:1-0:2.8.1*255 value=6162245.40
ts=1425228203.246<br>
[Mar 01 17:43:23][mtr2] Reading:
id=1-0:1.8.2*255/ObisItentifier:1-0:1.8.2*255 value=0.00
ts=1425228203.246<br>
[Mar 01 17:43:23][mtr2] Reading:
id=1-0:15.7.0*255/ObisItentifier:1-0:15.7.0*255 value=130.40
ts=1425228203.246<br>
[Mar 01 17:43:23][chn2] Adding reading to queue (value=6162245.40
ts=1425228203.246)<br>
<br>
<br>
Danke Thomas<br>
<br>
<br>
<br>
<br>
<br>
</small><br>
</body>
</html>