<p dir="ltr">Und zur Middleware geloggt wird nur bei "daemon": true</p>
<div class="gmail_quote">Am 03.01.2017 17:21 schrieb "Frank Richter" <<a href="mailto:frank.richter83@gmail.com">frank.richter83@gmail.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hallo Jan,</p>
<p dir="ltr">die Zeile mit "host" muss raus aus der Config.</p>
<p dir="ltr">Gruß<br>
Frank</p>
<div class="gmail_quote">Am 03.01.2017 17:19 schrieb "jan Goe" <<a href="mailto:jan.andrea7@googlemail.com" target="_blank">jan.andrea7@googlemail.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Prima, das funktioniert nun<div><br></div><div>allerdings habe ich nun probleme mit meiner vzlogger config datei</div><div><br></div><div>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][main] vzlogger v0.6.0 based on heads/master-0-g462c3077bd from Sun, 30 Oct 2016 15:07:12 +0100 started.</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][mtr0] Creating new meter with protocol sml.</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][sml] pullseq len:0 found</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][mtr0] Meter configured, enabled.</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53] New meter initialized (protocol=sml)</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53] Configure channel.</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][chn0] New channel initialized (uuid=...90db21 api=volkszaehler id=1-0:1.8.0)</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53] Ignoring invalid field or type: foreground=true (boolean)</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53] Have 1 meters.</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][main] log level is 15</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][main] daemon=0, local=0</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53] Process not daemonized...</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53] Opened logfile /var/www/vzlogger.log</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][push] No pushDataServer defined.</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][] ===> Start meters</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][mtr0] Meter connection established</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][mtr0] Meter thread started</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][mtr0] Meter is opened. Starting channels.</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][chn0] Logging thread not started</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][] Startup done.</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][mtr0] Number of readers: 32</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][mtr0] Config.daemon: 0</span></p>
<p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">[Jan 03 16:14:53][mtr0] Config.local: 0</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"><br></span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">flogends, passiert aber er liest keine werte der ich würde gerne den Zähler stand loggen + die menge die ich einspeise, ist aber hier in der config noch nicht eingebaut</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"><br></span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"><br></span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">hier meine config dabei</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"><br></span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">{</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "retry": 30,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "daemon": false,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "verbosity": 15,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "log": "/var/www/vzlogger.log",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "local": {</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "enabled": false,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "port": 80,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "index": true,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "timeout": 30,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "buffer": 600</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> },</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "meters": [</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> {</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "enabled": true,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "allowskip": false,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "interval": -1,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "aggtime": 300,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "aggfixedinterval": false,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "channels": [</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> {</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "uuid": "97164560-d1ce-11e6-a517-51556<wbr>d90db21",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "identifier": "1-0:1.8.0",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "api": "volkszaehler",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "middleware": "<a href="http://127.0.0.1/middleware.php" target="_blank">http://127.0.0.1/middleware.p<wbr>hp</a>",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "secretKey": "",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "type": "device",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "scaler": 1,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "aggmode": "none",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "duplicates": 0</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> }</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> ],</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "protocol": "sml",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "host": "",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "device": "/dev/usb-ir-lesekopf0",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "pullseq": "",</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "baudrate": 9600,</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "parity": "8n1"</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> }</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> ],</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"> "foreground": true</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">
</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">}</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"><br></span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"><br></span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">hoffe ihr könnt helfen</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1"><br></span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">mfg</span></p><p class="m_4311433450081418338m_4660029340925838468gmail-p1"><span class="m_4311433450081418338m_4660029340925838468gmail-s1">Jan Gödecke </span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">Am 3. Januar 2017 um 16:54 schrieb <a href="mailto:Heine.thomas@online.de" target="_blank">Heine.thomas@online.de</a> <span dir="ltr"><<a href="mailto:Heine.thomas@online.de" target="_blank">Heine.thomas@online.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div class="m_4311433450081418338m_4660029340925838468m_-7253962190381134120moz-cite-prefix">Hallo,<br>
<br>
versuche es mal damit, ob du Werte bekommst:<br>
<br>
<a class="m_4311433450081418338m_4660029340925838468m_-7253962190381134120moz-txt-link-freetext" href="http://wiki.volkszaehler.org/hardware/controllers/ir-schreib-lesekopf-usb-ausgang" target="_blank">http://wiki.volkszaehler.org/h<wbr>ardware/controllers/ir-schreib<wbr>-lesekopf-usb-ausgang</a><br>
<br>
<br>
Gruß<span class="m_4311433450081418338m_4660029340925838468HOEnZb"><font color="#888888"><br>
<br>
Thomas</font></span><div><div class="m_4311433450081418338m_4660029340925838468h5"><br>
<br>
Am 03.01.2017 um 16:49 schrieb Andrea Goe:<br>
</div></div></div><div><div class="m_4311433450081418338m_4660029340925838468h5">
<blockquote type="cite">
Hallo,
<div><br>
</div>
<div>Wollte die tag bei meinem papa einen weitern
IR-USB-Lesekopf inbetrieb nehmen, allerdings habe ich einige
probleme und hoffe ihr könnt mir helfen </div>
<div><br>
</div>
<div>bin nicht folgender Anleitung vorgegangen </div>
<div><a href="http://wiki.volkszaehler.org/howto/emh_pv-anlage" target="_blank">http://wiki.volkszaehler.org/h<wbr>owto/emh_pv-anlage</a></div>
<div><br>
</div>
<div>allerdings, liefert der Befehl </div>
<div>
<pre class="m_4311433450081418338m_4660029340925838468m_-7253962190381134120code" style="margin-top:0px;margin-bottom:1.4em;padding:0.7em 1em;font-family:Consolas,'Andale Mono WT','Andale Mono','Bitstream Vera Sans Mono','Nimbus Mono L',Monaco,'Courier New',monospace;font-size:14px;direction:ltr;background-color:rgb(251,250,249);color:rgb(51,51,51);border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:2px;overflow:auto;word-wrap:normal;border:1px solid rgb(204,204,204);font-variant-ligatures:normal">ls -la /dev/usb*</pre>
<div>kein Ergebnis, auch mit einem sudo davor nicht</div>
</div>
<div><br>
</div>
<div>mit </div>
<div><br>
</div>
<div>
<pre class="m_4311433450081418338m_4660029340925838468m_-7253962190381134120code" style="margin-top:0px;margin-bottom:1.4em;padding:0.7em 1em;font-family:Consolas,'Andale Mono WT','Andale Mono','Bitstream Vera Sans Mono','Nimbus Mono L',Monaco,'Courier New',monospace;font-size:14px;direction:ltr;background-color:rgb(251,250,249);color:rgb(51,51,51);border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:2px;overflow:auto;word-wrap:normal;border:1px solid rgb(204,204,204);font-variant-ligatures:normal">ls -la /dev/ttyUSB0</pre>
<div><br>
</div>
</div>
<div>bekomme ich folgendes angezeigt </div>
<div><br>
</div>
<div>
<div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">crw-rw---- 1 root dialout 188,
0 Dec 28 16:17 /dev/ttyUSB0</span></div>
</div>
<div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">wenn ich nun versuche werte zu
empfangen mit : </span><span>xxd
</dev/ttyUSB0</span></div>
<div><br>
</div>
<div>bekomme ich leider auch keine ausgabe und ich habe
leider auch keine Ahnung wo es hängt, evtl hat ja von euch
jemand eine Idee ?</div>
<div><br>
</div>
<div>Mit freundlichen Grüßen</div>
<div>Jan Gödecke </div>
</blockquote>
<p><br>
</p>
</div></div></div>
</blockquote></div><br></div>
</blockquote></div>
</blockquote></div>