<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.apple-tab-span
{mso-style-name:apple-tab-span;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1823155089;
mso-list-type:hybrid;
mso-list-template-ids:-1453455424 67567631 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Christian,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">vor demselben Problem stand ich auch.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Inzwischen habe ich eine Lösung, die in etwa so aussieht:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Per cron gestartetes<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Script liest den Zähler<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Und pumpt es per vzclient in die datenbank<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Das Ganze ist erst im Entstehen, aber ich bin zuversichtlich, dass ich in ein paar Tagen eine lauffähiges Script für meinen AS1440 haben werde
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Das kann ich dann gerne teilen.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Gruß<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">René<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> volkszaehler-users-bounces@lists.volkszaehler.org [mailto:volkszaehler-users-bounces@lists.volkszaehler.org]
<b>On Behalf Of </b>Christian Neuhold<br>
<b>Sent:</b> Montag, 14. Oktober 2013 20:45<br>
<b>To:</b> volkszaehler.org - users<br>
<b>Subject:</b> Re: [vz-users] Landis&Gyr E350 - ZxF100Ax/Cx<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hallo, habe den vzlogger vom Peter Evertz runtergeladen und damit das Binary vom Image ausgetauscht. Das Verhalten ist leider noch immer gleich. Sobald ich den vzlogger starte, geht die Schnittstelle gar nicht mehr. Die Schnittstelle funktioniert
erst nach einen kompletten aus und einschalten vom raspberry wieder.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Habe auch versucht das komplette USB zu resetten. Aber auch damit kein Erfolg.<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">echo 0 > /sys/devices/platform/bcm2708_usb/buspower</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">sleep 1</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">echo 1 > /sys/devices/platform/bcm2708_usb/buspower</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Die Konfiguration habe ich erweitert. Aber auch damit ändert sich nichts am Verhalten.<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">"meters" : [</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-tab-span"><span style="font-family:"Courier New"">
</span></span><span style="font-family:"Courier New"">{</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-tab-span"><span style="font-family:"Courier New"">
</span></span><span style="font-family:"Courier New"">"enabled" : true,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-tab-span"><span style="font-family:"Courier New"">
</span></span><span style="font-family:"Courier New"">"device" : "/dev/ttyUSB0",</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-tab-span"><span style="font-family:"Courier New"">
</span></span><span style="font-family:"Courier New"">"protocol" : "d0",</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> "baudrate" : 300,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-tab-span"><span style="font-family:"Courier New"">
</span></span><span style="font-family:"Courier New"">"parity" : "7E1",</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-tab-span"><span style="font-family:"Courier New"">
</span></span><span style="font-family:"Courier New"">"pullseq" : "2f3f210d0a",</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-tab-span"><span style="font-family:"Courier New"">
</span></span><span style="font-family:"Courier New"">"interval" : 61,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-tab-span"><span style="font-family:"Courier New"">
</span></span><span style="font-family:"Courier New"">}</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">]}</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Kann ich middlware auch ohne den vzlogger befüllen? Die Daten vom Zähler kann ich mit die echo-Befehle auslesen. Gibt es dafür ein Beispiel od. Anleitung?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">LG, Christian<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">On Oct 14, 2013, at 9:54 AM, Udo1 <<a href="mailto:udo1@gmx.net">udo1@gmx.net</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"><br>
Am 14.10.2013 09:16, schrieb Christian Neuhold:<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">Probleme gibt es mit dem vzlogger. Die Konfiguration vom "meter":<br>
"meters" : [<br>
{<br>
"protocol" : "d0",<br>
"device" : "/dev/ttyUSB0",<br>
"enabled" : true,<br>
}<br>
]}<o:p></o:p></p>
<p class="MsoNormal">Das sieht so aus als wenn du den alten vzlogger nutzt und nicht den von Peter Evertz.<br>
<a href="http://www.mail-archive.com/volkszaehler-dev@lists.volkszaehler.org/msg01540.html">http://www.mail-archive.com/volkszaehler-dev@lists.volkszaehler.org/msg01540.html</a><br>
<br>
Gruß<br>
Udo<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>