<div dir="ltr">Hallo.<div><br></div><div><br></div><div>Über den Symlink. Anders hätte es ja keinen Sinn.</div><div><br></div><div><br></div><div>Grüße</div></div><br><div class="gmail_quote"><div dir="ltr">Jörg Hildering <<a href="mailto:joerghildering@gmail.com">joerghildering@gmail.com</a>> schrieb am Mo., 16. Jan. 2017 um 16:22 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Symlink hatte ich bereits angelegt. Die werden aber in der vzlogger.conf trotzdem über ttyUSB0 und ttyUSB1 angesprochen, oder über die Symlinks lesekopf0 und lesekopf1?<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Gruß Jörg</div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg">Am 16. Januar 2017 um 11:05 schrieb Jörg Hildering <span dir="ltr" class="gmail_msg"><<a href="mailto:joerghildering@gmail.com" class="gmail_msg" target="_blank">joerghildering@gmail.com</a>></span>:<br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">
<p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"><span class="m_66045988189603679m_-3247535757325407767gmail-s1 gmail_msg">Hallo,</span></p>
<p class="m_66045988189603679m_-3247535757325407767gmail-p2 gmail_msg"><span class="m_66045988189603679m_-3247535757325407767gmail-s1 gmail_msg"></span><br class="gmail_msg"></p>
<p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"><span class="m_66045988189603679m_-3247535757325407767gmail-s1 gmail_msg">ich beschäftige mich gerade mit dem gleichen Projekt (Zähler). Wie müsste die vzlogger.conf aussehen wenn ich 2 Zähler (ttyUSB0 & ttyUSB1) auslesen möchte? Mir ist nicht ganz klar wie die Verschachtelung (Klammern etc.) dann aussehen muss.</span></p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg">Bisher sieht sie vzlogger.conf so aus:</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg">{</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "retry": 0,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "daemon": true,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "verbosity": 15,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "log": "/var/log/vzlogger.log",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "local": {</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "enabled": false,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "port": 8080,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "index": true,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "timeout": 0,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "buffer": 0</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> },</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "meters": [</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> {</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "enabled": true,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "allowskip": false,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "interval": -1,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "aggtime": -1,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "aggfixedinterval": false,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "channels": [</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> {</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "uuid": "die UUID von dem ersten Kanal",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "identifier": "1-1:1.8.0",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "api": "volkszaehler",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "middleware": "<a href="http://localhost/middleware.php" class="gmail_msg" target="_blank">http://localhost/middleware.php</a>";,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "aggmode": "none",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "duplicates": 0</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> },</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> {</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "uuid": "die UUID von dem zweiten Kanal",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "identifier": "1-1:2.8.0",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "api": "volkszaehler",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "middleware": "<a href="http://localhost/middleware.php" class="gmail_msg" target="_blank">http://localhost/middleware.php</a>";,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "aggmode": "none",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "duplicates": 0</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> },</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "protocol": "d0",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "device": "/dev/ttyUSB0",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "dump_file": "/home/pi/logger-dump",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "pullseq": "2F3F210D0A",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "ackseq": "063035300d0a",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "baudrate": 300,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "baudrate_read": 9600,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "baudrate_change_delay": 100,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "parity": "7e1",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "read_timeout": 100</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> },</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> {</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "enabled": true,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "allowskip": false,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "interval": -1,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "aggtime": -1,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "aggfixedinterval": false,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "channels": [</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> {</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "uuid": "die UUID von dem ersten Kanal0",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "identifier": "1-1:1.8.0",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "api": "volkszaehler",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "middleware": "<a href="http://localhost/middleware.php" class="gmail_msg" target="_blank">http://localhost/middleware.php</a>";,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "aggmode": "none",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "duplicates": 0</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> },</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> {</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "uuid": "die UUID von dem zweiten Kanal",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "identifier": "1-1:2.8.0",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "api": "volkszaehler",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "middleware": "<a href="http://localhost/middleware.php" class="gmail_msg" target="_blank">http://localhost/middleware.php</a>";,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "aggmode": "none",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "duplicates": 0</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> },</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "protocol": "d0",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "device": "/dev/ttyUSB1",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "dump_file": "/home/pi/logger-dump",</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "pullseq": "2F3F210D0A",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "ackseq": "063035300d0a",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "baudrate": 300,</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "baudrate_read": 9600,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "baudrate_change_delay": 100,</p></div></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "parity": "7e1",</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> "read_timeout": 100</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> }</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"> ]</p><p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg">}</p><div class="gmail_msg"><br class="gmail_msg"></div>
<p class="m_66045988189603679m_-3247535757325407767gmail-p2 gmail_msg"><span class="m_66045988189603679m_-3247535757325407767gmail-s1 gmail_msg"></span><br class="gmail_msg"></p>
<p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"><span class="m_66045988189603679m_-3247535757325407767gmail-s1 gmail_msg">Gruß,</span></p>
<p class="m_66045988189603679m_-3247535757325407767gmail-p2 gmail_msg"><span class="m_66045988189603679m_-3247535757325407767gmail-s1 gmail_msg"></span><br class="gmail_msg"></p>
<p class="m_66045988189603679m_-3247535757325407767gmail-p1 gmail_msg"><span class="m_66045988189603679m_-3247535757325407767gmail-s1 gmail_msg">Jörg</span></p></div></blockquote></div></div></blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><p dir="ltr">Von meinem Smartphone versendet</p>
</div>