Hallo, Am 26.11.2013 um 16:49 schrieb Udo1 <[email protected]>: > Am 26.11.2013 12:51, schrieb Julian Vollmer: >> Der Anfang scheint richtig, aber am ende finde ich kein >> FF 00 00 1B 1B 1B 1B > Muss nicht FF 00 00 1B 1B... sein. > Soweit stimmt doch scheinbar alles. Siehe Bild. > > Gruß > Udo welches Bild meinst du denn ?
Wenn ich es richtig verstanden haben sollten nach dem Start von "sudo vzlogger -f“ Ausgaben wie hier zu finden erscheinen. ############################################################### http://volkszaehler.org/pipermail/volkszaehler-dev/2012-March/001612.html [Mar 03 11:39:56][mtr0] Got 8 new readings from meter: [Mar 03 11:39:56][mtr0] Reading: id=129-129:199.130.3*255 value=0.00 ts=1330771196.234 [Mar 03 11:39:56][mtr0] Reading: id=1-0:0.0.9*255 value=0.00 ts=1330771196.234 [Mar 03 11:39:56][mtr0] Reading: id=1-0:1.8.0*255 value=364099.30 ts=1330771196.234 [Mar 03 11:39:56][mtr0] Reading: id=1-0:1.8.1*255 value=364099.30 ts=1330771196.234 [Mar 03 11:39:56][mtr0] Reading: id=1-0:1.8.2*255 value=0.00 ts=1330771196.234 ############################################################### Bei mir sieht es so aus: ############################################################### pi@raspberrypi ~ $ sudo vzlogger -f pi@raspberrypi ~ $ sudo vzlogger -f [Nov 26 17:09:04] New meter initialized (protocol=sml) [Nov 26 17:09:04][chn0] New channel initialized (uuid=...98fae3 protocol=volkszaehler id=current) [Nov 26 17:09:04] NOT Daemonize process... [Nov 26 17:09:04][mtr0] Meter connection established [Nov 26 17:09:04][http] Starting local interface HTTPd on port 8080 [Nov 26 17:09:54][sml] short message from sml_transport_read len=0 [Nov 26 17:12:02][sml] short message from sml_transport_read len=0 [Nov 26 17:12:50][sml] short message from sml_transport_read len=0 [Nov 26 17:16:45][sml] short message from sml_transport_read len=0 ############################################################### Hier noch die aktuelle vzlogger.conf ############################################################### /** * vzlogger configuration * * use proper encoded JSON with javascript comments * * take a look at the wiki for detailed information: * http://wiki.volkszaehler.org/software/controller/vzlogger#configuration */ { "retry" : 30, /* how long to sleep between failed requests, in seconds */ //"daemon": false, /* run periodically */ //"foreground" : true, /* dont run in background (prevents forking) */ "verbosity" : 5, /* between 0 and 15 */ "log" : "/var/log/vzlogger.log",/* path to logfile, optional */ "local" : { "enabled" : true, /* should we start the local HTTPd for serving live readings? */ "port" : 8080, /* the TCP port for the local HTTPd */ "index" : true, /* should we provide a index listing of available channels if no UUID was requested? */ "timeout" : 30, /* timeout for long polling comet requests, 0 disables comet, in seconds */ "buffer" : 600 /* how long to buffer readings for the local interface, in seconds */ }, "meters" : [ { "enabled" : true, /* disabled meters will be ignored */ "protocol" : "sml", /* see 'vzlogger -h' for list of available protocols */ "device" : "/dev/ttyUSB0", //"host" : "141.45.204.86", //"" "parity" : "8N1", "baudrate" : 9600, "channels": [{ "uuid" : "fd6d8f90-55bc-11e3-bb6b-73bed098fae3", "middleware" : "http://localhost/middleware.php", "identifier" : "current" /* an OBIS alias, see 'vzlogger -h' for list of available aliases */ } ] } ]} ############################################################### Viele Grüße und besten Dank Julian
