<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Es gibt Musterbeispiele für den Inhalt des Files vzlogger, worin die Möglichkeit dargestellt ist <div class="">einen ‚Inititialisierungs‘-String an den L+G Zähler zu schicken.<div class=""><br class=""></div><div class="">Beispiel:</div><div class=""><code></div><div class=""><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class="">{</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "retry": 0,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "daemon": true,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "verbosity": 15,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "log": "/var/log/vzlogger.log",</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "local": {</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "enabled": false,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "port": 8080,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "index": false,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "timeout": 0,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "buffer": 0</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> },</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "meters": [</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> {</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "enabled": true,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "allowskip": false,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "interval": -1,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "aggtime": -1,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "aggfixedinterval": false,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "channels": [</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> {</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "api": "volkszaehler",</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "uuid": "6836dd20-00d5-11e0-bab1-856ed5f959ae",</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "identifier": "1.8.0",</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "middleware": "<a href="http://localhost/middleware.php" class="">http://localhost/middleware.php</a>",</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "aggmode": "none",</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "duplicates": 0</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> }</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> ],</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "protocol": "d0",</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "device": "/dev/lesekopf0",</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "pullseq": "2F3F210D0A",</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "ackseq": "auto",</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "baudrate": 300,</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> "parity": "7e1"</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> }</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class=""> ]</b></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""><b class="">}</b></div></div><div class=""></code></div><div class=""><br class=""></div><div class="">Der Parameter "pullseq": "2F3F210D0A“ enthält demnach die erste der beiden zu senden Sequenzen.</div><div class="">Hierauf erfolgt aber nur „/LGZ4ZMF100AC.M27“ als einzeilige Antwort. </div><div class="">Nun wäre noch ’sleep 2’ einzuhalten und dann '\x06\x30\x30\x30\x0d‘ zu senden.</div></div><div class=""><br class=""></div><div class="">Ist das im vzlogger konfigurierbar?</div><div class="">Wenn ja, auch gleich noch die Frage: Wo bekommt man eigentlich die UUID her?</div><div class=""><br class=""></div><div class="">Grüße in die Runde!</div><div class=""><br class=""></div><div class="">Ralf</div></body></html>