<div dir="ltr">Moin!<div><br></div><div>Ich habe auch ein EasyMeter Q3BA und Udos Lesekopf. Bei mir geht folgende Konfig:</div><div><br></div><div><div><font face="monospace, monospace">{</font></div><div><font face="monospace, monospace"> "retry" : 30, /* how long to sleep between failed requests, in seconds */</font></div><div><font face="monospace, monospace"> "daemon": true, /* run periodically */</font></div><div><font face="monospace, monospace"> "foreground" : false, /* dont run in background (prevents forking) */</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> "verbosity" : 15, /* between 0 and 15 */</font></div><div><font face="monospace, monospace"> "log" : "/var/log/vzlogger.log",/* path to logfile, optional */</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> "local" : {<br></font></div><div><font face="monospace, monospace"> "enabled" : false, /* should we start the local HTTPd for serving live readings? */</font></div><div><font face="monospace, monospace"> "port" : 80, /* the TCP port for the local HTTPd */</font></div><div><font face="monospace, monospace"> "index" : true, /* should we provide a index listing of available channels? */</font></div><div><font face="monospace, monospace"> "timeout" : 30, /* timeout for long polling comet requests, 0 disables comet, in seconds */</font></div><div><font face="monospace, monospace"> "buffer" : 600 /* how long to buffer readings for the local interface, in seconds */</font></div><div><font face="monospace, monospace"> },</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> "meters" : [{</font></div><div><font face="monospace, monospace"> "enabled" : true, /* disabled meters will be ignored */</font></div><div><font face="monospace, monospace"> "device" : "/dev/usb-ir-lesekopf0",</font></div><div><font face="monospace, monospace"> "protocol" : "d0" , /* use 'vzlogger -h' for list of available protocols */</font></div><div><font face="monospace, monospace"> "parity" : "7E1",</font></div><div><font face="monospace, monospace"> "baudrate" : 9600,</font></div><div><font face="monospace, monospace"> "channels": [{</font></div><div><font face="monospace, monospace"> "uuid" : "80a110b0-xxxx-yyyy-zzzz-aaaaaaaaaaaa",</font></div><div><font face="monospace, monospace"> "identifier" : "1-0:1.8.0", /* Wirkarbeit */</font></div><div><font face="monospace, monospace"> "middleware" : "<a href="http://vz.meinserver.de/middleware.php">http://vz.meinserver.de/middleware.php</a>",</font></div><div><font face="monospace, monospace"> }, {</font></div><div><font face="monospace, monospace"> "uuid" : "d085aaf0-xxxx-yyyy-zzzz-bbbbbbbbbbbb",<br></font></div><div><font face="monospace, monospace"> "identifier" : "1-0:21.7.255*255", /* Wirkleistung L1 */</font></div><div><font face="monospace, monospace"> "middleware" : "<a href="http://vz">http://vz</a>.</font><span style="font-family:monospace,monospace">meinserver</span><font face="monospace, monospace">.de/middleware.php",</font></div><div><font face="monospace, monospace"> }, {</font></div><div><font face="monospace, monospace"> "uuid" : "d5d127e0-xxxx-yyyy-zzzz-cccccccccccc",<br></font></div><div><font face="monospace, monospace"> "identifier" : "1-0:41.7.255*255", /* Wirkleistung L2 */</font></div><div><font face="monospace, monospace"> "middleware" : "<a href="http://vz">http://vz</a>.</font><span style="font-family:monospace,monospace">meinserver</span><font face="monospace, monospace">.de/middleware.php",</font></div><div><font face="monospace, monospace"> }, {</font></div><div><font face="monospace, monospace"> "uuid" : "db9adc00-xxxx-yyyy-zzzz-dddddddddddd",<br></font></div><div><font face="monospace, monospace"> "identifier" : "1-0:61.7.255*255", /* Wirkleistung L3 */</font></div><div><font face="monospace, monospace"> "middleware" : "<a href="http://vz">http://vz</a>.</font><span style="font-family:monospace,monospace">meinserver</span><font face="monospace, monospace">.de/middleware.php",</font></div><div><font face="monospace, monospace"> }, {</font></div><div><font face="monospace, monospace"> "uuid" : "f450ea40-xxxx-yyyy-zzzz-eeeeeeeeeeee",<br></font></div><div><font face="monospace, monospace"> "identifier" : "1-0:1.7.255*255", /* Wirkleistung Gesamt */</font></div><div><font face="monospace, monospace"> "middleware" : "<a href="http://vz">http://vz</a>.</font><span style="font-family:monospace,monospace">meinserver</span><font face="monospace, monospace">.de/middleware.php",</font></div><div><font face="monospace, monospace"> }]</font></div><div><font face="monospace, monospace"> }]</font></div><div><font face="monospace, monospace">}</font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">uuid </font><font face="arial, helvetica, sans-serif">und </font><font face="monospace, monospace">middleware</font><font face="arial, helvetica, sans-serif"> müssen natürlich auf Dein System angepasst werden.</font></div><div><br></div><div>Ich muss allerdings bei einem Neustart des Pi (uptime 309 Tage...), der das ausliest immer erst einmal ein kleines Testprogramm laufen lassen, das die serielle Schnittstelle initialisiert, aus irgendwelchen mir unerfindlichen Gründen scheint der vzlogger die in der conf-Datei angegebenen Parameter der seriellen Schnittstelle nicht zu fressen (im Log steht Murks drin, der auf eine falsche Baudrate/Parität hinweist).</div><div><br></div><div>Gruß und viel Erfolg,</div><div>Malte</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-22 18:34 GMT+01:00 Udo1 <span dir="ltr"><<a href="mailto:udo1@gmx.net" target="_blank">udo1@gmx.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Am 22.03.2017 um 18:19 schrieb applicationMGR ecoCuyo:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sicher war ich mit PullSeq nicht<br>
</blockquote></span>
Du kannst es mal hiermit versuchen:<br>
<br>
{<br>
"retry" : 0, <br>
"daemon": true, <br>
"verbosity" : 15, <br>
"log" : "/tmp/vzlogger.log",<span class=""><br>
<br>
"local" : {<br>
"enabled" : false, <br>
"port" : 8080, <br>
"index" : true, <br></span>
"timeout" : 30, <br>
"buffer" : 600 <br>
},<br>
<br>
"meters" : [<br>
{<br>
"enabled" : true ,<br>
"protocol" : "sml",<br>
"baudrate" : 9600,<br>
"device" : "/dev/ttyUSB0",<br>
"parity" : "8n1" <br>
}<br>
]<br>
}<br>
<br>
Gruß<br>
Udo<br>
</blockquote></div><br></div>