<div dir="ltr"><div><div>Hier ist die komplette conf- danke für Eure Hilfe:<br><br>/**<br> * vzlogger configuration<br> *<br> * use proper encoded JSON with javascript comments<br> *<br> * take a look at the wiki for detailed information:<br>
 * <a href="http://wiki.volkszaehler.org/software/controller/vzlogger#configuration">http://wiki.volkszaehler.org/software/controller/vzlogger#configuration</a><br> */<br><br>{<br>    "retry": 30,            /* how long to sleep between failed requests, in seconds */<br>
    //"daemon": true,        /* run periodically */<br>    "foreground": true,        /* run in background */ <br>    "verbosity": 5,            /* between 0 and 15 */<br>    //"log" : "/var/log/vzlogger.log",    /* path to logfile, optional */<br>
<br>    "local": {<br>//        "enabled" : true,    /* should we start the local HTTPd for serving live readings? */<br>        "port": 8080,    /* the TCP port for the local HTTPd */ <br>        "index": true,    /* should we provide a index listing of available channels if no UUID was requested? */ <br>
        "timeout": 30,    /* timeout for long polling comet requests, 0 disables comet, in seconds */ <br>        "buffer": 600    /* how long to buffer readings for the local interface, in seconds */<br>
    },<br><br>    "meters": [{<br>            "enabled": true,<br>            "protocol": "s0",<br>            "device": "/dev/ttyUSB0",<br>            "resolution": 1,    /* number of impulses per kWh, feature of the meter */ <br>
            "aggtime": 5,        /* aggregate all signals and give one update to middleware every 'aggtime' seconds */ <br>            "aggfixedinterval": false,        /* round all timestamps to middleware to nearest aggtime, reduces accuracy, use only when needed, e.g. SolarAnalyser */ <br>
            "channel": {<br>                "uuid": "30cd1f60-1bed-11e4-b68a-f1311b4831d4",<br>                "middleware": "<a href="http://127.0.0.1/middleware.php">http://127.0.0.1/middleware.php</a>",<br>
                "identifier": "Impulse",    /* counts the S0 impulses. Can also supply "Power" readings */ <br>                "aggmode": "SUM"            /* add all s0 intervals in the aggregation. Possible Modes: SUM, AVG, MAXIMUM and NONE*/<br>
            }<br>        },<br><br>        {<br>            "enabled": false,<br>            "protocol": "file",<br>            "path": "/proc/loadavg",<br>            "format": "$v",<br>
            /* a format string for parsing complex logfiles */<br>            /* arbitrary text and whitespaces are allowed, see 'scanf()' */<br>            /* at least $v has to be used */<br>            /* $i => identifier, $v => value, $t => timestamp */<br>
            "rewind": true,        /* reset file pointer each interval to the beginning of the file */ <br>            "interval": 2,        /* of ommitted, we will try to listen on changes with inotify */<br>
            "channel": {<br>                "uuid": "0bfe6f80-1bf2-11e4-ba0a-35ffeef6a412",<br>                "middleware": "<a href="http://127.0.0.1/middleware.php">http://127.0.0.1/middleware.php</a>",<br>
                "identifier": "Power",    /* counts the S0 impulses. Can also supply "Power" readings */ <br>                "aggmode": "AVG" /* add all s0 intervals in the aggregation. Possible Modes: SUM, AVG, MAXIMUM and NONE*/<br>
            }<br>        }<br>    ]<br>}<br><br></div>Der zweite Kanal ist zum zum testen da, tatsächlich helfen mir die Kommentare bei format aber nicht das Richtige für den raspi zu finden (auch die scanf Doku nicht). Ist aber nur ein Nebenkriegsschauplatz...<br>
<br>vg<br></div>Andreas<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-04 20:17 GMT+02:00 Udo1 <span dir="ltr"><<a href="mailto:udo1@gmx.net" target="_blank">udo1@gmx.net</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hallo Andreas,<br>
<br>
Am 04.08.2014 20:01, schrieb Andreas Goetz:<div class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
nd hänge am logger (cpp Version):<br>
</blockquote></div>
zeig mal die komplette vzlogger.conf<br>
<br>
Gruß<br>
Udo<br>
</blockquote></div><br></div>