<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="margin: 0px; color: rgb(0, 54, 74);">Hallo,</div><div style="margin: 0px; color: rgb(0, 54, 74);">ich habe ein Problem mit dem auslesen meines EMH ITZ Zählers. Habe folgende Konfiguration, welche ich mittels diesem Befehl getestet habe "<span style="font-size: 11px; font-family: Menlo;">echo -n -e '\x2F\x3F\x21\x0D\x0A' > /dev/ttyUSB“ und eine Antwort vom Zähler über „cat /dev/ttyUSB0“ erhalte.</span></div><div style="margin: 0px; color: rgb(0, 54, 74); min-height: 14px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);">stty -g </dev/ttyUSB0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);">10:4:da7:a30:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74); min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);">der vzlogger überschreibt das allerdings immer mit seiner Konfiguration. Ich habe es auch in die rc.local geschrieben.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74); min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);">stty -g </dev/ttyUSB0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);">10:0:ffffeda7:a30:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74); min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);">meine vzlogger.conf sieht folgendermaßen aus</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74); min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);">/**</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> * vzlogger configuration</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> *</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> * use proper encoded JSON with javascript comments</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> *</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> * take a look at the wiki for detailed information:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> * <a href="http://wiki.volkszaehler.org/software/controller/vzlogger#configuration">http://wiki.volkszaehler.org/software/controller/vzlogger#configuration</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74); min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);">{</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "retry" : 30, /* how long to sleep between failed requests, in seconds */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "daemon": false, /* run periodically */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "foreground" : true, /* run in background */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "verbosity" : 15, /* between 0 and 15 */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "log" : "/var/log/vzlogger.log", /* path to logfile, optional */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74); min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "local" :</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> {</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "enabled" : true, /* should we start the local HTTPd for serving live readings? */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "port" : 8080, /* the TCP port for the local HTTPd */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "index" : true, /* should we provide a index listing of available channels if no UUID was requested? */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "timeout" : 120, /* timeout for long polling comet requests, 0 disables comet, in seconds */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "buffer" : 1000 /* how long to buffer readings for the local interface, in seconds */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> },</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74); min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "meters" :</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> [{</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "enabled" : true, /* disabled meters will be ignored */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "protocol" : "d0", /* see 'vzlogger -h' for list of available protocols */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "device" : "/dev/ttyUSB0",</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "pullseq" : "2F3F210D0A",</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "parity" : "7E1",</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "baudrate" : 300,</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "channels" :</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> [{</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "uuid" : "8d4b0d80-cd6d-11e3-ab26-29d247b90f14",</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "middleware" : "<a href="http://localhost/middleware.php">http://localhost/middleware.php</a>",</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> "identifier" : "1.25", /* see 'vzlogger -v20' for an output with all available identifiers/OBIS ids */</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> }]</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);"> }]</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 54, 74);">}</div></body></html>